6 references to ReportDiagnostic
Microsoft.CodeAnalysis.CSharp (6)
FlowAnalysis\NullableWalker.cs (6)
2705
ReportDiagnostic
(ErrorCode.WRN_NullabilityMismatchInAssignment, syntaxNode, sourceType, destinationType);
4781
ReportDiagnostic
(ErrorCode.WRN_NullReferenceInitializer, initializer.Syntax, symbol);
12218
ReportDiagnostic
(ErrorCode.WRN_NullabilityMismatchInArgument,
13650
ReportDiagnostic
(isValueType ? ErrorCode.WRN_NullableValueTypeMayBeNull : ErrorCode.WRN_NullReferenceReceiver, syntax);
13804
ReportDiagnostic
(ErrorCode.WRN_ThrowPossibleNull, expr.Syntax);
13859
ReportDiagnostic
(ErrorCode.WRN_NullReferenceReceiver, argument.Syntax);