1 write to _compilation
Microsoft.CodeAnalysis.CSharp (1)
Compiler\MethodCompiler.cs (1)
95
_compilation
= compilation;
28 references to _compilation
Microsoft.CodeAnalysis.CSharp (28)
Compiler\MethodCompiler.cs (28)
374
if (
_compilation
.Options.ConcurrentBuild)
420
if (
_compilation
.Options.ConcurrentBuild)
450
var compilationState = new TypeCompilationState(containingType,
_compilation
, _moduleBeingBuiltOpt);
473
var synthesizedSubmissionFields = containingType.IsSubmissionClass ? new SynthesizedSubmissionFields(
_compilation
, containingType) : null;
482
Binder.BindFieldInitializers(
_compilation
, scriptInitializer, sourceTypeSymbol.StaticInitializers, _diagnostics, ref processedStaticInitializers);
485
Binder.BindFieldInitializers(
_compilation
, scriptInitializer, sourceTypeSymbol.InstanceInitializers, _diagnostics, ref processedInstanceInitializers);
617
_compilation
.LanguageVersion >= MessageID.IDS_FeatureNullableReferenceTypes.RequiredVersion() &&
622
this.
_compilation
,
669
var compilationState = new TypeCompilationState(null,
_compilation
, _moduleBeingBuiltOpt);
688
var compilationState = new TypeCompilationState(additionalType,
_compilation
, _moduleBeingBuiltOpt);
901
if (diagsWritten && !methodSymbol.IsImplicitlyDeclared &&
_compilation
.EventQueue != null)
903
_compilation
.SymbolDeclaredEvent(methodSymbol);
976
_compilation
,
988
DefiniteAssignmentPass.Analyze(
_compilation
, methodSymbol, initializerStatements, unusedDiagnostics, out _, requireOutParamsAssigned: false);
989
DiagnosticsPass.IssueDiagnostics(
_compilation
, initializerStatements, BindingDiagnosticBag.Discarded, methodSymbol);
1003
RefSafetyAnalysis.Analyze(
_compilation
, methodSymbol,
1048
DefiniteAssignmentPass.Analyze(
_compilation
, methodSymbol, analyzedInitializers, diagsForCurrentMethod.DiagnosticBag, out _, requireOutParamsAssigned: false);
1066
DefiniteAssignmentPass.Analyze(
_compilation
, methodSymbol, analyzedInitializers, diagsForCurrentMethod.DiagnosticBag, out _, requireOutParamsAssigned: false);
1067
DiagnosticsPass.IssueDiagnostics(
_compilation
, analyzedInitializers, diagsForCurrentMethod, methodSymbol);
1093
DiagnosticsPass.IssueDiagnostics(
_compilation
, body, diagsForCurrentMethod, methodSymbol);
1111
_compilation
.RegisterPossibleUpcomingEventEnqueue();
1118
if (diagsWritten && !methodSymbol.IsImplicitlyDeclared &&
_compilation
.EventQueue != null)
1125
_compilation
.SemanticModelProvider is CachingSemanticModelProvider cachingSemanticModelProvider)
1128
semanticModelWithCachedBoundNodes = (SyntaxTreeSemanticModel)cachingSemanticModelProvider.GetSemanticModel(syntax.SyntaxTree,
_compilation
);
1139
_compilation
.EventQueue.TryEnqueue(new SymbolDeclaredCompilationEvent(
1140
_compilation
, methodSymbol, semanticModelWithCachedBoundNodes));
1145
_compilation
.UnregisterPossibleUpcomingEventEnqueue();
1218
boundStatements = MethodBodySynthesizer.ConstructScriptConstructorBody(loweredBodyOpt, methodSymbol, previousSubmissionFields,
_compilation
);