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