2 instantiations of VisualBasicMetadataContext
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
VisualBasicExpressionCompiler.vb (1)
193assemblyContexts.SetItem(contextId, New VisualBasicMetadataContext(context.Compilation, context))),
VisualBasicInstructionDecoder.vb (1)
109assemblyContexts.SetItem(contextId, New VisualBasicMetadataContext(compilation))),
16 references to VisualBasicMetadataContext
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (16)
EvaluationContext.vb (1)
108previous As VisualBasicMetadataContext,
VisualBasicExpressionCompiler.vb (11)
35Friend Delegate Function GetMetadataContextDelegate(Of TAppDomain)(appDomain As TAppDomain) As MetadataContext(Of VisualBasicMetadataContext) 36Friend Delegate Sub SetMetadataContextDelegate(Of TAppDomain)(appDomain As TAppDomain, metadataContext As MetadataContext(Of VisualBasicMetadataContext), report As Boolean) 47Function(ad) ad.GetMetadataContext(Of VisualBasicMetadataContext)(), 76Dim previousMetadataContext As VisualBasicMetadataContext = Nothing 113Function(ad) ad.GetMetadataContext(Of VisualBasicMetadataContext)(), 114Sub(ad, mc, report) ad.SetMetadataContext(Of VisualBasicMetadataContext)(mc, report), 160Dim assemblyContexts = If(previous.Matches(metadataBlocks), previous.AssemblyContexts, ImmutableDictionary(Of MetadataContextId, VisualBasicMetadataContext).Empty) 161Dim previousMetadataContext As VisualBasicMetadataContext = Nothing 191New MetadataContext(Of VisualBasicMetadataContext)( 201appDomain.RemoveMetadataContext(Of VisualBasicMetadataContext)() 205Dim previous = appDomain.GetMetadataContext(Of VisualBasicMetadataContext)()
VisualBasicInstructionDecoder.vb (4)
94Dim previous = appDomain.GetMetadataContext(Of VisualBasicMetadataContext)() 99Dim assemblyContexts = If(previous.Matches(metadataBlocks), previous.AssemblyContexts, ImmutableDictionary(Of MetadataContextId, VisualBasicMetadataContext).Empty) 100Dim previousContext As VisualBasicMetadataContext = Nothing 107New MetadataContext(Of VisualBasicMetadataContext)(