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); 11018ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInArgument, 12265ReportDiagnostic(isValueType ? ErrorCode.WRN_NullableValueTypeMayBeNull : ErrorCode.WRN_NullReferenceReceiver, syntax); 12419ReportDiagnostic(ErrorCode.WRN_ThrowPossibleNull, expr.Syntax);