19 references to WRN_FilterIsConstantFalseRedundantTryCatch
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
3377? ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch
Errors\ErrorFacts.cs (2)
420case ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch: 1875or ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch
Generated\ErrorFacts.Generated.cs (1)
180case ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenTryFinally.cs (6)
4088Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(9, 21), 4106Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(9, 21), 4152Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(9, 48), 4169Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(9, 48), 4215Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "true ? false : true").WithLocation(9, 21), 4233Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "true ? false : true").WithLocation(9, 21),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_TryCatch.cs (1)
4742Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(12, 25)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\ImplicitObjectCreationTests.cs (1)
2708Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "new()").WithLocation(9, 21)
Semantics\SemanticErrorTests.cs (3)
5671Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(10, 25)); 5693Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "(1+1)!=2").WithLocation(10, 25)); 5826Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "false").WithLocation(10, 33),
Semantics\TargetTypedDefaultTests.cs (3)
1981Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "default").WithLocation(15, 40), 2011Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "default").WithLocation(10, 40), 2057Diagnostic(ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch, "default").WithLocation(26, 40),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
271case ErrorCode.WRN_FilterIsConstantFalseRedundantTryCatch: