Skip to content

C# 7 revision of throw statement/expression - #1609

Merged
rpetrusha merged 1 commit into
dotnet:masterfrom
rpetrusha:throw-statement
Mar 7, 2017
Merged

rpetrusha merged 1 commit into
dotnet:masterfrom
rpetrusha:throw-statement

Conversation

@rpetrusha

Copy link
Copy Markdown
Contributor

C# 7 revision of throw statement/expression

Summary

Revised throw to cover its support as an expression in C# 7.

Fixes #1373

Details

In addition to documenting throw as an expression, I made the following changes:

  • Migrated existing code to the samples/snippets directory instead of a subdirectory of the document's directory.
  • Added more detail on throw and exception handling, including re-throwing an exception.

Suggested Reviewers

@BillWagner

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rpetrusha I read through everything, and I like the additions you've made. Let's :shipit:

@rpetrusha
rpetrusha merged commit a54c7f2 into dotnet:master Mar 7, 2017
@rpetrusha
rpetrusha deleted the throw-statement branch March 7, 2017 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants