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