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