1 instantiation of MethodDefinition
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
1210return new MethodDefinition(this, GetMethodDefTreatmentAndRowId(handle));
54 references to MethodDefinition
BuildValidator (1)
Util.cs (1)
65var methodDef = reader.GetMethodDefinition((MethodDefinitionHandle)attribute.Constructor);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
495MethodDefinition methodDef = mdReader.GetMethodDefinition(methoddefHandle);
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (3)
3072var methodDef = metadataReader.GetMethodDefinition((MethodDefinitionHandle)attributeCtor); 3368MethodDefinition methodRow = MetadataReader.GetMethodDefinition(methodDef); 3963MethodDefinition method = MetadataReader.GetMethodDefinition(methodHandle);
Microsoft.CodeAnalysis.CSharp (1)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
173var methodDef = reader.GetMethodDefinition(methodHandle);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
5083var method = peReader.GetMethodDefinition(m);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (1)
687var methodDef = mdReader.GetMethodDefinition((MethodDefinitionHandle)MetadataTokens.Handle(peEntryPointToken));
PDB\PortablePdbTests.cs (1)
55var method = mdReader.GetMethodDefinition(methodHandle);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Attributes\AttributeTests_Nullable.cs (1)
4874var method = typeDef.GetMethods().Select(m => reader.GetMethodDefinition(m)).Single(m => reader.StringComparer.Equals(m.Name, "Method"));
Attributes\AttributeTests_WellKnownAttributes.cs (13)
58MethodDefinition methodDef = default; 62var method = metadataReader.GetMethodDefinition(methodHandle); 1148var methodDef = metadataReader.GetMethodDefinition(methodHandle); 3075var methodDef = peReader.GetMethodDefinition(methodHandle); 3149var methodDef = metadataReader.GetMethodDefinition(methodHandle); 3284var row = peReader.GetMethodDefinition(methodHandle); 10715MethodDefinition methodInit = default; 10716MethodDefinition methodSkip = default; 10717MethodDefinition methodInitCopy = default; 10718MethodDefinition methodSkipCopy = default; 10719MethodDefinition methodInitDiff = default; 10720MethodDefinition methodSkipDiff = default; 10724var method = peReader.GetMethodDefinition(methodHandle);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataUtilities.cs (1)
484var methodDef = reader.GetMethodDefinition(handle);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (8)
MetadataDecoder.cs (1)
33internal ImmutableArray<ParameterSignature> DecodeParameters(MethodDefinition methodDef)
MetadataResolver.cs (7)
69var methodDef = _reader.GetMethodDefinition(methodHandle); 199MethodDefinition methodDef, 256var methodDef = _reader.GetMethodDefinition(primaryAccessorHandle); 260private bool MatchesMethodName(in MethodDefinition methodDef, in TypeDefinition declaringTypeDef, string name) 324MethodDefinition methodDef, 363var methodDef = _reader.GetMethodDefinition(handle); 452private static bool IsResolvableMethod(MethodDefinition methodDef)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
42var methodDef = reader.GetMethodDefinition(handle);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
66var methodDef = dllReader.GetMethodDefinition(methodDefHandle);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
145var methodDefinition = mdReader.GetMethodDefinition(header.EntryPoint);
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\MetadataReaderUtils.cs (2)
66internal static IEnumerable<MethodDefinition> GetImportedMethods(this MetadataReader reader) 349MethodDefinition method = reader.GetMethodDefinition((MethodDefinitionHandle)handle);
Metadata\MetadataValidation.cs (1)
108var methodDef = metadataReader.GetMethodDefinition(methodHandle);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
433var method = metadataReader.GetMethodDefinition(child);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
402var def = metadataReader.GetMethodDefinition(handle);
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
271MethodDefinition md = reader.GetMethodDefinition((MethodDefinitionHandle)ctorHandle);
System.Reflection.Metadata (4)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (1)
83/// <param name="handle"><see cref="FieldDefinition"/>, <see cref="MethodDefinition"/></param>
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
29MethodDefinition definition = _reader.GetMethodDefinition((MethodDefinitionHandle)constructor);
System\Reflection\Metadata\MetadataReader.cs (1)
1207public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle)
System\Reflection\Metadata\PortablePdb\Handles.Debug.cs (1)
176/// Returns a handle to <see cref="MethodDefinition"/> corresponding to this handle.
System.Reflection.MetadataLoadContext (9)
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
71MethodDefinition def = others[i].GetMethodDefinition(reader);
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
101public static bool IsConstructor(this in MethodDefinition method, MetadataReader reader)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
183MethodDefinition methodDefinition = handle.GetMethodDefinition(reader);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
43public static MethodDefinition GetMethodDefinition(this MethodDefinitionHandle handle, MetadataReader reader) => reader.GetMethodDefinition(handle);
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (3)
74MethodDefinition methodDefinition = MethodDefinition; 156private MethodDefinition MethodDefinition { get { Loader.DisposeCheck(); return _neverAccessThisExceptThroughMethodDefinitionProperty; } } 158private readonly MethodDefinition _neverAccessThisExceptThroughMethodDefinitionProperty;
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (2)
23MethodDefinition methodDefinition = handle.GetMethodDefinition(reader); 37MethodDefinition methodDefinition = handle.GetMethodDefinition(reader);