45 references to WRN_ParameterDisallowsNull
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
80nullableWarnings.Add(GetId(ErrorCode.WRN_ParameterDisallowsNull)); 480case ErrorCode.WRN_ParameterDisallowsNull: 1993case ErrorCode.WRN_ParameterDisallowsNull:
FlowAnalysis\NullableWalker.cs (1)
1174Diagnostics.Add(ErrorCode.WRN_ParameterDisallowsNull, location, parameter.Name);
Generated\ErrorFacts.Generated.cs (1)
244case ErrorCode.WRN_ParameterDisallowsNull:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (39)
Semantics\NullableReferenceTypesTests.cs (39)
27104Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("s").WithLocation(12, 5) 27537Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return NonConstantBool();").WithArguments("s").WithLocation(8, 9), 27540Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return NonConstantBool();").WithArguments("s").WithLocation(13, 9), 27543Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return NonConstantBool();").WithArguments("s").WithLocation(18, 9) 27596Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return true;").WithArguments("s").WithLocation(12, 17), 27599Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return false;").WithArguments("s").WithLocation(14, 17), 27602Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("s").WithLocation(20, 5) 30827Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("pOut").WithLocation(8, 5)); 36955Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("args").WithLocation(5, 61), 37527Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("x").WithLocation(26, 5), 37539Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("x").WithLocation(42, 5) 37598Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}", isSuppressed: false).WithArguments("x").WithLocation(24, 5), 37604Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return;", isSuppressed: false).WithArguments("x").WithLocation(39, 9) 37659Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("x").WithLocation(23, 5), 37733Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("x").WithLocation(26, 5), 37754Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("x").WithLocation(42, 5) 40522Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return true;").WithArguments("x").WithLocation(49, 13), 40525Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return false;").WithArguments("x").WithLocation(51, 9), 40629Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return true;").WithArguments("x").WithLocation(50, 21), 40632Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "return false;").WithArguments("x").WithLocation(52, 17), 40658Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("i").WithLocation(10, 5), 40661Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("s").WithLocation(10, 5) 40702Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("i").WithLocation(10, 130), 40705Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("s").WithLocation(10, 130) 42803Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("t7").WithLocation(48, 5), 46115Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("t2").WithLocation(4, 57), 46118Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("t2").WithLocation(8, 76), 46168Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("t").WithLocation(4, 55), 46171Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("t").WithLocation(5, 56), 145372Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(9, 70), 145375Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(14, 70)); 145419Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(9, 74), 145422Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(14, 74)); 145444Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(5, 64), 145450Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(6, 63), 145453Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(7, 55), 145456Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(9, 58) 145501Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(9, 74), 145504Diagnostic(ErrorCode.WRN_ParameterDisallowsNull, "}").WithArguments("y").WithLocation(14, 74));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
377case ErrorCode.WRN_ParameterDisallowsNull: