18 references to WRN_ThrowPossibleNull
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
43nullableWarnings.Add(GetId(ErrorCode.WRN_ThrowPossibleNull)); 456case ErrorCode.WRN_ThrowPossibleNull: 1885case ErrorCode.WRN_ThrowPossibleNull:
FlowAnalysis\NullableWalker.cs (1)
11065ReportDiagnostic(ErrorCode.WRN_ThrowPossibleNull, expr.Syntax);
Generated\ErrorFacts.Generated.cs (1)
193case ErrorCode.WRN_ThrowPossibleNull:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NullableReferenceTypesTests.cs (10)
4011Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(6, 24), 4014Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(7, 24), 4017Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(8, 15), 4020Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(13, 19), 4023Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "this").WithLocation(19, 15), 4026Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(24, 15), 4029Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(28, 15), 4098Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(20, 19), 4104Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(29, 19), 85207Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(36, 22),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\InterfaceImplementationTests.cs (2)
2485Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(7, 15), 2491Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(12, 15)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
355case ErrorCode.WRN_ThrowPossibleNull: