6 implementations of MetadataToken
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
218public int MetadataToken => 0;
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\PreprocessingSymbol.cs (1)
106int ISymbol.MetadataToken => 0;
Symbols\PublicModel\Symbol.cs (1)
203int ISymbol.MetadataToken => UnderlyingSymbol.MetadataToken;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
69public int MetadataToken => _symbol.MetadataToken;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
69Public Overridable ReadOnly Property MetadataToken As Integer Implements ISymbol.MetadataToken, ISymbolInternal.MetadataToken
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
218public int MetadataToken => 0;
13 references to MetadataToken
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Metadata\PE\LoadingMetadataTokens.cs (1)
105Assert.Equal(0, assembly.MetadataToken);
Microsoft.CodeAnalysis.Features (3)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
69public int MetadataToken => _symbol.MetadataToken;
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (2)
121var handle = MetadataTokens.EntityHandle(symbolToFind.MetadataToken); 170handle = MetadataTokens.EntityHandle(newSymbol.MetadataToken);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
69Public Overridable ReadOnly Property MetadataToken As Integer Implements ISymbol.MetadataToken, ISymbolInternal.MetadataToken
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Metadata\PE\LoadingMetadataTokens.vb (1)
99Assert.Equal(0, assembly.MetadataToken)
SemanticSearch.BuildTask (7)
GenerateFilteredReferenceAssembliesTask.cs (7)
211if (type.MetadataToken != 0) 219if (method.MetadataToken != 0) 226if (field.MetadataToken != 0) 305types.OrderBy(t => t.MetadataToken).ToImmutableArray(), 312methods.OrderBy(t => t.MetadataToken).ToImmutableArray(), 319fields.OrderBy(t => t.MetadataToken).ToImmutableArray(), 349=> (symbolIndex < symbols.Length && symbols[symbolIndex].MetadataToken == MetadataTokens.GetToken(handle)) ? symbols[symbolIndex++] : null;