34 references to MethodDefinitionHandle
Microsoft.CodeAnalysis (12)
Emit\EditAndContinue\DefinitionMap.cs (2)
151handle = MetadataTokens.MethodDefinitionHandle(methodIndex); 693provider = Baseline.DebugInformationProvider(MetadataTokens.MethodDefinitionHandle(methodRowId));
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
36=> MetadataTokens.MethodDefinitionHandle(_oldMethod.MetadataToken);
Emit\EditAndContinue\DeltaMetadataWriter.cs (4)
284methods.Add(MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(def))); 360handle = MetadataTokens.MethodDefinitionHandle(rowId); 365=> MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(def)); 1192entity: MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(methodDef)),
PEWriter\FullMetadataWriter.cs (3)
176handle = MetadataTokens.MethodDefinitionHandle(index); 182return MetadataTokens.MethodDefinitionHandle(_methodDefs[def]); 227return MetadataTokens.MethodDefinitionHandle(_methodDefIndex[typeDef]);
PEWriter\MetadataWriter.cs (1)
1634return GetMethodDef(MetadataTokens.MethodDefinitionHandle(token));
PEWriter\MetadataWriter.PortablePdb.cs (1)
68var methodHandle = MetadataTokens.MethodDefinitionHandle(methodRid);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (5)
288diff1.VerifyPdb(new[] { MetadataTokens.MethodDefinitionHandle(4) }, @" 2364diff1.VerifyPdb(Enumerable.Range(1, 20).Select(MetadataTokens.MethodDefinitionHandle), @" 8225diff1.VerifyPdb(new[] { MetadataTokens.MethodDefinitionHandle(9) }, @" 8417diff2.VerifyPdb(new[] { MetadataTokens.MethodDefinitionHandle(9) }, @" 8600diff3.VerifyPdb(new[] { MetadataTokens.MethodDefinitionHandle(15) }, @"
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Emit\CompilationOutputFilesTests.cs (1)
46var localSig = encReader.GetLocalSignature(MetadataTokens.MethodDefinitionHandle(1));
Emit\CompilationOutputsTests.cs (1)
82var localSig = encReader.GetLocalSignature(MetadataTokens.MethodDefinitionHandle(1));
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Portable.cs (1)
111return MetadataTokens.MethodDefinitionHandle(rowId);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
37return GetMethodSignature(reader, MetadataTokens.MethodDefinitionHandle(token));
Microsoft.CodeAnalysis.Features.UnitTests (4)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (4)
87var debugInfo = reader.GetDebugInfo(MetadataTokens.MethodDefinitionHandle(5)); 93var localSig = reader.GetLocalSignature(MetadataTokens.MethodDefinitionHandle(5)); 97debugInfo = reader.GetDebugInfo(MetadataTokens.MethodDefinitionHandle(1)); 103localSig = reader.GetLocalSignature(MetadataTokens.MethodDefinitionHandle(1));
Microsoft.CodeAnalysis.UnitTests (2)
Emit\CustomDebugInfoTests.cs (2)
513cdiEncoder.AddForwardModuleInfo(MetadataTokens.MethodDefinitionHandle(0x123456)); 542cdiEncoder.AddForwardMethodInfo(MetadataTokens.MethodDefinitionHandle(0x123456));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (1)
56var localSig = encReader.GetLocalSignature(MetadataTokens.MethodDefinitionHandle(1));
System.Reflection.Emit (5)
System\Reflection\Emit\ModuleBuilderImpl.cs (5)
134methodList: MetadataTokens.MethodDefinitionHandle(1)); 314method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++); 940methodList: MetadataTokens.MethodDefinitionHandle(methodToken)); 1268method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++); 1296method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++);
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (1)
457/// If no type defines any methods in the module, <see cref="MetadataTokens.MethodDefinitionHandle(int)"/>(1).