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