41 references to MethodDefinition
BuildValidator (1)
Util.cs (1)
63case HandleKind.MethodDefinition:
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
457else if (attributeCtor.Kind == HandleKind.MethodDefinition)
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
945case HandleKind.MethodDefinition:
Microsoft.CodeAnalysis (8)
MetadataReader\MetadataDecoder.cs (5)
1932if (implementedMethodTokenType == HandleKind.MethodDefinition) 2183case HandleKind.MethodDefinition: 2259containerType == HandleKind.MethodDefinition || 2284Debug.Assert(type == HandleKind.MethodDefinition || type == HandleKind.MemberReference); 2286return type == HandleKind.MethodDefinition
MetadataReader\PEModule.cs (2)
3070else if (attributeCtor.Kind == HandleKind.MethodDefinition) 3325case HandleKind.MethodDefinition:
PEWriter\MetadataWriter.cs (1)
3272Debug.Assert(handle.Kind is HandleKind.MethodDefinition);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
132case HandleKind.MethodDefinition:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
3337Assert.NotEqual(HandleKind.MethodDefinition, ctor.Kind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
149case HandleKind.MethodDefinition:
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
MethodContextReuseConstraints.cs (2)
24Debug.Assert(MetadataTokens.Handle(methodToken).Kind == HandleKind.MethodDefinition); 36Debug.Assert(MetadataTokens.Handle(methodToken).Kind == HandleKind.MethodDefinition);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
20case HandleKind.MethodDefinition:
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\MetadataReaderUtils.cs (2)
224case HandleKind.MethodDefinition: 347case HandleKind.MethodDefinition:
Metadata\MetadataValidation.cs (1)
36else if (ctorHandle.Kind == HandleKind.MethodDefinition)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
109Case HandleKind.MethodDefinition
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
2358Assert.NotEqual(parent.Kind, HandleKind.MethodDefinition)
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
649case HandleKind.MethodDefinition:
System.Diagnostics.FileVersionInfo (2)
System\Diagnostics\FileVersionInfo.Unix.cs (2)
270case HandleKind.MethodDefinition: 297case HandleKind.MethodDefinition:
System.Diagnostics.StackTrace (1)
System\Diagnostics\StackTraceSymbols.cs (1)
62if (!handle.IsNil && handle.Kind == HandleKind.MethodDefinition)
System.Reflection.Metadata (11)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (8)
202case HandleKind.MethodDefinition: return HasCustomAttributeTag.MethodDef; 266case HandleKind.MethodDefinition: return CustomAttributeTypeTag.MethodDef; 289case HandleKind.MethodDefinition: return HasDeclSecurityTag.MethodDef; 376case HandleKind.MethodDefinition: return MemberForwardedTag.MethodDef; 402case HandleKind.MethodDefinition: return MemberRefParentTag.MethodDef; 423case HandleKind.MethodDefinition: return MethodDefOrRefTag.MethodDef; 514case HandleKind.MethodDefinition: return TypeOrMethodDefTag.MethodDef; 559case HandleKind.MethodDefinition: return HasCustomDebugInformationTag.MethodDef;
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
28case HandleKind.MethodDefinition:
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (1)
102if (methodHandle.Kind != HandleKind.MethodDefinition &&
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
799if (ctor.Kind == HandleKind.MethodDefinition)
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
62case HandleKind.MethodDefinition:
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
85case HandleKind.MethodDefinition:
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
143HandleKind.MethodDefinition => new EcmaGenericMethodParameterType(gph, module),
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
65case HandleKind.MethodDefinition: