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

Add more details on pattern binding #43574

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 14, 2024

  1. Add more details on pattern binding

    Fixes dotnet#43177
    
    We've had feedback that indicates confusion on how C# parses patterns with multiple `and`, `not`, and `or` patterns. Add more examples that demonstrates the problems. Explain the binding order, and recommend using parentheses when the pattern can be misinterpreted.
    
    Also, do a grammar check.
    BillWagner committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    c6bd924 View commit details
    Browse the repository at this point in the history
  2. build error

    BillWagner committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    90529e7 View commit details
    Browse the repository at this point in the history