Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-work InterceptionResult per API review feedback #16661

Merged
merged 1 commit into from
Jul 19, 2019

Conversation

ajcvickers
Copy link
Contributor

Specifically, not using Nullable anymore and instead being explicit about suppression/result.

/// </para>
/// <exception cref="InvalidOperationException"> when <see cref="Result" /> is false. </exception>
/// </summary>
public TResult Result
Copy link
Member

Choose a reason for hiding this comment

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

This can be a single-line expression-bodied property with a conditional expression.

Specifically, not using `Nullable` anymore and instead being explicit about suppression/result.
@ajcvickers ajcvickers force-pushed the CuzYouAllHateMyStruct0718 branch from ed67046 to 5a670e3 Compare July 19, 2019 21:56
@ajcvickers
Copy link
Contributor Author

Pushed the wrong branch this morning; should be good now.

@ajcvickers ajcvickers merged commit b0881ef into master Jul 19, 2019
@ghost ghost deleted the CuzYouAllHateMyStruct0718 branch July 19, 2019 23:11
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