Skip to content

Commit 43924ac

Browse files
authored
Merge pull request #5542 from dotnet/master
Update live with current master
2 parents 895c760 + 692745d commit 43924ac

File tree

70 files changed

+97
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+97
-108
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
# The Visual Basic Guide:
3434
/docs/visual-basic/** @rpetrusha
3535

36+
# The ML.NET Guide:
37+
/docs/machine-learning/** @JRAlexander
38+
3639
############### .NET Core ########################
3740
# Docker
3841
/docs/core/docker/** @JRAlexander
@@ -62,4 +65,3 @@
6265
/docs/standard/io/** @mairaw
6366
# .NET base types - Formatting
6467
/docs/standard/base-types/formatting-types/** @rpetrusha
65-

.openpublishing.redirection.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,10 @@
12931293
{
12941294
"source_path": "docs/standard/modernize-with-azure-and-containers/lift-and-shift-existing-apps-devops/migrate-to-hybrid-cloud-scenarios.md",
12951295
"redirect_url": "/docs/standard/modernize-with-azure-and-containers/modernize-existing-apps-to-cloud-optimized/migrate-to-hybrid-cloud-scenarios"
1296+
},
1297+
{
1298+
"source_path":"docs/csharp/language-reference/operators/null-conditional-operator.md",
1299+
"redirect_url":"/docs/csharp/language-reference/operators/null-coalescing-operator"
12961300
}
12971301
]
12981302
}

docs/core/tools/dotnet-publish.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Doesn't perform an implicit restore when running the command.
8484

8585
`-o|--output <OUTPUT_DIRECTORY>`
8686

87-
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]* for a self-contained deployment.
87+
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/publish/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]/publish/* for a self-contained deployment.
8888
If a relative path is provided, the output directory generated is relative to the project file location, not to the current working directory.
8989

9090
`--self-contained`
@@ -123,7 +123,7 @@ Specifies one or several [target manifests](../deploying/runtime-store.md) to us
123123

124124
`-o|--output <OUTPUT_DIRECTORY>`
125125

126-
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]* for a self-contained deployment.
126+
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/publish/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]/publish/* for a self-contained deployment.
127127
If a relative path is provided, the output directory generated is relative to the project file location, not to the current working directory.
128128

129129
`-r|--runtime <RUNTIME_IDENTIFIER>`
@@ -165,4 +165,4 @@ Publish the current application but don't restore project-to-project (P2P) refer
165165
## See also
166166

167167
* [Target frameworks](../../standard/frameworks.md)
168-
* [Runtime IDentifier (RID) catalog](../rid-catalog.md)
168+
* [Runtime IDentifier (RID) catalog](../rid-catalog.md)

docs/csharp/language-reference/keywords/private-protected.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ author: "sputier"
55
---
66
# private protected (C# Reference)
77
The `private protected` keyword combination is a member access modifier. A private protected member is accessible by types derived from the containing class, but only within its containing assembly. For a comparison of `private protected` with the other access modifiers, see [Accessibility Levels](../../../csharp/language-reference/keywords/accessibility-levels.md).
8+
9+
> [!NOTE]
10+
> The `private protected` access modifier is valid in C# version 7.2 and later.
811
912
## Example
1013
A private protected member of a base class is accessible from derived types in its containing assembly only if the static type of the variable is the derived class type. For example, consider the following code segment:

docs/csharp/language-reference/keywords/throw.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Starting with C# 7.0, `throw` can be used as an expression as well as a statemen
4747

4848
[!code-csharp[csrefKeyword#4](../../../../samples/snippets/csharp/language-reference/keywords/throw/conditional.cs#1)]
4949

50-
- [the null-coalescing operator](../operators/null-conditional-operator.md). In the following example, a `throw` expression is used with a null-coalescing operator to throw an exception if the string assigned to a `Name` property is `null`.
50+
- [the null-coalescing operator](../operators/null-coalescing-operator.md). In the following example, a `throw` expression is used with a null-coalescing operator to throw an exception if the string assigned to a `Name` property is `null`.
5151

5252
[!code-csharp[csrefKeyword#5](../../../../samples/snippets/csharp/language-reference/keywords/throw/coalescing.cs#1)]
5353

docs/csharp/language-reference/operators/conditional-operator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ classify = (input > 0) ? "positive" : "negative";
5050
[C# Programming Guide](../../../csharp/programming-guide/index.md)
5151
[C# Operators](../../../csharp/language-reference/operators/index.md)
5252
[if-else](../../../csharp/language-reference/keywords/if-else.md)
53-
[?. and ?Operators](../../../csharp/language-reference/operators/null-conditional-operators.md)
54-
[?? Operator](../../../csharp/language-reference/operators/null-conditional-operator.md)
53+
[?. and ?[] Operators](../../../csharp/language-reference/operators/null-conditional-operators.md)
54+
[?? Operator](../../../csharp/language-reference/operators/null-coalescing-operator.md)

docs/csharp/language-reference/operators/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ C# provides many operators, which are symbols that specify which operations (mat
155155
## Null-coalescing Operator
156156
This operator has higher precedence than the next section and lower precedence than the previous section.
157157

158-
[x ?? y](../../../csharp/language-reference/operators/null-conditional-operator.md) – returns `x` if it is non-`null`; otherwise, returns `y`.
158+
[x ?? y](../../../csharp/language-reference/operators/null-coalescing-operator.md) – returns `x` if it is non-`null`; otherwise, returns `y`.
159159

160160
## Conditional Operator
161161
This operator has higher precedence than the next section and lower precedence than the previous section.
File renamed without changes.

docs/csharp/language-reference/operators/null-conditional-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ PropertyChanged?.Invoke(…)
7474
For more information, see the [Visual Basic Language Reference](../../../visual-basic/language-reference/index.md).
7575

7676
## See Also
77-
[?? (null-coalescing operator)](null-conditional-operator.md)
77+
[?? (null-coalescing operator)](null-coalescing-operator.md)
7878
[C# Reference](../../../csharp/language-reference/index.md)
7979
[C# Programming Guide](../../../csharp/programming-guide/index.md)
8080
[Visual Basic Programming Guide](../../../visual-basic/programming-guide/index.md)

docs/csharp/language-reference/operators/toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
## [<<= Operator](left-shift-assignment-operator.md)
4040
## [>>= Operator](right-shift-assignment-operator.md)
4141
## [-> Operator](dereference-operator.md)
42-
## [?? Operator](null-conditional-operator.md)
42+
## [?? Operator](null-coalescing-operator.md)
4343
## [=> Operator](lambda-operator.md)

0 commit comments

Comments
 (0)