1 write to Diagnostic
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SyntheticBoundNodeFactory.cs (1)
38
this.
Diagnostic
= error;
32 references to Diagnostic
Microsoft.CodeAnalysis.CSharp (32)
Compiler\MethodBodySynthesizer.Lowered.cs (5)
124
diagnostics.Add(ex.
Diagnostic
);
217
diagnostics.Add(ex.
Diagnostic
);
256
diagnostics.Add(ex.
Diagnostic
);
289
diagnostics.Add(ex.
Diagnostic
);
338
diagnostics.Add(ex.
Diagnostic
);
Emitter\Model\SynthesizedPrivateImplementationDetailsStaticConstructor.cs (1)
70
diagnostics.Add(missing.
Diagnostic
);
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
94
diagnostics.Add(ex.
Diagnostic
);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1730
Diagnostics.Add(ex.
Diagnostic
);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
126
diagnostics.Add(ex.
Diagnostic
);
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
206
diagnostics.Add(ex.
Diagnostic
);
Lowering\LocalRewriter\LocalRewriter.cs (1)
170
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
44
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
44
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListMethod.cs (1)
33
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
74
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
136
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
183
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
81
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
176
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
122
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
46
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (1)
76
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
232
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
84
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayAsReadOnlySpanMethod.cs (1)
44
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayAsSpanMethod.cs (1)
42
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayElementRefMethod.cs (1)
44
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayElementRefReadOnlyMethod.cs (1)
46
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefMethod.cs (1)
40
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefReadOnlyMethod.cs (1)
42
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
40
diagnostics.Add(ex.
Diagnostic
);
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
41
diagnostics.Add(ex.
Diagnostic
);