1 type derived from MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
24Inherits MetadataDecoder
42 instantiations of MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (30)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
117Dim 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 (1)
268DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, PrimaryModule, _assembly.Handle, CompilerFeatureRequiredFeatures.None, 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)
359Dim fieldInfo As FieldInfo(Of TypeSymbol) = New MetadataDecoder(moduleSymbol, _containingType).DecodeFieldSignature(_handle) 439Return If(DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, containingModule, Handle, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(containingModule, _containingType)),
Symbols\Metadata\PE\PEMethodSymbol.vb (3)
983(New MetadataDecoder(moduleSymbol, Me)).GetSignatureForMethod(_handle, signatureHeader, mrEx) 1096Dim explicitlyOverriddenMethods = New MetadataDecoder( 1174Dim decoder As New MetadataDecoder(containingModule, Me)
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
492DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, Me, EntityHandle.ModuleDefinition, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(Me)),
Symbols\Metadata\PE\PENamedTypeSymbol.vb (5)
262Dim decodedType = New MetadataDecoder(moduleSymbol, Me).GetTypeOfToken(token) 283Dim tokenDecoder As New MetadataDecoder(moduleSymbol, Me) 1077Dim decoder As New MetadataDecoder(Me.ContainingPEModule) 1337Dim decoder = New MetadataDecoder(ContainingPEModule, Me) 1447Dim decoder = New MetadataDecoder(ContainingPEModule)
Symbols\Metadata\PE\PENamespaceSymbol.vb (1)
312Dim 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)
59Dim metadataDecoder = New MetadataDecoder(moduleSymbol, containingType) 564Dim decoder = New MetadataDecoder(containingModule, _containingType)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (4)
191tokenDecoder = New MetadataDecoder(moduleSymbol, containingMethod) 193tokenDecoder = New MetadataDecoder(moduleSymbol, containingType) 326New MetadataDecoder(containingModule, containingMethod), 327New MetadataDecoder(containingModule, DirectCast(ContainingSymbol, PENamedTypeSymbol)))
Symbols\ObsoleteAttributeHelpers.vb (1)
37obsoleteAttributeData = containingModule.Module.TryGetDeprecatedOrExperimentalOrObsoleteAttribute(token, New MetadataDecoder(containingModule), ignoreByRefLikeMarker:=False, ignoreRequiredMemberMarker:=False)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
Emit\CompilationEmitTests.vb (1)
3815Dim tokenDecoder = New MetadataDecoder(DirectCast([module], PEModuleSymbol), typeI)
Emit\EditAndContinue\SymbolMatcherTests.vb (3)
332Dim decoder0 = New MetadataDecoder(peModule0) 402Dim decoder0 = New MetadataDecoder(peModule0) 473Dim decoder0 = New MetadataDecoder(peModule0)
Emit\NoPiaEmbedTypes.vb (1)
1304Dim paramInfo = New MetadataDecoder(DirectCast([module], PEModuleSymbol), itest17).GetSignatureForMethod(gapMethodDef, signatureHeader:=signatureHeader, metadataException:=mrEx)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (5)
CompilationExtensions.vb (3)
19Dim metadataDecoder = New MetadataDecoder([module]) 31Dim metadataDecoder = New MetadataDecoder(DirectCast(method.ContainingModule, PEModuleSymbol)) 55Dim method = DirectCast(New MetadataDecoder([module], type).GetMethodSymbolForMethodDefOrMemberRef(methodHandle, type), PEMethodSymbol)
EvaluationContext.vb (1)
162Dim metadataDecoder = New MetadataDecoder(DirectCast(currentFrame.ContainingModule, PEModuleSymbol), currentFrame)
VisualBasicEESymbolProvider.vb (1)
22_metadataDecoder = New MetadataDecoder([module], method)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
WinMdTests.vb (1)
169Dim metadataDecoder = New MetadataDecoder([module])
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\RefFieldTests.vb (1)
156Dim decoder = New MetadataDecoder([module])
24 references to MetadataDecoder
Microsoft.CodeAnalysis.VisualBasic (21)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (2)
46Dim metadataDecoder = DirectCast(metadataSymbols.MetadataDecoder, MetadataDecoder) 128Friend Overloads Shared Function GetAnonymousTypeMapFromMetadata(reader As MetadataReader, metadataDecoder As MetadataDecoder) As IReadOnlyDictionary(Of AnonymousTypeKey, AnonymousTypeValue)
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (2)
23Private ReadOnly _metadataDecoder As MetadataDecoder 28metadataDecoder As MetadataDecoder,
Symbols\Attributes\PEAttributeData.vb (1)
21Private ReadOnly _decoder As MetadataDecoder
Symbols\Metadata\PE\PEMethodSymbol.vb (2)
755MetadataDecoder.GetSignatureCountsOrThrow(Me._containingType.ContainingPEModule.Module, Me._handle, paramCount, typeParamCount) 896MetadataDecoder.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)
87metadataDecoder As MetadataDecoder, 380metadataDecoder As MetadataDecoder, 625metadataDecoder As MetadataDecoder,
Symbols\Metadata\PE\PETypeParameterSymbol.vb (2)
189Dim tokenDecoder As MetadataDecoder 308Friend 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)
296result = MetadataDecoder.SubstituteNoPiaLocalType( 522If MetadataDecoder.IsOrClosedOverATypeFromAssemblies(oldArguments(i).Type, assembliesToEmbedTypesFrom) Then 532If MetadataDecoder.IsOrClosedOverATypeFromAssemblies(newArguments(i).Type, linkedAssemblies) Then
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (3)
EvaluationContext.vb (2)
512metadataDecoder As MetadataDecoder) 534Private Shared Function GetMethodSignatureString(metadataDecoder As MetadataDecoder, methodHandle As MethodDefinitionHandle) As String
VisualBasicEESymbolProvider.vb (1)
18Private ReadOnly _metadataDecoder As MetadataDecoder