18 references to WRN_ThrowPossibleNull
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
43nullableWarnings.Add(GetId(ErrorCode.WRN_ThrowPossibleNull)); 469case ErrorCode.WRN_ThrowPossibleNull: 1942or ErrorCode.WRN_ThrowPossibleNull
FlowAnalysis\NullableWalker.cs (1)
12777ReportDiagnostic(ErrorCode.WRN_ThrowPossibleNull, expr.Syntax);
Generated\ErrorFacts.Generated.cs (1)
193case ErrorCode.WRN_ThrowPossibleNull:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NullableReferenceTypesTests.cs (10)
4023Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(6, 24), 4026Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(7, 24), 4029Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "null").WithLocation(8, 15), 4032Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(13, 19), 4035Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "this").WithLocation(19, 15), 4038Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(24, 15), 4041Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(28, 15), 4110Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(20, 19), 4116Diagnostic(ErrorCode.WRN_ThrowPossibleNull, "e").WithLocation(29, 19), 88896Diagnostic(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)
377case ErrorCode.WRN_ThrowPossibleNull: