6 references to CreateDiagnostic
Roslyn.Diagnostics.Analyzers (6)
AbstractDoNotCopyValue.cs (4)
1110
_context.ReportDiagnostic(returnedValue.
CreateDiagnostic
(NoReturnValueFromReferenceRule, returnedValue.Type));
1131
_context.ReportDiagnostic(value.
CreateDiagnostic
(NoAssignValueFromReferenceRule, value.Type));
1289
_context.ReportDiagnostic(initializer.
CreateDiagnostic
(NoAssignValueFromReferenceRule, symbol.Type));
1316
_context.ReportDiagnostic(initializer.
CreateDiagnostic
(NoAssignValueFromReferenceRule, operation.Symbol.Type));
TemporaryArrayAsRefAnalyzer.cs (2)
65
context.ReportDiagnostic(invocation.
CreateDiagnostic
(Rule));
72
context.ReportDiagnostic(invocation.
CreateDiagnostic
(Rule));