Skip to content

Commit

Permalink
remove merge conflict markers
Browse files Browse the repository at this point in the history
These snuck in during a merge conflict.
  • Loading branch information
BillWagner authored Nov 30, 2020
1 parent 64f25ea commit 1b961c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions standard/statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -1113,11 +1113,7 @@ A `catch` clause that specifies neither an exception type nor an exception varia
> *Note*: Some programming languages might support exceptions that are not representable as an object derived from `System.Exception`, although such exceptions could never be generated by C# code. A general `catch` clause might be used to catch such exceptions. Thus, a general `catch` clause is semantically different from one that specifies the type `System.Exception`, in that the former might also catch exceptions from other languages. *end note*
<<<<<<< HEAD
In order to locate a handler for an exception, `catch` clauses are examined in lexical order. A compile-time error occurs if a `catch` clause specifies a type that is the same as, or is derived from, a type that was specified in an earlier `catch` clause for the same try.
=======
In order to locate a handler for an exception, `catch` clauses are examined in lexical order. If a `catch` clause specifies a type but no exception filter, it is a compile-time error for a later `catch` clause in the same `try` statement to specify a type that is the same as, or is derived from, that type. If a `catch` clause specifies no type and no filter, it shall be the last `catch` clause for that `try` statement.
>>>>>>> 8d415d3... feature exception filters
> *Note*: Without this restriction, it would be possible to write unreachable `catch` clauses. *end note*
Expand Down

0 comments on commit 1b961c3

Please sign in to comment.