5 references to ReportDiagnostic
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (5)
2605ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInAssignment, syntaxNode, sourceType, destinationType); 4394ReportDiagnostic(ErrorCode.WRN_NullReferenceInitializer, initializer.Syntax, symbol); 10968ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInArgument, 12186ReportDiagnostic(isValueType ? ErrorCode.WRN_NullableValueTypeMayBeNull : ErrorCode.WRN_NullReferenceReceiver, syntax); 12340ReportDiagnostic(ErrorCode.WRN_ThrowPossibleNull, expr.Syntax);