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