1 write to Compilation
Microsoft.CodeAnalysis.CSharp (1)
Compiler\TypeCompilationState.cs (1)
84
this.
Compilation
= compilation;
8 references to Compilation
Microsoft.CodeAnalysis.CSharp (8)
Compiler\MethodCompiler.cs (2)
1925
compilationState.
Compilation
,
1969
return NullableWalker.GetAfterInitializersState(compilationState.
Compilation
, method, initializersBody, body, diagnostics);
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
74
var typeKind = (compilationState.
Compilation
.Options.EnableEditAndContinue || method.IsIterator) ? TypeKind.Class : TypeKind.Struct;
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
95
if (compilationState.
Compilation
.Options.OptimizationLevel == OptimizationLevel.Release)
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
141
if (compilationState.
Compilation
.ShouldEmitNullableAttributes(this))
Lowering\LocalRewriter\LocalRewriter.cs (1)
404
if (_factory.CompilationState.
Compilation
.ShouldEmitNullableAttributes(localFunction))
Lowering\SyntheticBoundNodeFactory.cs (1)
44
public CSharpCompilation Compilation { get { return CompilationState.
Compilation
; } }
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
130
BoundBlock body = CSharp.MethodBodySynthesizer.ConstructFieldLikeEventAccessorBody(fieldLikeEvent, isAddMethod: MethodKind == MethodKind.EventAdd, compilationState.
Compilation
, diagnostics);