1 write to CompilationState
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\SyntheticBoundNodeFactory.vb (1)
73Me.CompilationState = compilationState
15 references to CompilationState
Microsoft.CodeAnalysis.VisualBasic (15)
CodeGen\ResumableStateMachineStateAllocator.vb (3)
77Debug.Assert(f.CompilationState IsNot Nothing) 78Debug.Assert(f.CompilationState.ModuleBuilderOpt IsNot Nothing) 92DirectCast(f.CompilationState.ModuleBuilderOpt.GetOrCreateHotReloadExceptionConstructorDefinition(), MethodSymbol),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (1)
113If Me.SlotAllocatorOpt Is Nothing OrElse Not Me.SlotAllocatorOpt.TryGetPreviousAwaiterSlotIndex(F.CompilationState.ModuleBuilderOpt.Translate(awaiterType, F.Syntax, F.Diagnostics.DiagnosticBag), F.Diagnostics.DiagnosticBag, slotIndex) Then
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
290F.CompilationState,
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
430Dim statementFactory As New SyntheticBoundNodeFactory(_methodBodyFactory.TopLevelMethod, _method, original.Syntax, _methodBodyFactory.CompilationState, _diagnostics)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
85MyBase.New(slotAllocatorOpt, F.CompilationState, diagnostics, preserveOriginalLocals:=False)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (3)
100Me.F.CompilationState.StateMachineImplementationClass(Me.Method) = Me.StateMachineType 110Dim variablesToHoist = IteratorAndAsyncCaptureWalker.Analyze(New FlowAnalysisInfo(F.CompilationState.Compilation, Me.Method, Me.Body), Me.Diagnostics.DiagnosticBag) 306F.CompilationState.ModuleBuilderOpt.Translate(fieldType, declaratorSyntax, Diagnostics.DiagnosticBag),
Lowering\SyntheticBoundNodeFactory.vb (5)
48Return Me.CompilationState.Compilation 63Return If(Me.CompilationState IsNot Nothing, Me.CompilationState.ModuleBuilderOpt, Nothing) 267useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(GetDiagnosticForMissingRuntimeHelper(memberDescriptor.DeclaringTypeMetadataName, memberDescriptor.Name, CompilationState.Compilation.Options.EmbedVbCoreRuntime)) 1130CompilationState.AddSynthesizedMethod(Me.CurrentMethod, body, stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)