8 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));
Roslyn.Diagnostics.CSharp.Analyzers (2)
CSharpDoNotUseDebugAssertForInterpolatedStrings.cs (1)
70
context.ReportDiagnostic(invocation.
CreateDiagnostic
(Rule));
PreferNullLiteral.cs (1)
78
context.ReportDiagnostic(context.Operation.
CreateDiagnostic
(Rule));