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