Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .openpublishing.redirection.csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"source_path_from_root": "/docs/csharp/deconstruct.md",
"redirect_url": "/dotnet/csharp/fundamentals/functional/deconstruct"
"redirect_url": "/dotnet/csharp/fundamentals/patterns/deconstruct"
},
{
"source_path_from_root": "/docs/csharp/delegates-events.md",
Expand Down Expand Up @@ -80,6 +80,10 @@
"source_path_from_root": "/docs/csharp/features.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts"
},
{
"source_path_from_root": "/docs/csharp/fundamentals/functional/deconstruct.md",
"redirect_url": "/dotnet/csharp/fundamentals/patterns/deconstruct"
},
{
"source_path_from_root": "/docs/csharp/fundamentals/functional/discards.md",
"redirect_url": "/dotnet/csharp/fundamentals/patterns/discards"
Expand Down Expand Up @@ -5540,7 +5544,7 @@
},
{
"source_path_from_root": "/docs/csharp/tutorials/exploration/patterns-objects.md",
"redirect_url": "/dotnet/csharp/tutorials/patterns-objects"
"redirect_url": "/dotnet/csharp/fundamentals/tutorials/pattern-matching"
},
{
"source_path_from_root": "/docs/csharp/tutorials/exploration/records.md",
Expand Down Expand Up @@ -5630,6 +5634,10 @@
"source_path_from_root": "/docs/csharp/tutorials/pattern-matching.md",
"redirect_url": "/dotnet/csharp/fundamentals/tutorials/pattern-matching"
},
{
"source_path_from_root": "/docs/csharp/tutorials/patterns-objects.md",
"redirect_url": "/dotnet/csharp/fundamentals/tutorials/pattern-matching"
Comment on lines +5638 to +5639
},
{
"source_path_from_root": "/docs/csharp/tutorials/records.md",
"redirect_url": "/dotnet/csharp/fundamentals/tutorials/records"
Expand Down Expand Up @@ -5719,7 +5727,7 @@
},
{
"source_path_from_root": "/docs/csharp/whats-new/tutorials/patterns-objects.md",
"redirect_url": "/dotnet/csharp/tutorials/patterns-objects"
"redirect_url": "/dotnet/csharp/fundamentals/tutorials/pattern-matching"
},
{
"source_path_from_root": "/docs/csharp/whats-new/tutorials/ranges-indexes.md",
Expand Down
2 changes: 1 addition & 1 deletion docs/csharp/advanced-topics/expression-trees/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ Expression trees don't support new expression node types. It would be a breaking
- Expressions using <xref:System.Index?displayProperty=nameWithType> or <xref:System.Range?displayProperty=nameWithType>, [index "from end" (`^`) operator](../../language-reference/operators/member-access-operators.md#index-from-end-operator-) or [range expressions (`..`)](../../language-reference/operators/member-access-operators.md#range-operator-)
- [`async` lambda expressions or `await` expressions](../../language-reference/operators/lambda-expressions.md#async-lambdas), including [`await foreach` and `await using`](../../language-reference/operators/await.md#asynchronous-streams-and-disposables)
- [Tuple literals, tuple conversions, tuple `==` or `!=`, or `with` expressions](../../language-reference/builtin-types/value-tuples.md)
- [Discards (`_`)](../../fundamentals/patterns/discards.md), [deconstructing assignment](../../fundamentals/functional/deconstruct.md), [pattern matching `is` operator, or the pattern matching `switch` expression](../../language-reference/operators/patterns.md)
- [Discards (`_`)](../../fundamentals/patterns/discards.md), [deconstructing assignment](../../fundamentals/patterns/deconstruct.md), [pattern matching `is` operator, or the pattern matching `switch` expression](../../language-reference/operators/patterns.md)
- COM call with `ref` omitted on the arguments
- [`ref`](../../language-reference/keywords/ref.md), [`in`](../../language-reference/keywords/method-parameters.md#in-parameter-modifier) or [`out`](../../language-reference/keywords/method-parameters.md#out-parameter-modifier) parameters, `ref` return values, `out` arguments, or any values of [`ref struct` type](../../language-reference/builtin-types/ref-struct.md)
2 changes: 1 addition & 1 deletion docs/csharp/fundamentals/expressions/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ This article covers the operators you'll encounter most in everyday code. The C#
- **Null operators** (`??`, `??=`, `?.`, `?[]`) — safely handle `null` values by providing defaults or short-circuiting member access: [Null operators](../null-safety/null-operators.md)
- **Type-test and conversion operators** (`is`, `as`, `typeof`, cast `(T)`) — check or convert a value's runtime type: [Type-testing and cast operators](../../language-reference/operators/type-testing-and-cast.md)
- **Range and index operators** (`..`, `^`) — create ranges and end-relative indexes for slicing arrays and spans: [Member access and null-conditional operators](../../language-reference/operators/member-access-operators.md)
- **Deconstruction assignment** — unpack a tuple or type into individual variables in a single expression: [Deconstructing tuples and other types](../../fundamentals/functional/deconstruct.md)
- **Deconstruction assignment** — unpack a tuple or type into individual variables in a single expression: [Deconstructing tuples and other types](../../fundamentals/patterns/deconstruct.md)

## See also

Expand Down
111 changes: 0 additions & 111 deletions docs/csharp/fundamentals/functional/deconstruct.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading