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)
65context.ReportDiagnostic(invocation.CreateDiagnostic(Rule)); 72context.ReportDiagnostic(invocation.CreateDiagnostic(Rule));