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