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