Skip to content

Commit 90529e7

Browse files
committed
build error
1 parent c6bd924 commit 90529e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/operators/snippets/patterns/LogicalPatterns.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private static void OrPattern()
6767

6868
// <SpecifyBindingOrder>
6969
// Correct pattern. Force `and` before `not`
70-
static bool IsNotLowerCaseLetter(char c) => c is not (>= 'a' and <= 'z');
70+
static bool IsNotLowerCaseLetterParentheses(char c) => c is not (>= 'a' and <= 'z');
7171
// </SpecifyBindingOrder>
7272

7373
// <WithParentheses>

0 commit comments

Comments
 (0)