1 write to Diagnostic
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SyntheticBoundNodeFactory.cs (1)
38this.Diagnostic = error;
32 references to Diagnostic
Microsoft.CodeAnalysis.CSharp (32)
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)
1730Diagnostics.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)
170diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
44diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
44diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListMethod.cs (1)
33diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
74diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
136diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
181diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
81diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
176diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
122diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
46diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (1)
76diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
232diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
84diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayAsReadOnlySpanMethod.cs (1)
44diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayAsSpanMethod.cs (1)
42diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayElementRefMethod.cs (1)
44diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayElementRefReadOnlyMethod.cs (1)
46diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefMethod.cs (1)
40diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefReadOnlyMethod.cs (1)
42diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
40diagnostics.Add(ex.Diagnostic);
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
41diagnostics.Add(ex.Diagnostic);