From 07603ea55d217c209e347c209db492ba3610ac41 Mon Sep 17 00:00:00 2001 From: "MSDN.WhiteKnight" <35516665+MSDN-WhiteKnight@users.noreply.github.com> Date: Wed, 31 Mar 2021 21:04:09 +0500 Subject: [PATCH] Update documentation for 2.2 --- docfx_project/api/.manifest | 9 + .../CilTools.BytecodeAnalysis.CilGraph.yml | 54 +++++ ...CilTools.BytecodeAnalysis.CilGraphNode.yml | 62 +++++ ...s.BytecodeAnalysis.CilGraphNodeMutable.yml | 32 +++ .../CilTools.BytecodeAnalysis.TypeSpec.yml | 223 ++++++++++++------ .../CilTools.Runtime.ClrAssemblyReader.yml | 93 +++++++- .../api/CilTools.Syntax.BlockSyntax.yml | 42 ++++ .../api/CilTools.Syntax.CommentSyntax.yml | 42 ++++ .../api/CilTools.Syntax.DirectiveSyntax.yml | 42 ++++ .../api/CilTools.Syntax.IdentifierSyntax.yml | 133 +++++++++++ .../api/CilTools.Syntax.InstructionSyntax.yml | 42 ++++ .../api/CilTools.Syntax.KeywordSyntax.yml | 42 ++++ .../api/CilTools.Syntax.LiteralSyntax.yml | 42 ++++ .../api/CilTools.Syntax.MemberRefSyntax.yml | 42 ++++ .../api/CilTools.Syntax.MethodDefSyntax.yml | 42 ++++ .../api/CilTools.Syntax.SyntaxNode.yml | 49 ++++ .../CilTools.BytecodeAnalysis.CilGraph.html | 51 ++++ ...ilTools.BytecodeAnalysis.CilGraphNode.html | 27 +++ ....BytecodeAnalysis.CilGraphNodeMutable.html | 3 + .../CilTools.BytecodeAnalysis.TypeSpec.html | 77 +++++- .../CilTools.Runtime.ClrAssemblyReader.html | 64 ++++- docs/api/CilTools.Syntax.BlockSyntax.html | 3 + docs/api/CilTools.Syntax.CommentSyntax.html | 3 + docs/api/CilTools.Syntax.DirectiveSyntax.html | 3 + .../api/CilTools.Syntax.IdentifierSyntax.html | 57 +++++ .../CilTools.Syntax.InstructionSyntax.html | 3 + docs/api/CilTools.Syntax.KeywordSyntax.html | 3 + docs/api/CilTools.Syntax.LiteralSyntax.html | 3 + docs/api/CilTools.Syntax.MemberRefSyntax.html | 3 + docs/api/CilTools.Syntax.MethodDefSyntax.html | 3 + docs/api/CilTools.Syntax.SyntaxNode.html | 45 ++++ docs/articles/cilview-manual.html | 41 +++- docs/xrefmap.yml | 108 +++++++++ 33 files changed, 1400 insertions(+), 88 deletions(-) diff --git a/docfx_project/api/.manifest b/docfx_project/api/.manifest index 70caf8a..8dfc65b 100644 --- a/docfx_project/api/.manifest +++ b/docfx_project/api/.manifest @@ -32,6 +32,7 @@ "CilTools.BytecodeAnalysis.CilGraph": "CilTools.BytecodeAnalysis.CilGraph.yml", "CilTools.BytecodeAnalysis.CilGraph.Create(System.Reflection.MethodBase)": "CilTools.BytecodeAnalysis.CilGraph.yml", "CilTools.BytecodeAnalysis.CilGraph.EmitTo(System.Reflection.Emit.ILGenerator,System.Func{CilTools.BytecodeAnalysis.CilInstruction,System.Boolean})": "CilTools.BytecodeAnalysis.CilGraph.yml", + "CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock)": "CilTools.BytecodeAnalysis.CilGraph.yml", "CilTools.BytecodeAnalysis.CilGraph.GetInstructions": "CilTools.BytecodeAnalysis.CilGraph.yml", "CilTools.BytecodeAnalysis.CilGraph.GetNodes": "CilTools.BytecodeAnalysis.CilGraph.yml", "CilTools.BytecodeAnalysis.CilGraph.Method": "CilTools.BytecodeAnalysis.CilGraph.yml", @@ -47,6 +48,7 @@ "CilTools.BytecodeAnalysis.CilGraphNode": "CilTools.BytecodeAnalysis.CilGraphNode.yml", "CilTools.BytecodeAnalysis.CilGraphNode.#ctor": "CilTools.BytecodeAnalysis.CilGraphNode.yml", "CilTools.BytecodeAnalysis.CilGraphNode.BranchTarget": "CilTools.BytecodeAnalysis.CilGraphNode.yml", + "CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks": "CilTools.BytecodeAnalysis.CilGraphNode.yml", "CilTools.BytecodeAnalysis.CilGraphNode.GetSwitchTargets": "CilTools.BytecodeAnalysis.CilGraphNode.yml", "CilTools.BytecodeAnalysis.CilGraphNode.Instruction": "CilTools.BytecodeAnalysis.CilGraphNode.yml", "CilTools.BytecodeAnalysis.CilGraphNode.Name": "CilTools.BytecodeAnalysis.CilGraphNode.yml", @@ -232,6 +234,7 @@ "CilTools.BytecodeAnalysis.TypeSpec.InnerTypeSpec": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[])": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsArrayImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", + "CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type)": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsByRefImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsCOMObjectImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsDefined(System.Type,System.Boolean)": "CilTools.BytecodeAnalysis.TypeSpec.yml", @@ -242,6 +245,7 @@ "CilTools.BytecodeAnalysis.TypeSpec.IsPinned": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsPointerImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.IsPrimitiveImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", + "CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.MakeArrayType": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.MakeByRefType": "CilTools.BytecodeAnalysis.TypeSpec.yml", "CilTools.BytecodeAnalysis.TypeSpec.MakeGenericType(System.Type[])": "CilTools.BytecodeAnalysis.TypeSpec.yml", @@ -456,6 +460,8 @@ "CilTools.Runtime.ClrAssemblyInfo.ResolveType(System.Int32,System.Type[],System.Type[])": "CilTools.Runtime.ClrAssemblyInfo.yml", "CilTools.Runtime.ClrAssemblyReader": "CilTools.Runtime.ClrAssemblyReader.yml", "CilTools.Runtime.ClrAssemblyReader.#ctor(Microsoft.Diagnostics.Runtime.ClrRuntime)": "CilTools.Runtime.ClrAssemblyReader.yml", + "CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly)": "CilTools.Runtime.ClrAssemblyReader.yml", + "CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies": "CilTools.Runtime.ClrAssemblyReader.yml", "CilTools.Runtime.ClrAssemblyReader.EnumerateMethods(System.Diagnostics.Process)": "CilTools.Runtime.ClrAssemblyReader.yml", "CilTools.Runtime.ClrAssemblyReader.EnumerateModuleMethods(System.Diagnostics.Process,System.String)": "CilTools.Runtime.ClrAssemblyReader.yml", "CilTools.Runtime.ClrAssemblyReader.GetDynamicMethods": "CilTools.Runtime.ClrAssemblyReader.yml", @@ -539,6 +545,8 @@ "CilTools.Syntax.IdentifierSyntax.Content": "CilTools.Syntax.IdentifierSyntax.yml", "CilTools.Syntax.IdentifierSyntax.EnumerateChildNodes": "CilTools.Syntax.IdentifierSyntax.yml", "CilTools.Syntax.IdentifierSyntax.IsMemberName": "CilTools.Syntax.IdentifierSyntax.yml", + "CilTools.Syntax.IdentifierSyntax.TargetItem": "CilTools.Syntax.IdentifierSyntax.yml", + "CilTools.Syntax.IdentifierSyntax.TargetMember": "CilTools.Syntax.IdentifierSyntax.yml", "CilTools.Syntax.IdentifierSyntax.ToText(System.IO.TextWriter)": "CilTools.Syntax.IdentifierSyntax.yml", "CilTools.Syntax.InstructionSyntax": "CilTools.Syntax.InstructionSyntax.yml", "CilTools.Syntax.InstructionSyntax.EnumerateChildNodes": "CilTools.Syntax.InstructionSyntax.yml", @@ -577,6 +585,7 @@ "CilTools.Syntax.SyntaxNode.#ctor": "CilTools.Syntax.SyntaxNode.yml", "CilTools.Syntax.SyntaxNode.EnumerateChildNodes": "CilTools.Syntax.SyntaxNode.yml", "CilTools.Syntax.SyntaxNode.GetChildNodes": "CilTools.Syntax.SyntaxNode.yml", + "CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type)": "CilTools.Syntax.SyntaxNode.yml", "CilTools.Syntax.SyntaxNode.LeadingWhitespace": "CilTools.Syntax.SyntaxNode.yml", "CilTools.Syntax.SyntaxNode.Parent": "CilTools.Syntax.SyntaxNode.yml", "CilTools.Syntax.SyntaxNode.ToString": "CilTools.Syntax.SyntaxNode.yml", diff --git a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraph.yml b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraph.yml index 82c6f32..fbb05af 100644 --- a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraph.yml +++ b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraph.yml @@ -7,6 +7,7 @@ items: children: - CilTools.BytecodeAnalysis.CilGraph.Create(System.Reflection.MethodBase) - CilTools.BytecodeAnalysis.CilGraph.EmitTo(System.Reflection.Emit.ILGenerator,System.Func{CilTools.BytecodeAnalysis.CilInstruction,System.Boolean}) + - CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) - CilTools.BytecodeAnalysis.CilGraph.GetInstructions - CilTools.BytecodeAnalysis.CilGraph.GetNodes - CilTools.BytecodeAnalysis.CilGraph.Method @@ -404,6 +405,40 @@ items: - public modifiers.vb: - Public +- uid: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + commentId: M:CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + id: GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + parent: CilTools.BytecodeAnalysis.CilGraph + langs: + - csharp + - vb + name: GetHandlerNodes(ExceptionBlock) + nameWithType: CilGraph.GetHandlerNodes(ExceptionBlock) + fullName: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + type: Method + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.BytecodeAnalysis + summary: "\nGets the collection of nodes that make up the handler of the specified exception block\n" + remarks: "\nThe exception block must belong to the method from which this graph was created. If the \nblock belongs to another method, the behaviour is undefined. You can get exception blocks \nthat enclose the given graph node using \nmethod.\n" + syntax: + content: public IEnumerable GetHandlerNodes(ExceptionBlock block) + parameters: + - id: block + type: CilTools.Reflection.ExceptionBlock + description: The exception block to get handler + return: + type: System.Collections.Generic.IEnumerable{CilTools.BytecodeAnalysis.CilGraphNode} + description: The collection of nodes corresponding to exception block + content.vb: Public Function GetHandlerNodes(block As ExceptionBlock) As IEnumerable(Of CilGraphNode) + overload: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes* + modifiers.csharp: + - public + modifiers.vb: + - Public - uid: CilTools.BytecodeAnalysis.CilGraph.EmitTo(System.Reflection.Emit.ILGenerator,System.Func{CilTools.BytecodeAnalysis.CilInstruction,System.Boolean}) commentId: M:CilTools.BytecodeAnalysis.CilGraph.EmitTo(System.Reflection.Emit.ILGenerator,System.Func{CilTools.BytecodeAnalysis.CilInstruction,System.Boolean}) id: EmitTo(System.Reflection.Emit.ILGenerator,System.Func{CilTools.BytecodeAnalysis.CilInstruction,System.Boolean}) @@ -1064,6 +1099,25 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes* + commentId: Overload:CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes + isExternal: true + name: GetHandlerNodes + nameWithType: CilGraph.GetHandlerNodes + fullName: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes +- uid: CilTools.Reflection.ExceptionBlock + commentId: T:CilTools.Reflection.ExceptionBlock + parent: CilTools.Reflection + isExternal: true + name: ExceptionBlock + nameWithType: ExceptionBlock + fullName: CilTools.Reflection.ExceptionBlock +- uid: CilTools.Reflection + commentId: N:CilTools.Reflection + isExternal: true + name: CilTools.Reflection + nameWithType: CilTools.Reflection + fullName: CilTools.Reflection - uid: CilTools.BytecodeAnalysis.CilGraph.EmitTo* commentId: Overload:CilTools.BytecodeAnalysis.CilGraph.EmitTo isExternal: true diff --git a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNode.yml b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNode.yml index c1f2080..9d1b965 100644 --- a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNode.yml +++ b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNode.yml @@ -7,6 +7,7 @@ items: children: - CilTools.BytecodeAnalysis.CilGraphNode.#ctor - CilTools.BytecodeAnalysis.CilGraphNode.BranchTarget + - CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks - CilTools.BytecodeAnalysis.CilGraphNode.GetSwitchTargets - CilTools.BytecodeAnalysis.CilGraphNode.Instruction - CilTools.BytecodeAnalysis.CilGraphNode.Name @@ -77,6 +78,35 @@ items: - public modifiers.vb: - Public +- uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + commentId: M:CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + id: GetExceptionBlocks + parent: CilTools.BytecodeAnalysis.CilGraphNode + langs: + - csharp + - vb + name: GetExceptionBlocks() + nameWithType: CilGraphNode.GetExceptionBlocks() + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks() + type: Method + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.BytecodeAnalysis + summary: "\nGets an array of exception handling blocks in which this node is enclosed\n" + syntax: + content: public ExceptionBlock[] GetExceptionBlocks() + return: + type: CilTools.Reflection.ExceptionBlock[] + description: An array of exception blocks, or an empty array if there are none + content.vb: Public Function GetExceptionBlocks As ExceptionBlock() + overload: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks* + modifiers.csharp: + - public + modifiers.vb: + - Public - uid: CilTools.BytecodeAnalysis.CilGraphNode.#ctor commentId: M:CilTools.BytecodeAnalysis.CilGraphNode.#ctor id: '#ctor' @@ -594,6 +624,38 @@ references: - name: () nameWithType: () fullName: () +- uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks* + commentId: Overload:CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + isExternal: true + name: GetExceptionBlocks + nameWithType: CilGraphNode.GetExceptionBlocks + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks +- uid: CilTools.Reflection.ExceptionBlock[] + isExternal: true + name: ExceptionBlock[] + nameWithType: ExceptionBlock[] + fullName: CilTools.Reflection.ExceptionBlock[] + nameWithType.vb: ExceptionBlock() + fullName.vb: CilTools.Reflection.ExceptionBlock() + name.vb: ExceptionBlock() + spec.csharp: + - uid: CilTools.Reflection.ExceptionBlock + name: ExceptionBlock + nameWithType: ExceptionBlock + fullName: CilTools.Reflection.ExceptionBlock + isExternal: true + - name: '[]' + nameWithType: '[]' + fullName: '[]' + spec.vb: + - uid: CilTools.Reflection.ExceptionBlock + name: ExceptionBlock + nameWithType: ExceptionBlock + fullName: CilTools.Reflection.ExceptionBlock + isExternal: true + - name: () + nameWithType: () + fullName: () - uid: CilTools.BytecodeAnalysis.CilGraphNode.#ctor* commentId: Overload:CilTools.BytecodeAnalysis.CilGraphNode.#ctor isExternal: true diff --git a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.yml b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.yml index 6b1c0c3..67ccc29 100644 --- a/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.yml +++ b/docfx_project/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.yml @@ -37,6 +37,7 @@ items: - CilTools.BytecodeAnalysis.CilGraphNode inheritedMembers: - CilTools.BytecodeAnalysis.CilGraphNode.GetSwitchTargets + - CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks - CilTools.BytecodeAnalysis.CilGraphNode.ToString - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) @@ -328,6 +329,37 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + commentId: M:CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + parent: CilTools.BytecodeAnalysis.CilGraphNode + isExternal: true + name: GetExceptionBlocks() + nameWithType: CilGraphNode.GetExceptionBlocks() + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks() + spec.csharp: + - uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + name: GetExceptionBlocks + nameWithType: CilGraphNode.GetExceptionBlocks + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + name: GetExceptionBlocks + nameWithType: CilGraphNode.GetExceptionBlocks + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.BytecodeAnalysis.CilGraphNode.ToString commentId: M:CilTools.BytecodeAnalysis.CilGraphNode.ToString parent: CilTools.BytecodeAnalysis.CilGraphNode diff --git a/docfx_project/api/CilTools.BytecodeAnalysis.TypeSpec.yml b/docfx_project/api/CilTools.BytecodeAnalysis.TypeSpec.yml index 32dbd11..1d25564 100644 --- a/docfx_project/api/CilTools.BytecodeAnalysis.TypeSpec.yml +++ b/docfx_project/api/CilTools.BytecodeAnalysis.TypeSpec.yml @@ -42,6 +42,7 @@ items: - CilTools.BytecodeAnalysis.TypeSpec.InnerTypeSpec - CilTools.BytecodeAnalysis.TypeSpec.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[]) - CilTools.BytecodeAnalysis.TypeSpec.IsArrayImpl + - CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) - CilTools.BytecodeAnalysis.TypeSpec.IsByRefImpl - CilTools.BytecodeAnalysis.TypeSpec.IsCOMObjectImpl - CilTools.BytecodeAnalysis.TypeSpec.IsDefined(System.Type,System.Boolean) @@ -52,6 +53,7 @@ items: - CilTools.BytecodeAnalysis.TypeSpec.IsPinned - CilTools.BytecodeAnalysis.TypeSpec.IsPointerImpl - CilTools.BytecodeAnalysis.TypeSpec.IsPrimitiveImpl + - CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl - CilTools.BytecodeAnalysis.TypeSpec.MakeArrayType - CilTools.BytecodeAnalysis.TypeSpec.MakeByRefType - CilTools.BytecodeAnalysis.TypeSpec.MakeGenericType(System.Type[]) @@ -159,7 +161,6 @@ items: - System.Type.GetDefaultMembers - System.Type.FindMembers(System.Reflection.MemberTypes,System.Reflection.BindingFlags,System.Reflection.MemberFilter,System.Object) - System.Type.GetGenericParameterConstraints - - System.Type.IsValueTypeImpl - System.Type.IsContextfulImpl - System.Type.IsMarshalByRefImpl - System.Type.GetEnumNames @@ -169,7 +170,6 @@ items: - System.Type.GetEnumName(System.Object) - System.Type.IsSubclassOf(System.Type) - System.Type.IsInstanceOfType(System.Object) - - System.Type.IsAssignableFrom(System.Type) - System.Type.IsEquivalentTo(System.Type) - System.Type.GetTypeArray(System.Object[]) - System.Type.Equals(System.Object) @@ -1503,6 +1503,39 @@ items: modifiers.vb: - Public - Overrides +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + commentId: M:CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + id: IsAssignableFrom(System.Type) + parent: CilTools.BytecodeAnalysis.TypeSpec + langs: + - csharp + - vb + name: IsAssignableFrom(Type) + nameWithType: TypeSpec.IsAssignableFrom(Type) + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + type: Method + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.BytecodeAnalysis + syntax: + content: public override bool IsAssignableFrom(Type c) + parameters: + - id: c + type: System.Type + return: + type: System.Boolean + content.vb: Public Overrides Function IsAssignableFrom(c As Type) As Boolean + overridden: System.Type.IsAssignableFrom(System.Type) + overload: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom* + modifiers.csharp: + - public + - override + modifiers.vb: + - Public + - Overrides - uid: CilTools.BytecodeAnalysis.TypeSpec.ToString commentId: M:CilTools.BytecodeAnalysis.TypeSpec.ToString id: ToString @@ -1562,6 +1595,36 @@ items: - public modifiers.vb: - Public +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + commentId: M:CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + id: IsValueTypeImpl + parent: CilTools.BytecodeAnalysis.TypeSpec + langs: + - csharp + - vb + name: IsValueTypeImpl() + nameWithType: TypeSpec.IsValueTypeImpl() + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl() + type: Method + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.BytecodeAnalysis + syntax: + content: protected override bool IsValueTypeImpl() + return: + type: System.Boolean + content.vb: Protected Overrides Function IsValueTypeImpl As Boolean + overridden: System.Type.IsValueTypeImpl + overload: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl* + modifiers.csharp: + - protected + - override + modifiers.vb: + - Protected + - Overrides - uid: CilTools.BytecodeAnalysis.TypeSpec.ElementType commentId: P:CilTools.BytecodeAnalysis.TypeSpec.ElementType id: ElementType @@ -6230,37 +6293,6 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Type.IsValueTypeImpl - commentId: M:System.Type.IsValueTypeImpl - parent: System.Type - isExternal: true - name: IsValueTypeImpl() - nameWithType: Type.IsValueTypeImpl() - fullName: System.Type.IsValueTypeImpl() - spec.csharp: - - uid: System.Type.IsValueTypeImpl - name: IsValueTypeImpl - nameWithType: Type.IsValueTypeImpl - fullName: System.Type.IsValueTypeImpl - isExternal: true - - name: ( - nameWithType: ( - fullName: ( - - name: ) - nameWithType: ) - fullName: ) - spec.vb: - - uid: System.Type.IsValueTypeImpl - name: IsValueTypeImpl - nameWithType: Type.IsValueTypeImpl - fullName: System.Type.IsValueTypeImpl - isExternal: true - - name: ( - nameWithType: ( - fullName: ( - - name: ) - nameWithType: ) - fullName: ) - uid: System.Type.IsContextfulImpl commentId: M:System.Type.IsContextfulImpl parent: System.Type @@ -6580,47 +6612,6 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Type.IsAssignableFrom(System.Type) - commentId: M:System.Type.IsAssignableFrom(System.Type) - parent: System.Type - isExternal: true - name: IsAssignableFrom(Type) - nameWithType: Type.IsAssignableFrom(Type) - fullName: System.Type.IsAssignableFrom(System.Type) - spec.csharp: - - uid: System.Type.IsAssignableFrom(System.Type) - name: IsAssignableFrom - nameWithType: Type.IsAssignableFrom - fullName: System.Type.IsAssignableFrom - isExternal: true - - name: ( - nameWithType: ( - fullName: ( - - uid: System.Type - name: Type - nameWithType: Type - fullName: System.Type - isExternal: true - - name: ) - nameWithType: ) - fullName: ) - spec.vb: - - uid: System.Type.IsAssignableFrom(System.Type) - name: IsAssignableFrom - nameWithType: Type.IsAssignableFrom - fullName: System.Type.IsAssignableFrom - isExternal: true - - name: ( - nameWithType: ( - fullName: ( - - uid: System.Type - name: Type - nameWithType: Type - fullName: System.Type - isExternal: true - - name: ) - nameWithType: ) - fullName: ) - uid: System.Type.IsEquivalentTo(System.Type) commentId: M:System.Type.IsEquivalentTo(System.Type) parent: System.Type @@ -10878,6 +10869,53 @@ references: name: GetGenericTypeDefinition nameWithType: TypeSpec.GetGenericTypeDefinition fullName: CilTools.BytecodeAnalysis.TypeSpec.GetGenericTypeDefinition +- uid: System.Type.IsAssignableFrom(System.Type) + commentId: M:System.Type.IsAssignableFrom(System.Type) + parent: System.Type + isExternal: true + name: IsAssignableFrom(Type) + nameWithType: Type.IsAssignableFrom(Type) + fullName: System.Type.IsAssignableFrom(System.Type) + spec.csharp: + - uid: System.Type.IsAssignableFrom(System.Type) + name: IsAssignableFrom + nameWithType: Type.IsAssignableFrom + fullName: System.Type.IsAssignableFrom + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Type.IsAssignableFrom(System.Type) + name: IsAssignableFrom + nameWithType: Type.IsAssignableFrom + fullName: System.Type.IsAssignableFrom + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom* + commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom + isExternal: true + name: IsAssignableFrom + nameWithType: TypeSpec.IsAssignableFrom + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom - uid: System.Type.ToString commentId: M:System.Type.ToString parent: System.Type @@ -10921,6 +10959,43 @@ references: name: IsFunctionPointer nameWithType: TypeSpec.IsFunctionPointer fullName: CilTools.BytecodeAnalysis.TypeSpec.IsFunctionPointer +- uid: System.Type.IsValueTypeImpl + commentId: M:System.Type.IsValueTypeImpl + parent: System.Type + isExternal: true + name: IsValueTypeImpl() + nameWithType: Type.IsValueTypeImpl() + fullName: System.Type.IsValueTypeImpl() + spec.csharp: + - uid: System.Type.IsValueTypeImpl + name: IsValueTypeImpl + nameWithType: Type.IsValueTypeImpl + fullName: System.Type.IsValueTypeImpl + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Type.IsValueTypeImpl + name: IsValueTypeImpl + nameWithType: Type.IsValueTypeImpl + fullName: System.Type.IsValueTypeImpl + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl* + commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + isExternal: true + name: IsValueTypeImpl + nameWithType: TypeSpec.IsValueTypeImpl + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl - uid: CilTools.BytecodeAnalysis.TypeSpec.ElementType* commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.ElementType isExternal: true diff --git a/docfx_project/api/CilTools.Runtime.ClrAssemblyReader.yml b/docfx_project/api/CilTools.Runtime.ClrAssemblyReader.yml index cfaa5b5..4255043 100644 --- a/docfx_project/api/CilTools.Runtime.ClrAssemblyReader.yml +++ b/docfx_project/api/CilTools.Runtime.ClrAssemblyReader.yml @@ -6,6 +6,8 @@ items: parent: CilTools.Runtime children: - CilTools.Runtime.ClrAssemblyReader.#ctor(Microsoft.Diagnostics.Runtime.ClrRuntime) + - CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + - CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies - CilTools.Runtime.ClrAssemblyReader.EnumerateMethods(System.Diagnostics.Process) - CilTools.Runtime.ClrAssemblyReader.EnumerateModuleMethods(System.Diagnostics.Process,System.String) - CilTools.Runtime.ClrAssemblyReader.GetDynamicMethods @@ -262,7 +264,7 @@ items: assemblies: - CilTools.Runtime namespace: CilTools.Runtime - summary: "\nGets the pseudo-assembly that represents the collection of dynamic methods in the process containing CLR instance\n" + summary: "\nGets the pseudo-assembly that represents the collection of dynamic methods in the process \ncontaining the CLR instance\n" syntax: content: public DynamicMethodsAssembly GetDynamicMethods() return: @@ -273,6 +275,67 @@ items: - public modifiers.vb: - Public +- uid: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + commentId: M:CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + id: AddPreloadedAssembly(System.Reflection.Assembly) + parent: CilTools.Runtime.ClrAssemblyReader + langs: + - csharp + - vb + name: AddPreloadedAssembly(Assembly) + nameWithType: ClrAssemblyReader.AddPreloadedAssembly(Assembly) + fullName: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + type: Method + source: + path: CilTools.Runtime + isExternal: true + assemblies: + - CilTools.Runtime + namespace: CilTools.Runtime + summary: "\nAdds the specified assembly into the preloaded assembly collection\n" + remarks: "\nAdding preloaded assemblies enables some CilTools.Runtime mechanisms to avoid \nexpensive AssemblyReader.Read calls. The preloaded assembly must implement \n interface to be useful.\n" + syntax: + content: public void AddPreloadedAssembly(Assembly ass) + parameters: + - id: ass + type: System.Reflection.Assembly + description: Preloaded assembly instance + content.vb: Public Sub AddPreloadedAssembly(ass As Assembly) + overload: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly* + exceptions: + - type: System.ArgumentNullException + commentId: T:System.ArgumentNullException + description: Assembly is null + modifiers.csharp: + - public + modifiers.vb: + - Public +- uid: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + commentId: M:CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + id: ClearPreloadedAssemblies + parent: CilTools.Runtime.ClrAssemblyReader + langs: + - csharp + - vb + name: ClearPreloadedAssemblies() + nameWithType: ClrAssemblyReader.ClearPreloadedAssemblies() + fullName: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies() + type: Method + source: + path: CilTools.Runtime + isExternal: true + assemblies: + - CilTools.Runtime + namespace: CilTools.Runtime + summary: "\nRemoves all assemblies from the preloaded assembly collection\n" + syntax: + content: public void ClearPreloadedAssemblies() + content.vb: Public Sub ClearPreloadedAssemblies + overload: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies* + modifiers.csharp: + - public + modifiers.vb: + - Public - uid: CilTools.Runtime.ClrAssemblyReader.SourceRuntime commentId: P:CilTools.Runtime.ClrAssemblyReader.SourceRuntime id: SourceRuntime @@ -758,6 +821,34 @@ references: name: ClrModule nameWithType: ClrModule fullName: Microsoft.Diagnostics.Runtime.ClrModule +- uid: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly* + commentId: Overload:CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly + isExternal: true + name: AddPreloadedAssembly + nameWithType: ClrAssemblyReader.AddPreloadedAssembly + fullName: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly +- uid: System.ArgumentNullException + commentId: T:System.ArgumentNullException + isExternal: true +- uid: System.Reflection.Assembly + commentId: T:System.Reflection.Assembly + parent: System.Reflection + isExternal: true + name: Assembly + nameWithType: Assembly + fullName: System.Reflection.Assembly +- uid: System.Reflection + commentId: N:System.Reflection + isExternal: true + name: System.Reflection + nameWithType: System.Reflection + fullName: System.Reflection +- uid: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies* + commentId: Overload:CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + isExternal: true + name: ClearPreloadedAssemblies + nameWithType: ClrAssemblyReader.ClearPreloadedAssemblies + fullName: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies - uid: CilTools.Runtime.ClrAssemblyReader.SourceRuntime* commentId: Overload:CilTools.Runtime.ClrAssemblyReader.SourceRuntime isExternal: true diff --git a/docfx_project/api/CilTools.Syntax.BlockSyntax.yml b/docfx_project/api/CilTools.Syntax.BlockSyntax.yml index c64d054..c77c9d1 100644 --- a/docfx_project/api/CilTools.Syntax.BlockSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.BlockSyntax.yml @@ -35,6 +35,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -261,6 +262,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.CommentSyntax.yml b/docfx_project/api/CilTools.Syntax.CommentSyntax.yml index 6e85fb6..12f7cd7 100644 --- a/docfx_project/api/CilTools.Syntax.CommentSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.CommentSyntax.yml @@ -32,6 +32,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -194,6 +195,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.DirectiveSyntax.yml b/docfx_project/api/CilTools.Syntax.DirectiveSyntax.yml index 749e637..26f19ab 100644 --- a/docfx_project/api/CilTools.Syntax.DirectiveSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.DirectiveSyntax.yml @@ -37,6 +37,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -321,6 +322,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.IdentifierSyntax.yml b/docfx_project/api/CilTools.Syntax.IdentifierSyntax.yml index db51efe..476b344 100644 --- a/docfx_project/api/CilTools.Syntax.IdentifierSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.IdentifierSyntax.yml @@ -8,6 +8,8 @@ items: - CilTools.Syntax.IdentifierSyntax.Content - CilTools.Syntax.IdentifierSyntax.EnumerateChildNodes - CilTools.Syntax.IdentifierSyntax.IsMemberName + - CilTools.Syntax.IdentifierSyntax.TargetItem + - CilTools.Syntax.IdentifierSyntax.TargetMember - CilTools.Syntax.IdentifierSyntax.ToText(System.IO.TextWriter) langs: - csharp @@ -34,6 +36,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -175,6 +178,70 @@ items: modifiers.vb: - Public - ReadOnly +- uid: CilTools.Syntax.IdentifierSyntax.TargetItem + commentId: P:CilTools.Syntax.IdentifierSyntax.TargetItem + id: TargetItem + parent: CilTools.Syntax.IdentifierSyntax + langs: + - csharp + - vb + name: TargetItem + nameWithType: IdentifierSyntax.TargetItem + fullName: CilTools.Syntax.IdentifierSyntax.TargetItem + type: Property + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.Syntax + summary: "\nGets the item (such as assembly, member or variable) that this identifier represents\n" + syntax: + content: public object TargetItem { get; } + parameters: [] + return: + type: System.Object + description: "\nThe reference to the target item, or null if the target item is unknown\n" + content.vb: Public ReadOnly Property TargetItem As Object + overload: CilTools.Syntax.IdentifierSyntax.TargetItem* + modifiers.csharp: + - public + - get + modifiers.vb: + - Public + - ReadOnly +- uid: CilTools.Syntax.IdentifierSyntax.TargetMember + commentId: P:CilTools.Syntax.IdentifierSyntax.TargetMember + id: TargetMember + parent: CilTools.Syntax.IdentifierSyntax + langs: + - csharp + - vb + name: TargetMember + nameWithType: IdentifierSyntax.TargetMember + fullName: CilTools.Syntax.IdentifierSyntax.TargetMember + type: Property + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.Syntax + summary: "\nGets the assembly member represented by this identifier\n" + syntax: + content: public MemberInfo TargetMember { get; } + parameters: [] + return: + type: System.Reflection.MemberInfo + description: "\nThe reference to the target member, or null if the target item is unknown or not a member\n" + content.vb: Public ReadOnly Property TargetMember As MemberInfo + overload: CilTools.Syntax.IdentifierSyntax.TargetMember* + modifiers.csharp: + - public + - get + modifiers.vb: + - Public + - ReadOnly references: - uid: CilTools.Syntax commentId: N:CilTools.Syntax @@ -258,6 +325,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode @@ -745,3 +853,28 @@ references: name: Boolean nameWithType: Boolean fullName: System.Boolean +- uid: CilTools.Syntax.IdentifierSyntax.TargetItem* + commentId: Overload:CilTools.Syntax.IdentifierSyntax.TargetItem + isExternal: true + name: TargetItem + nameWithType: IdentifierSyntax.TargetItem + fullName: CilTools.Syntax.IdentifierSyntax.TargetItem +- uid: CilTools.Syntax.IdentifierSyntax.TargetMember* + commentId: Overload:CilTools.Syntax.IdentifierSyntax.TargetMember + isExternal: true + name: TargetMember + nameWithType: IdentifierSyntax.TargetMember + fullName: CilTools.Syntax.IdentifierSyntax.TargetMember +- uid: System.Reflection.MemberInfo + commentId: T:System.Reflection.MemberInfo + parent: System.Reflection + isExternal: true + name: MemberInfo + nameWithType: MemberInfo + fullName: System.Reflection.MemberInfo +- uid: System.Reflection + commentId: N:System.Reflection + isExternal: true + name: System.Reflection + nameWithType: System.Reflection + fullName: System.Reflection diff --git a/docfx_project/api/CilTools.Syntax.InstructionSyntax.yml b/docfx_project/api/CilTools.Syntax.InstructionSyntax.yml index 620d676..3d1572e 100644 --- a/docfx_project/api/CilTools.Syntax.InstructionSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.InstructionSyntax.yml @@ -41,6 +41,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -445,6 +446,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.KeywordSyntax.yml b/docfx_project/api/CilTools.Syntax.KeywordSyntax.yml index 8bb6afc..97c963c 100644 --- a/docfx_project/api/CilTools.Syntax.KeywordSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.KeywordSyntax.yml @@ -35,6 +35,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -259,6 +260,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.LiteralSyntax.yml b/docfx_project/api/CilTools.Syntax.LiteralSyntax.yml index 26cbb01..869e9c1 100644 --- a/docfx_project/api/CilTools.Syntax.LiteralSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.LiteralSyntax.yml @@ -34,6 +34,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -227,6 +228,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.MemberRefSyntax.yml b/docfx_project/api/CilTools.Syntax.MemberRefSyntax.yml index c0fbcbf..2f406f7 100644 --- a/docfx_project/api/CilTools.Syntax.MemberRefSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.MemberRefSyntax.yml @@ -34,6 +34,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -227,6 +228,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.MethodDefSyntax.yml b/docfx_project/api/CilTools.Syntax.MethodDefSyntax.yml index b565279..20c4476 100644 --- a/docfx_project/api/CilTools.Syntax.MethodDefSyntax.yml +++ b/docfx_project/api/CilTools.Syntax.MethodDefSyntax.yml @@ -35,6 +35,7 @@ items: inheritedMembers: - CilTools.Syntax.SyntaxNode.ToString - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.TrailingWhitespace - CilTools.Syntax.SyntaxNode.Parent @@ -259,6 +260,47 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + isExternal: true + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + spec.csharp: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Type + name: Type + nameWithType: Type + fullName: System.Type + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace commentId: P:CilTools.Syntax.SyntaxNode.LeadingWhitespace parent: CilTools.Syntax.SyntaxNode diff --git a/docfx_project/api/CilTools.Syntax.SyntaxNode.yml b/docfx_project/api/CilTools.Syntax.SyntaxNode.yml index 8815800..f2d4fde 100644 --- a/docfx_project/api/CilTools.Syntax.SyntaxNode.yml +++ b/docfx_project/api/CilTools.Syntax.SyntaxNode.yml @@ -8,6 +8,7 @@ items: - CilTools.Syntax.SyntaxNode.#ctor - CilTools.Syntax.SyntaxNode.EnumerateChildNodes - CilTools.Syntax.SyntaxNode.GetChildNodes + - CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) - CilTools.Syntax.SyntaxNode.LeadingWhitespace - CilTools.Syntax.SyntaxNode.Parent - CilTools.Syntax.SyntaxNode.ToString @@ -181,6 +182,41 @@ items: - public modifiers.vb: - Public +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + id: GetTypeDefSyntax(System.Type) + parent: CilTools.Syntax.SyntaxNode + langs: + - csharp + - vb + name: GetTypeDefSyntax(Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + type: Method + source: + path: CilTools.BytecodeAnalysis + isExternal: true + assemblies: + - CilTools.BytecodeAnalysis + namespace: CilTools.Syntax + summary: "\nGets the CIL assembler syntax for the definition of the specified type \n" + syntax: + content: public static IEnumerable GetTypeDefSyntax(Type t) + parameters: + - id: t + type: System.Type + description: Type to get definition syntax + return: + type: System.Collections.Generic.IEnumerable{CilTools.Syntax.SyntaxNode} + description: The collection of syntax nodes that make up type definition syntax + content.vb: Public Shared Function GetTypeDefSyntax(t As Type) As IEnumerable(Of SyntaxNode) + overload: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax* + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared - uid: CilTools.Syntax.SyntaxNode.#ctor commentId: M:CilTools.Syntax.SyntaxNode.#ctor id: '#ctor' @@ -759,6 +795,19 @@ references: - name: () nameWithType: () fullName: () +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax* + commentId: Overload:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + isExternal: true + name: GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax +- uid: System.Type + commentId: T:System.Type + parent: System + isExternal: true + name: Type + nameWithType: Type + fullName: System.Type - uid: CilTools.Syntax.SyntaxNode.#ctor* commentId: Overload:CilTools.Syntax.SyntaxNode.#ctor isExternal: true diff --git a/docs/api/CilTools.BytecodeAnalysis.CilGraph.html b/docs/api/CilTools.BytecodeAnalysis.CilGraph.html index 90a253d..9b0ebd7 100644 --- a/docs/api/CilTools.BytecodeAnalysis.CilGraph.html +++ b/docs/api/CilTools.BytecodeAnalysis.CilGraph.html @@ -272,6 +272,57 @@
+

GetHandlerNodes(ExceptionBlock)

+

Gets the collection of nodes that make up the handler of the specified exception block

+
+
+
Declaration
+
+
public IEnumerable<CilGraphNode> GetHandlerNodes(ExceptionBlock block)
+
+
Parameters
+ + + + + + + + + + + + + + + +
TypeNameDescription
ExceptionBlockblock

The exception block to get handler

+
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
System.Collections.Generic.IEnumerable<CilGraphNode>

The collection of nodes corresponding to exception block

+
+
Remarks
+

The exception block must belong to the method from which this graph was created. If the +block belongs to another method, the behaviour is undefined. You can get exception blocks +that enclose the given graph node using GetExceptionBlocks() +method.

+
+ +

GetInstructions()

Enumerates all instructions represented by this graph's nodes

diff --git a/docs/api/CilTools.BytecodeAnalysis.CilGraphNode.html b/docs/api/CilTools.BytecodeAnalysis.CilGraphNode.html index 80d7fa0..67b487d 100644 --- a/docs/api/CilTools.BytecodeAnalysis.CilGraphNode.html +++ b/docs/api/CilTools.BytecodeAnalysis.CilGraphNode.html @@ -273,6 +273,33 @@

Methods

+ +

GetExceptionBlocks()

+

Gets an array of exception handling blocks in which this node is enclosed

+
+
+
Declaration
+
+
public ExceptionBlock[] GetExceptionBlocks()
+
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
ExceptionBlock[]

An array of exception blocks, or an empty array if there are none

+
+ +

GetSwitchTargets()

Gets an array of nodes that represents the jump table of the switch instruction, if applicable

diff --git a/docs/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.html b/docs/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.html index fcbb7e1..39e101c 100644 --- a/docs/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.html +++ b/docs/api/CilTools.BytecodeAnalysis.CilGraphNodeMutable.html @@ -87,6 +87,9 @@
Inherited Members
CilGraphNode.GetSwitchTargets()
+
+ CilGraphNode.GetExceptionBlocks() +
CilGraphNode.ToString()
diff --git a/docs/api/CilTools.BytecodeAnalysis.TypeSpec.html b/docs/api/CilTools.BytecodeAnalysis.TypeSpec.html index 1b870df..472673f 100644 --- a/docs/api/CilTools.BytecodeAnalysis.TypeSpec.html +++ b/docs/api/CilTools.BytecodeAnalysis.TypeSpec.html @@ -278,9 +278,6 @@
Inherited Members
System.Type.GetGenericParameterConstraints()
-
- System.Type.IsValueTypeImpl() -
System.Type.IsContextfulImpl()
@@ -308,9 +305,6 @@
Inherited Members
System.Type.IsInstanceOfType(System.Object)
-
- System.Type.IsAssignableFrom(System.Type) -
System.Type.IsEquivalentTo(System.Type)
@@ -2329,6 +2323,50 @@
Overrides
System.Type.IsArrayImpl()
+ +

IsAssignableFrom(Type)

+
+
+
Declaration
+
+
public override bool IsAssignableFrom(Type c)
+
+
Parameters
+ + + + + + + + + + + + + + + +
TypeNameDescription
System.Typec
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
System.Boolean
+
Overrides
+
System.Type.IsAssignableFrom(System.Type)
+ +

IsByRefImpl()

@@ -2512,6 +2550,33 @@
Overrides
System.Type.IsPrimitiveImpl()
+ +

IsValueTypeImpl()

+
+
+
Declaration
+
+
protected override bool IsValueTypeImpl()
+
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
System.Boolean
+
Overrides
+
System.Type.IsValueTypeImpl()
+ +

MakeArrayType()

diff --git a/docs/api/CilTools.Runtime.ClrAssemblyReader.html b/docs/api/CilTools.Runtime.ClrAssemblyReader.html index 95daaf9..996ad8f 100644 --- a/docs/api/CilTools.Runtime.ClrAssemblyReader.html +++ b/docs/api/CilTools.Runtime.ClrAssemblyReader.html @@ -174,6 +174,67 @@

Methods

+ +

AddPreloadedAssembly(Assembly)

+

Adds the specified assembly into the preloaded assembly collection

+
+
+
Declaration
+
+
public void AddPreloadedAssembly(Assembly ass)
+
+
Parameters
+ + + + + + + + + + + + + + + +
TypeNameDescription
System.Reflection.Assemblyass

Preloaded assembly instance

+
+
Remarks
+

Adding preloaded assemblies enables some CilTools.Runtime mechanisms to avoid +expensive AssemblyReader.Read calls. The preloaded assembly must implement +ITokenResolver interface to be useful.

+
+
Exceptions
+ + + + + + + + + + + + + +
TypeCondition
System.ArgumentNullException

Assembly is null

+
+ + + +

ClearPreloadedAssemblies()

+

Removes all assemblies from the preloaded assembly collection

+
+
+
Declaration
+
+
public void ClearPreloadedAssemblies()
+
+ +

EnumerateMethods(Process)

Gets the collection of all methods in the specified process

@@ -270,7 +331,8 @@
Returns

GetDynamicMethods()

-

Gets the pseudo-assembly that represents the collection of dynamic methods in the process containing CLR instance

+

Gets the pseudo-assembly that represents the collection of dynamic methods in the process +containing the CLR instance

Declaration
diff --git a/docs/api/CilTools.Syntax.BlockSyntax.html b/docs/api/CilTools.Syntax.BlockSyntax.html index 3196cfb..f2b787e 100644 --- a/docs/api/CilTools.Syntax.BlockSyntax.html +++ b/docs/api/CilTools.Syntax.BlockSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.CommentSyntax.html b/docs/api/CilTools.Syntax.CommentSyntax.html index c10a71f..f33da96 100644 --- a/docs/api/CilTools.Syntax.CommentSyntax.html +++ b/docs/api/CilTools.Syntax.CommentSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.DirectiveSyntax.html b/docs/api/CilTools.Syntax.DirectiveSyntax.html index 8b77ce2..1d2a5d0 100644 --- a/docs/api/CilTools.Syntax.DirectiveSyntax.html +++ b/docs/api/CilTools.Syntax.DirectiveSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.IdentifierSyntax.html b/docs/api/CilTools.Syntax.IdentifierSyntax.html index 307797e..7a4e79d 100644 --- a/docs/api/CilTools.Syntax.IdentifierSyntax.html +++ b/docs/api/CilTools.Syntax.IdentifierSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ @@ -178,6 +181,60 @@
Property Value
+ + + +

TargetItem

+

Gets the item (such as assembly, member or variable) that this identifier represents

+
+
+
Declaration
+
+
public object TargetItem { get; }
+
+
Property Value
+ + + + + + + + + + + + + +
TypeDescription
System.Object

The reference to the target item, or null if the target item is unknown

+
+ + + +

TargetMember

+

Gets the assembly member represented by this identifier

+
+
+
Declaration
+
+
public MemberInfo TargetMember { get; }
+
+
Property Value
+ + + + + + + + + + + + + +
TypeDescription
System.Reflection.MemberInfo

The reference to the target member, or null if the target item is unknown or not a member

+

Methods

diff --git a/docs/api/CilTools.Syntax.InstructionSyntax.html b/docs/api/CilTools.Syntax.InstructionSyntax.html index 33dece8..46be971 100644 --- a/docs/api/CilTools.Syntax.InstructionSyntax.html +++ b/docs/api/CilTools.Syntax.InstructionSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.KeywordSyntax.html b/docs/api/CilTools.Syntax.KeywordSyntax.html index 15923b5..9e7de5d 100644 --- a/docs/api/CilTools.Syntax.KeywordSyntax.html +++ b/docs/api/CilTools.Syntax.KeywordSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.LiteralSyntax.html b/docs/api/CilTools.Syntax.LiteralSyntax.html index 2fb491a..85e0d47 100644 --- a/docs/api/CilTools.Syntax.LiteralSyntax.html +++ b/docs/api/CilTools.Syntax.LiteralSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.MemberRefSyntax.html b/docs/api/CilTools.Syntax.MemberRefSyntax.html index 682349b..d2d2c48 100644 --- a/docs/api/CilTools.Syntax.MemberRefSyntax.html +++ b/docs/api/CilTools.Syntax.MemberRefSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.MethodDefSyntax.html b/docs/api/CilTools.Syntax.MethodDefSyntax.html index 598f267..cbcdf5a 100644 --- a/docs/api/CilTools.Syntax.MethodDefSyntax.html +++ b/docs/api/CilTools.Syntax.MethodDefSyntax.html @@ -90,6 +90,9 @@
Inherited Members
+ diff --git a/docs/api/CilTools.Syntax.SyntaxNode.html b/docs/api/CilTools.Syntax.SyntaxNode.html index 71de188..e4092a4 100644 --- a/docs/api/CilTools.Syntax.SyntaxNode.html +++ b/docs/api/CilTools.Syntax.SyntaxNode.html @@ -284,6 +284,51 @@
Returns
+ +

GetTypeDefSyntax(Type)

+

Gets the CIL assembler syntax for the definition of the specified type

+
+
+
Declaration
+
+
public static IEnumerable<SyntaxNode> GetTypeDefSyntax(Type t)
+
+
Parameters
+ + + + + + + + + + + + + + + +
TypeNameDescription
System.Typet

Type to get definition syntax

+
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
System.Collections.Generic.IEnumerable<SyntaxNode>

The collection of syntax nodes that make up type definition syntax

+
+ +

ToString()

Gets the text representation of this node, including whitespace content

diff --git a/docs/articles/cilview-manual.html b/docs/articles/cilview-manual.html index 0f1f5e1..c6d1e39 100644 --- a/docs/articles/cilview-manual.html +++ b/docs/articles/cilview-manual.html @@ -94,9 +94,6 @@

Displaying code from the process

CilView attaching to process

2. Select the process from the list in the appearing Attach to process dialog.

You can search process by entering the process name starting fragment or ID into the text field and pressing Search.

-
-

NOTE: Only 32-bit processes are supported. .NET Core shared host is 64-bit on 64-bit Windows, but you can attach to .NET Core application if it was build targeting the win-x86 runtime ID and started from the resulting EXE file rather than using shared host.

-

3. Check the active mode checkbox if you want to get more accurate info.

NOTE: When attaching in active mode, the target process is suspended. Do not use active mode on the application that is currently performing critical business tasks.

@@ -107,15 +104,16 @@

Displaying code from the process

7. Select method in the left panel.

You can also search assemblies, types and methods by entering the fragment of their names into the Find text field and pressing the ">" button. CIL View searches methods in the currently selected type, if the type is selected. In a similar way, types are searched in the currently selected assembly, if one is selected. The search results are shown in the context menu. Clicking on the menu item navigates to the corresponding object.

8. The right panel will display the CIL disassembly of the selected method.

-

You can also view the code of dynamic methods generated at runtime in the target process by selecting the <...DynamicMethods> entry in the assembly drop-down list (it is displayed at the end of the list).

+

You can also view the code of dynamic methods generated at runtime in the target process by selecting the <...DynamicMethods> entry in the assembly drop-down list (it is displayed at the end of the list). Starting from version 2.2, methods from dynamic assemblies are not included under dynamic methods and instead can be opened under the corresponding dynamic assembly.

Limitations when displaying code from the process

-

If the assembly could not be loaded by the CIL View application (this is usually happens with some mixed-mode assemblies which have some PE structures stripped off, so they could be loaded by CLR, but not by System.Reflection.Metadata), the following limitations apply:

+

If the assembly is a dynamic assembly or an assembly that could not be loaded by CIL View as file (this is usually happens with some mixed-mode assemblies which have some PE structures stripped off, so they could be loaded by CLR, but not by System.Reflection.Metadata), the following limitations apply:

  • Method return value or parameter types are not shown
  • String literal tokens are not resolved
  • Standalone signature tokens are not resolved
  • Tokens of external assembly members are not resolved
  • -
  • Local variables and exception handling blocks are not shown
  • +
  • Local variables are not shown
  • +
  • Exception handling blocks are not shown (except for methods from dynamic assemblies)

For dynamic methods, the following limitations apply:

    @@ -123,10 +121,23 @@

    Limitations when disp
  • All tokens, except for method tokens, are not resolved
  • Local variables are not shown
+

When opening the 64-bit process, the following limitations apply:

+
    +
  • Dynamic assemblies and dynamic methods are not shown
  • +
  • Assemblies that could not be loaded by CIL View as files (see above) are not shown
  • +
  • Process and threads information is not available
  • +
+
+

NOTE: .NET Core shared host is 64-bit on 64-bit Windows, but if you want to overcome these limitations, you can build it targeting the win-x86 runtime ID and start it from the resulting EXE file rather than using shared host.

+

Examining managed threads

To examine managed threads when process is opened, click Process -> Threads menu. The Threads window displays a drop-down list of managed threads. Each list item contains native thread ID, thread type for special threads (GC, Finalizer, Thread pool), COM apartment type (STA or MTA), and the topmost stack frame info. Select thread from the list to view the full stack trace.

The stack trace will be displayed in the left panel. Some stack frames are hyperlinks, and clicking on them will open the corresponding method in the right panel. The instructions belonging to the approximate currently executed code fragment are highlighted in red. This feature only works reliably when attaching in active mode.

CilView threads window

+

Exception analysis

+

To figure out exceptions that the method could potentially throw, open that method and use Analysis -> Show exception (methods) menu command. In the opened window you'll see the list of exception types as well as the call stack that could trigger them. The CIL View recursively scans the analysed method and all methods called by it, and searches for exceptions that are thrown and not handled up the stack. Not that exception analysis might be inaccurate (bot false positives and false negatives, so it's only good for a quick estimate of thrown exceptions. To perform exception analysis on all methods of the current type, use Analysis -> Show exception (type).

+

To compare exceptions actually thrown by methods of the type and exceptions mentioned in their documentation, select the type and use Analysis -> Compare exceptions command. In the appearing dialog box, select the XML documentation file to compare. CIL View supports both regular ECMA XML emitted by C# compiler and monodoc XML format. The opened window will show the differences between exceptions reported by analysis and exceptions documented in ECMA XML <exception> tags.

+

The exception analysis supported when opening both files and processes. However, when you hit any limitations mentioned above, the analysis accuracy decreases.

ClickOnce installation with auto-update

You can install CIL View via ClickOnce if you want to download updates automatically. The ClickOnce download URL: https://msdn-whiteknight.github.io/CilTools/update/

Using auto-update requires stable internet connection and access to the https://msdn-whiteknight.github.io/ website. If you are using old Windows or .NET Framework versions, you might be unable to connect due to TLS protocol version or ciphersuite mismatch.

@@ -157,6 +168,24 @@

Changelog

  • Fix BadImageFormatException on C++/CLI assemblies
  • Fix signatures with function pointers being incorrectly displayed in left panel
  • +

    2.2

    +
      +
    • Add support for constrained. instruction prefix
    • +
    • Add type definition disassembler
    • +
    • Add Open BCL assembly dialog
    • +
    • Add navigation history
    • +
    • Add partial support for 64-bit processes
    • +
    • Add support for dynamic assemblies
    • +
    • Add exception analysis
    • +
    • Disable wrapping in search textbox
    • +
    • Method navigation hyperlink now spans only over the method name identifier, instead of the whole method reference syntax
    • +
    • Method navigation hyperlink is no longer underlined (to fix cases where it was obscuring _ chars in name)
    • +
    • Improve performance of "Open process" by preloading assemblies from files instead of reading target process memory, where it's possible
    • +
    • Fix null reference on typedref parameter
    • +
    • Fix unhandled exception when opening file on background thread
    • +
    • Fix token resolution bug after navigating to generic method instantiation
    • +
    • Fix crashes on access to disposed assemblies
    • +

    Copyright (c) 2021, MSDN.WhiteKnight

    This CIL View distribution contains the binary code of ClrMD library: Copyright (c) .NET Foundation and Contributors, MIT License.

    diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index bac5a52..d3bf57c 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -274,6 +274,18 @@ references: commentId: Overload:CilTools.BytecodeAnalysis.CilGraph.EmitTo fullName: CilTools.BytecodeAnalysis.CilGraph.EmitTo nameWithType: CilGraph.EmitTo +- uid: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + name: GetHandlerNodes(ExceptionBlock) + href: api/CilTools.BytecodeAnalysis.CilGraph.html#CilTools_BytecodeAnalysis_CilGraph_GetHandlerNodes_CilTools_Reflection_ExceptionBlock_ + commentId: M:CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + fullName: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes(CilTools.Reflection.ExceptionBlock) + nameWithType: CilGraph.GetHandlerNodes(ExceptionBlock) +- uid: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes* + name: GetHandlerNodes + href: api/CilTools.BytecodeAnalysis.CilGraph.html#CilTools_BytecodeAnalysis_CilGraph_GetHandlerNodes_ + commentId: Overload:CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes + fullName: CilTools.BytecodeAnalysis.CilGraph.GetHandlerNodes + nameWithType: CilGraph.GetHandlerNodes - uid: CilTools.BytecodeAnalysis.CilGraph.GetInstructions name: GetInstructions() href: api/CilTools.BytecodeAnalysis.CilGraph.html#CilTools_BytecodeAnalysis_CilGraph_GetInstructions @@ -448,6 +460,18 @@ references: commentId: Overload:CilTools.BytecodeAnalysis.CilGraphNode.BranchTarget fullName: CilTools.BytecodeAnalysis.CilGraphNode.BranchTarget nameWithType: CilGraphNode.BranchTarget +- uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + name: GetExceptionBlocks() + href: api/CilTools.BytecodeAnalysis.CilGraphNode.html#CilTools_BytecodeAnalysis_CilGraphNode_GetExceptionBlocks + commentId: M:CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks() + nameWithType: CilGraphNode.GetExceptionBlocks() +- uid: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks* + name: GetExceptionBlocks + href: api/CilTools.BytecodeAnalysis.CilGraphNode.html#CilTools_BytecodeAnalysis_CilGraphNode_GetExceptionBlocks_ + commentId: Overload:CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + fullName: CilTools.BytecodeAnalysis.CilGraphNode.GetExceptionBlocks + nameWithType: CilGraphNode.GetExceptionBlocks - uid: CilTools.BytecodeAnalysis.CilGraphNode.GetSwitchTargets name: GetSwitchTargets() href: api/CilTools.BytecodeAnalysis.CilGraphNode.html#CilTools_BytecodeAnalysis_CilGraphNode_GetSwitchTargets @@ -2251,6 +2275,18 @@ references: commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsArrayImpl fullName: CilTools.BytecodeAnalysis.TypeSpec.IsArrayImpl nameWithType: TypeSpec.IsArrayImpl +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + name: IsAssignableFrom(Type) + href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_IsAssignableFrom_System_Type_ + commentId: M:CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom(System.Type) + nameWithType: TypeSpec.IsAssignableFrom(Type) +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom* + name: IsAssignableFrom + href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_IsAssignableFrom_ + commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsAssignableFrom + nameWithType: TypeSpec.IsAssignableFrom - uid: CilTools.BytecodeAnalysis.TypeSpec.IsByRefImpl name: IsByRefImpl() href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_IsByRefImpl @@ -2371,6 +2407,18 @@ references: commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsPrimitiveImpl fullName: CilTools.BytecodeAnalysis.TypeSpec.IsPrimitiveImpl nameWithType: TypeSpec.IsPrimitiveImpl +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + name: IsValueTypeImpl() + href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_IsValueTypeImpl + commentId: M:CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl() + nameWithType: TypeSpec.IsValueTypeImpl() +- uid: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl* + name: IsValueTypeImpl + href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_IsValueTypeImpl_ + commentId: Overload:CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + fullName: CilTools.BytecodeAnalysis.TypeSpec.IsValueTypeImpl + nameWithType: TypeSpec.IsValueTypeImpl - uid: CilTools.BytecodeAnalysis.TypeSpec.MakeArrayType name: MakeArrayType() href: api/CilTools.BytecodeAnalysis.TypeSpec.html#CilTools_BytecodeAnalysis_TypeSpec_MakeArrayType @@ -4792,6 +4840,30 @@ references: commentId: Overload:CilTools.Runtime.ClrAssemblyReader.#ctor fullName: CilTools.Runtime.ClrAssemblyReader.ClrAssemblyReader nameWithType: ClrAssemblyReader.ClrAssemblyReader +- uid: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + name: AddPreloadedAssembly(Assembly) + href: api/CilTools.Runtime.ClrAssemblyReader.html#CilTools_Runtime_ClrAssemblyReader_AddPreloadedAssembly_System_Reflection_Assembly_ + commentId: M:CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + fullName: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly(System.Reflection.Assembly) + nameWithType: ClrAssemblyReader.AddPreloadedAssembly(Assembly) +- uid: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly* + name: AddPreloadedAssembly + href: api/CilTools.Runtime.ClrAssemblyReader.html#CilTools_Runtime_ClrAssemblyReader_AddPreloadedAssembly_ + commentId: Overload:CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly + fullName: CilTools.Runtime.ClrAssemblyReader.AddPreloadedAssembly + nameWithType: ClrAssemblyReader.AddPreloadedAssembly +- uid: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + name: ClearPreloadedAssemblies() + href: api/CilTools.Runtime.ClrAssemblyReader.html#CilTools_Runtime_ClrAssemblyReader_ClearPreloadedAssemblies + commentId: M:CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + fullName: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies() + nameWithType: ClrAssemblyReader.ClearPreloadedAssemblies() +- uid: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies* + name: ClearPreloadedAssemblies + href: api/CilTools.Runtime.ClrAssemblyReader.html#CilTools_Runtime_ClrAssemblyReader_ClearPreloadedAssemblies_ + commentId: Overload:CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + fullName: CilTools.Runtime.ClrAssemblyReader.ClearPreloadedAssemblies + nameWithType: ClrAssemblyReader.ClearPreloadedAssemblies - uid: CilTools.Runtime.ClrAssemblyReader.EnumerateMethods(System.Diagnostics.Process) name: EnumerateMethods(Process) href: api/CilTools.Runtime.ClrAssemblyReader.html#CilTools_Runtime_ClrAssemblyReader_EnumerateMethods_System_Diagnostics_Process_ @@ -5698,6 +5770,30 @@ references: commentId: Overload:CilTools.Syntax.IdentifierSyntax.IsMemberName fullName: CilTools.Syntax.IdentifierSyntax.IsMemberName nameWithType: IdentifierSyntax.IsMemberName +- uid: CilTools.Syntax.IdentifierSyntax.TargetItem + name: TargetItem + href: api/CilTools.Syntax.IdentifierSyntax.html#CilTools_Syntax_IdentifierSyntax_TargetItem + commentId: P:CilTools.Syntax.IdentifierSyntax.TargetItem + fullName: CilTools.Syntax.IdentifierSyntax.TargetItem + nameWithType: IdentifierSyntax.TargetItem +- uid: CilTools.Syntax.IdentifierSyntax.TargetItem* + name: TargetItem + href: api/CilTools.Syntax.IdentifierSyntax.html#CilTools_Syntax_IdentifierSyntax_TargetItem_ + commentId: Overload:CilTools.Syntax.IdentifierSyntax.TargetItem + fullName: CilTools.Syntax.IdentifierSyntax.TargetItem + nameWithType: IdentifierSyntax.TargetItem +- uid: CilTools.Syntax.IdentifierSyntax.TargetMember + name: TargetMember + href: api/CilTools.Syntax.IdentifierSyntax.html#CilTools_Syntax_IdentifierSyntax_TargetMember + commentId: P:CilTools.Syntax.IdentifierSyntax.TargetMember + fullName: CilTools.Syntax.IdentifierSyntax.TargetMember + nameWithType: IdentifierSyntax.TargetMember +- uid: CilTools.Syntax.IdentifierSyntax.TargetMember* + name: TargetMember + href: api/CilTools.Syntax.IdentifierSyntax.html#CilTools_Syntax_IdentifierSyntax_TargetMember_ + commentId: Overload:CilTools.Syntax.IdentifierSyntax.TargetMember + fullName: CilTools.Syntax.IdentifierSyntax.TargetMember + nameWithType: IdentifierSyntax.TargetMember - uid: CilTools.Syntax.IdentifierSyntax.ToText(System.IO.TextWriter) name: ToText(TextWriter) href: api/CilTools.Syntax.IdentifierSyntax.html#CilTools_Syntax_IdentifierSyntax_ToText_System_IO_TextWriter_ @@ -6094,6 +6190,18 @@ references: commentId: Overload:CilTools.Syntax.SyntaxNode.GetChildNodes fullName: CilTools.Syntax.SyntaxNode.GetChildNodes nameWithType: SyntaxNode.GetChildNodes +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + name: GetTypeDefSyntax(Type) + href: api/CilTools.Syntax.SyntaxNode.html#CilTools_Syntax_SyntaxNode_GetTypeDefSyntax_System_Type_ + commentId: M:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax(System.Type) + nameWithType: SyntaxNode.GetTypeDefSyntax(Type) +- uid: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax* + name: GetTypeDefSyntax + href: api/CilTools.Syntax.SyntaxNode.html#CilTools_Syntax_SyntaxNode_GetTypeDefSyntax_ + commentId: Overload:CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + fullName: CilTools.Syntax.SyntaxNode.GetTypeDefSyntax + nameWithType: SyntaxNode.GetTypeDefSyntax - uid: CilTools.Syntax.SyntaxNode.LeadingWhitespace name: LeadingWhitespace href: api/CilTools.Syntax.SyntaxNode.html#CilTools_Syntax_SyntaxNode_LeadingWhitespace