9 references to WRN_UnreachableGeneralCatch
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
3334Error(diagnostics, ErrorCode.WRN_UnreachableGeneralCatch, node.CatchKeyword);
Errors\ErrorFacts.cs (2)
345case ErrorCode.WRN_UnreachableGeneralCatch: 1179or ErrorCode.WRN_UnreachableGeneralCatch
Generated\ErrorFacts.Generated.cs (1)
67case ErrorCode.WRN_UnreachableGeneralCatch:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTryFinally.cs (2)
3068Diagnostic(ErrorCode.WRN_UnreachableGeneralCatch, "catch").WithLocation(7, 9)); 3089Diagnostic(ErrorCode.WRN_UnreachableGeneralCatch, "catch").WithLocation(9, 9));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Assembly.cs (1)
1899Diagnostic(ErrorCode.WRN_UnreachableGeneralCatch, "catch"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
21666Diagnostic(ErrorCode.WRN_UnreachableGeneralCatch, "catch").WithLocation(8, 9), 21667Diagnostic(ErrorCode.WRN_UnreachableGeneralCatch, "catch").WithLocation(12, 9));