1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Lowering\MethodToClassRewriter.cs (1)
63
this.
Diagnostics
= diagnostics;
10 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (10)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
631
onCompleted.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(F.Compilation, F.Compilation.Conversions, includeNullability: false, F.Syntax.Location, this.
Diagnostics
));
Lowering\ClosureConversion\ClosureConversion.cs (5)
355
MethodCompiler.BindSynthesizedMethodBody(frame.Constructor, CompilationState,
Diagnostics
),
444
translatedLambdaContainer = containerAsFrame = GetStaticFrame(
Diagnostics
, syntax);
1628
var result0 = wasInExpressionLambda ? node : ExpressionLambdaRewriter.RewriteLambda(node, CompilationState, TypeMap, RecursionDepth,
Diagnostics
);
1685
var F = new SyntheticBoundNodeFactory(_currentMethod, node.Syntax, CompilationState,
Diagnostics
);
1730
Diagnostics
.Add(ex.Diagnostic);
Lowering\MethodToClassRewriter.cs (2)
368
wrapper.GenerateMethodBody(this.CompilationState, this.
Diagnostics
);
527
SyntheticBoundNodeFactory factory = new SyntheticBoundNodeFactory(this.CurrentMethod, rewrittenLeft.Syntax, this.CompilationState, this.
Diagnostics
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
695
F.ModuleBuilderOpt.Translate(fieldType, awaitSyntaxOpt,
Diagnostics
.DiagnosticBag),
698
Diagnostics
.DiagnosticBag,