Skip to content

Commit d941cf0

Browse files
Update docs/csharp/misc/cs0077.md
Co-authored-by: Bartosz Klonowski <[email protected]>
1 parent 42eab32 commit d941cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/misc/cs0077.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The as operator must be used with a reference type or nullable type ('int' is a
1414

1515
The [as](../language-reference/operators/type-testing-and-cast.md#as-operator) operator was passed a [value type](../language-reference/builtin-types/value-types.md). Because `as` can return [null](../language-reference/keywords/null.md), it can only be passed a [reference type](../language-reference/keywords/reference-types.md) or a [nullable value type](../language-reference/builtin-types/nullable-value-types.md).
1616

17-
However, using [pattern matching](../fundamentals/functional/pattern-matching) with [is](../language-reference/operators/is) operator, we can directly perform type checking and assignments in one step.
17+
However, using [pattern matching](../fundamentals/functional/pattern-matching.md) with [is](../language-reference/operators/is.md) operator, we can directly perform type checking and assignments in one step.
1818

1919
The following sample generates CS0077:
2020

0 commit comments

Comments
 (0)