1 implementation of MetadataToken
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol.cs (1)
98
public virtual int
MetadataToken
=> 0;
7 references to MetadataToken
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DefinitionMap.cs (4)
126
=> MetadataTokens.EntityHandle(SourceToMetadataSymbolMatcher.MapDefinition(def)?.GetInternalSymbol()?.
MetadataToken
?? 0);
190
return (MethodDefinitionHandle)MetadataTokens.EntityHandle(peMethod.
MetadataToken
);
216
return (PropertyDefinitionHandle)MetadataTokens.EntityHandle(peProperty.
MetadataToken
);
242
return (EventDefinitionHandle)MetadataTokens.EntityHandle(peEvent.
MetadataToken
);
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (2)
24
Debug.Assert(oldMethod.
MetadataToken
!= 0);
37
=> MetadataTokens.MethodDefinitionHandle(_oldMethod.
MetadataToken
);
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
603
if (deletedClosureMethod.
MetadataToken
!= 0)