1 write to Diagnostic
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SyntheticBoundNodeFactory.cs (1)
36this.Diagnostic = error;
25 references to Diagnostic
Microsoft.CodeAnalysis.CSharp (25)
Compiler\MethodBodySynthesizer.Lowered.cs (5)
124diagnostics.Add(ex.Diagnostic); 217diagnostics.Add(ex.Diagnostic); 256diagnostics.Add(ex.Diagnostic); 289diagnostics.Add(ex.Diagnostic); 338diagnostics.Add(ex.Diagnostic);
Emitter\Model\SynthesizedPrivateImplementationDetailsStaticConstructor.cs (1)
70diagnostics.Add(missing.Diagnostic);
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
94diagnostics.Add(ex.Diagnostic);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1702Diagnostics.Add(ex.Diagnostic);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
128diagnostics.Add(ex.Diagnostic);
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
206diagnostics.Add(ex.Diagnostic);
Lowering\LocalRewriter\LocalRewriter.cs (1)
149diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
83diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
141diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
177diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
81diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
182diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
124diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
51diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (1)
78diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
232diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
87diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
40diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedThrowIfNullMethod.cs (1)
55diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedThrowMethod.cs (1)
39diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
41diagnostics.Add(ex.Diagnostic);