13 references to MetadataDecoder
Microsoft.CodeAnalysis.CSharp (13)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
103var metadataDecoder = new MetadataDecoder(metadataAssembly.PrimaryModule);
Symbols\Attributes\PEAttributeData.cs (1)
29_decoder = new MetadataDecoder(moduleSymbol);
Symbols\Metadata\PE\PEAssemblySymbol.cs (2)
313PEUtilities.DeriveCompilerFeatureRequiredAttributeDiagnostic(this, PrimaryModule, this.Assembly.Handle, CompilerFeatureRequiredFeatures.None, new MetadataDecoder(PrimaryModule)), 329var experimentalData = PrimaryModule.Module.TryDecodeExperimentalAttributeData(Assembly.Handle, new MetadataDecoder(PrimaryModule));
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
356var decoder = new MetadataDecoder(containingPEModule);
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1609var unmanagedCallersOnlyData = containingModule.Module.TryGetUnmanagedCallersOnlyAttribute(_handle, new MetadataDecoder(containingModule),
Symbols\Metadata\PE\PEModuleSymbol.cs (3)
454return new MetadataDecoder(this).GetTypeSymbolForSerializedType(typeName); 833PEUtilities.DeriveCompilerFeatureRequiredAttributeDiagnostic(this, this, Token, CompilerFeatureRequiredFeatures.None, new MetadataDecoder(this)), 877var experimentalData = _module.TryDecodeExperimentalAttributeData(Token, new MetadataDecoder(this));
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2422if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(_handle, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info)) 2526var decoder = new MetadataDecoder(ContainingPEModule);
Symbols\Metadata\PE\PENamespaceSymbol.cs (1)
339var result = (NamedTypeSymbol)new MetadataDecoder(ContainingPEModule).GetTypeOfToken(typeDef, out bool isNoPiaLocalType);
Symbols\ObsoleteAttributeHelpers.cs (1)
46var obsoleteAttributeData = containingModule.Module.TryGetDeprecatedOrExperimentalOrObsoleteAttribute(token, new MetadataDecoder(containingModule), ignoreByRefLikeMarker, ignoreRequiredMemberMarker);