12 references to GetMetadata
Microsoft.CodeAnalysis (2)
Compilation\DeterministicKeyBuilder.cs (1)
294switch (peReference.GetMetadata())
MetadataReference\PortableExecutableReference.cs (1)
175/// This will be equivalent to calling <see cref="GetMetadata()"/>.<see cref="Metadata.Id"/>,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\DefaultInterfaceImplementationTests.cs (1)
62579AssemblyIdentity assemblyIdentity = ((AssemblyMetadata)reference.GetMetadata()).GetAssembly().Identity;
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\MetadataReferenceExtensions.cs (1)
30switch (peReference.GetMetadata())
TargetFrameworkUtil.cs (1)
380p.GetMetadata() is AssemblyMetadata assemblyMetadata)
Microsoft.CodeAnalysis.UnitTests (4)
MetadataReferences\MetadataReferenceTests.cs (4)
133Assert.IsAssignableFrom<AssemblyMetadata>(r.GetMetadata()); 149Assert.IsAssignableFrom<ModuleMetadata>(r.GetMetadata()); 165Assert.IsAssignableFrom<AssemblyMetadata>(r.GetMetadata()); 188Assert.IsAssignableFrom<ModuleMetadata>(r.GetMetadata());
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
86return reference.GetMetadata();
Serialization\SerializerService_Reference.cs (1)
495return reference.GetMetadata();
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
195=> ((PortableExecutableReference)metadataReference).GetMetadata();