1 write to _moduleBeingBuiltOpt
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\MethodCompiler.vb (1)
99_moduleBeingBuiltOpt = moduleBeingBuiltOpt
37 references to _moduleBeingBuiltOpt
Microsoft.CodeAnalysis.VisualBasic (37)
Compilation\MethodCompiler.vb (37)
115Debug.Assert(_moduleBeingBuiltOpt IsNot Nothing) 116_lazyDebugDocumentProvider = Function(path As String, basePath As String) _moduleBeingBuiltOpt.DebugDocumentsBuilder.GetOrAddDebugDocument(path, basePath, AddressOf CreateDebugDocumentForFile) 415Dim compilationState As TypeCompilationState = New TypeCompilationState(_compilation, _moduleBeingBuiltOpt, initializeComponentOpt:=Nothing) 582Dim compilationState As TypeCompilationState = New TypeCompilationState(_compilation, _moduleBeingBuiltOpt, initializeComponent) 632If _moduleBeingBuiltOpt IsNot Nothing Then 633_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, sharedDefaultConstructor.GetCciAdapter()) 726If DoLoweringPhase AndAlso _moduleBeingBuiltOpt IsNot Nothing Then 752If synthesizedSubmissionFields IsNot Nothing AndAlso _moduleBeingBuiltOpt IsNot Nothing Then 753synthesizedSubmissionFields.AddToType(containingType, _moduleBeingBuiltOpt) 780If _moduleBeingBuiltOpt IsNot Nothing Then 844_moduleBeingBuiltOpt.AddSynthesizedDefinition(method.ContainingType, DirectCast(matchingStub.GetCciAdapter(), Microsoft.Cci.IMethodDefinition)) 878Debug.Assert(_moduleBeingBuiltOpt IsNot Nothing) 880Dim compilationState As New TypeCompilationState(_compilation, _moduleBeingBuiltOpt, initializeComponentOpt:=Nothing) 888Dim emittedBody = GenerateMethodBody(_moduleBeingBuiltOpt, 910_moduleBeingBuiltOpt.SetMethodBody(method, emittedBody) 922Debug.Assert(_moduleBeingBuiltOpt IsNot Nothing) 929Dim compilationState As New TypeCompilationState(_compilation, _moduleBeingBuiltOpt, initializeComponentOpt:=Nothing) 947Dim instrumentation = _moduleBeingBuiltOpt.GetMethodBodyInstrumentations(method) 966allowOmissionOfConditionalCalls:=_moduleBeingBuiltOpt.AllowOmissionOfConditionalCalls, 975emittedBody = GenerateMethodBody(_moduleBeingBuiltOpt, 1001_moduleBeingBuiltOpt.SetMethodBody(method, emittedBody) 1024Debug.Assert(_moduleBeingBuiltOpt IsNot Nothing) 1035Dim emittedBody = GenerateMethodBody(_moduleBeingBuiltOpt, 1058_moduleBeingBuiltOpt.SetMethodBody(method, emittedBody) 1352Debug.Assert(_moduleBeingBuiltOpt Is Nothing OrElse _moduleBeingBuiltOpt.AllowOmissionOfConditionalCalls) 1378_moduleBeingBuiltOpt.AddSynthesizedDefinition(containingType, getter.GetCciAdapter()) 1387Dim methodInstrumentations = _moduleBeingBuiltOpt.GetMethodBodyInstrumentations(setter) 1420_moduleBeingBuiltOpt.AddSynthesizedDefinition(containingType, setter.GetCciAdapter()) 1423_moduleBeingBuiltOpt.AddSynthesizedDefinition(containingType, prop.GetCciAdapter()) 1499Dim allowOmissionOfConditionalCalls = _moduleBeingBuiltOpt Is Nothing OrElse _moduleBeingBuiltOpt.AllowOmissionOfConditionalCalls 1506Dim instrumentation = If(_moduleBeingBuiltOpt IsNot Nothing, _moduleBeingBuiltOpt.GetMethodBodyInstrumentations(method), Nothing) 1536If _moduleBeingBuiltOpt Is Nothing OrElse hasErrors Then 1561Dim methodBody As MethodBody = GenerateMethodBody(_moduleBeingBuiltOpt, 1576_moduleBeingBuiltOpt.SetMethodBody(If(method.PartialDefinitionPart, method), methodBody)