1 type derived from MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
24Inherits MetadataDecoder
32 instantiations of MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (32)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
123Dim metadataDecoder = New MetadataDecoder(metadataAssembly.PrimaryModule)
Symbols\Attributes\PEAttributeData.vb (1)
33_decoder = New MetadataDecoder(moduleSymbol)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
29MyBase.New(moduleSymbol, TryCast(containingType, PENamedTypeSymbol))
Symbols\Metadata\PE\MetadataDecoder.vb (3)
35Me.New(moduleSymbol, context, Nothing) 42Me.New(moduleSymbol, DirectCast(context.ContainingType, PENamedTypeSymbol), context) 48Me.New(moduleSymbol, Nothing, Nothing)
Symbols\Metadata\PE\PEAssemblySymbol.vb (2)
286DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, PrimaryModule, _assembly.Handle, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(PrimaryModule)), 307Dim experimentalData = PrimaryModule.Module.TryDecodeExperimentalAttributeData(Assembly.Handle, New MetadataDecoder(PrimaryModule))
Symbols\Metadata\PE\PEEventSymbol.vb (2)
84Dim metadataDecoder = New MetadataDecoder(moduleSymbol, containingType) 318New MetadataDecoder(containingModule, _containingType))
Symbols\Metadata\PE\PEFieldSymbol.vb (2)
372Dim fieldInfo As FieldInfo(Of TypeSymbol) = New MetadataDecoder(moduleSymbol, _containingType).DecodeFieldSignature(_handle) 452Return If(DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, containingModule, Handle, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(containingModule, _containingType)),
Symbols\Metadata\PE\PEMethodSymbol.vb (3)
1058(New MetadataDecoder(moduleSymbol, Me)).GetSignatureForMethod(_handle, signatureHeader, mrEx) 1181Dim explicitlyOverriddenMethods = New MetadataDecoder( 1260Dim decoder As New MetadataDecoder(containingModule, Me)
Symbols\Metadata\PE\PEModuleSymbol.vb (2)
518DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, Me, EntityHandle.ModuleDefinition, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(Me)), 540Dim experimentalData = _module.TryDecodeExperimentalAttributeData(EntityHandle.ModuleDefinition, New MetadataDecoder(Me))
Symbols\Metadata\PE\PENamedTypeSymbol.vb (5)
262Dim decodedType = New MetadataDecoder(moduleSymbol, Me).GetTypeOfToken(token) 283Dim tokenDecoder As New MetadataDecoder(moduleSymbol, Me) 1094Dim decoder As New MetadataDecoder(Me.ContainingPEModule) 1374Dim decoder = New MetadataDecoder(ContainingPEModule, Me) 1484If Me.ContainingPEModule.Module.HasAttributeUsageAttribute(_handle, New MetadataDecoder(ContainingPEModule), result) Then
Symbols\Metadata\PE\PENamespaceSymbol.vb (1)
318Dim result = DirectCast(New MetadataDecoder(ContainingPEModule).GetTypeOfToken(typeDef, isNoPiaLocalType), NamedTypeSymbol)
Symbols\Metadata\PE\PEParameterSymbol.vb (2)
669New MetadataDecoder(containingModule, containingMethod), 670New MetadataDecoder(containingModule, DirectCast(ContainingType, PENamedTypeSymbol)))
Symbols\Metadata\PE\PEPropertySymbol.vb (2)
63Dim metadataDecoder = New MetadataDecoder(moduleSymbol, containingType) 582Dim decoder = New MetadataDecoder(containingModule, _containingType)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (4)
207tokenDecoder = New MetadataDecoder(moduleSymbol, containingMethod) 209tokenDecoder = New MetadataDecoder(moduleSymbol, containingType) 392New MetadataDecoder(containingModule, containingMethod), 393New MetadataDecoder(containingModule, DirectCast(ContainingSymbol, PENamedTypeSymbol)))
Symbols\ObsoleteAttributeHelpers.vb (1)
36obsoleteAttributeData = containingModule.Module.TryGetDeprecatedOrExperimentalOrObsoleteAttribute(token, New MetadataDecoder(containingModule), ignoreByRefLikeMarker:=False, ignoreRequiredMemberMarker:=True)
22 references to MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (22)
Emit\EditAndContinue\EmitHelpers.vb (1)
63Dim metadataDecoder = DirectCast(metadataSymbols.MetadataDecoder, MetadataDecoder)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
132Friend Overloads Shared Function GetSynthesizedTypesFromMetadata(reader As MetadataReader, metadataDecoder As MetadataDecoder) As SynthesizedTypeMaps
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (2)
23Private ReadOnly _metadataDecoder As MetadataDecoder 29metadataDecoder As MetadataDecoder,
Symbols\Attributes\PEAttributeData.vb (1)
21Private ReadOnly _decoder As MetadataDecoder
Symbols\Metadata\PE\PEMethodSymbol.vb (2)
810MetadataDecoder.GetSignatureCountsOrThrow(Me._containingType.ContainingPEModule.Module, Me._handle, paramCount, typeParamCount) 971MetadataDecoder.GetSignatureCountsOrThrow(Me._containingType.ContainingPEModule.Module, Me._handle, paramCount, typeParamCount)
Symbols\Metadata\PE\PEModuleSymbol.vb (3)
56''' It is used by <see cref="MetadataDecoder"/> to speed up type reference resolution 64''' It is used by <see cref="MetadataDecoder"/> to speed-up type reference resolution 66''' by <see cref="MetadataDecoder"/> as we resolve TypeRefs from the module.
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
660Friend Function DeriveCompilerFeatureRequiredDiagnostic(decoder As MetadataDecoder) As DiagnosticInfo
Symbols\Metadata\PE\PEPropertySymbol.vb (3)
91metadataDecoder As MetadataDecoder, 398metadataDecoder As MetadataDecoder, 653metadataDecoder As MetadataDecoder,
Symbols\Metadata\PE\PETypeParameterSymbol.vb (3)
205Dim tokenDecoder As MetadataDecoder 243tokenDecoder As MetadataDecoder, 374Friend Function DeriveCompilerFeatureRequiredDiagnostic(decoder As MetadataDecoder) As DiagnosticInfo
Symbols\Metadata\PE\PEUtilities.vb (1)
8Friend Function DeriveCompilerFeatureRequiredAttributeDiagnostic(symbol As Symbol, [module] As PEModuleSymbol, handle As System.Reflection.Metadata.EntityHandle, allowedFeatures As CompilerFeatureRequiredFeatures, decoder As MetadataDecoder) As DiagnosticInfo
Symbols\Metadata\PE\SymbolFactory.vb (1)
111MetadataDecoder.IsOrClosedOverATypeFromAssemblies(arguments(i).Key, linkedAssemblies)) Then
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
293result = MetadataDecoder.SubstituteNoPiaLocalType( 519If MetadataDecoder.IsOrClosedOverATypeFromAssemblies(oldArguments(i).Type, assembliesToEmbedTypesFrom) Then 529If MetadataDecoder.IsOrClosedOverATypeFromAssemblies(newArguments(i).Type, linkedAssemblies) Then