Skip to content

Commit 06b0905

Browse files
Merge pull request #10522 from dotnet/main
Merge main into live
2 parents fb91a9c + 28b1a38 commit 06b0905

File tree

10 files changed

+55
-17
lines changed

10 files changed

+55
-17
lines changed

.github/policies/disallow-edits.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ configuration:
1111
- isAction:
1212
action: Opened
1313
- or:
14+
- filesMatchPattern:
15+
pattern: xml/NewFolder/*
1416
- includesModifiedFiles:
1517
files:
1618
- xml/Microsoft.Extensions*/*

.repoman.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
revision: 2
2-
schema-version: 1
1+
revision: 3
2+
schema-version: 5
33
owner-ms-alias: adegeo
44

55
config:
@@ -9,6 +9,8 @@ config:
99

1010
ParserRegex: "^\\* (.*): (.*)$"
1111

12+
ContentUrlRegex:
13+
- "### Page URL\n\n(.*)"
1214

1315
issues:
1416

@@ -17,7 +19,7 @@ issues:
1719
# Temporary label to mark issues as updated for Quest. The label is instantly removed
1820
- check:
1921
- type: query
20-
value: "length(Issue.labels[?name == ':world_map: mapQUEST']) != `0`"
22+
value: "length(Issue.Labels[?Name == ':world_map: mapQUEST']) != `0`"
2123
pass:
2224
- labels-remove: [":world_map: mapQUEST"]
2325

xml/System.Data.Common/DbConnection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,8 +1954,8 @@ This property returns `false` by default; providers that implement <xref:System.
19541954
<ReturnType>System.Data.ConnectionState</ReturnType>
19551955
</ReturnValue>
19561956
<Docs>
1957-
<summary>Gets a string that describes the state of the connection.</summary>
1958-
<value>The state of the connection. The format of the string returned depends on the specific type of connection you are using.</value>
1957+
<summary>Gets a value that describes the state of the connection.</summary>
1958+
<value>The state of the connection, for example, open or closed.</value>
19591959
<remarks>To be added.</remarks>
19601960
<related type="Article" href="/dotnet/framework/data/adonet/ado-net-overview">ADO.NET Overview</related>
19611961
</Docs>

xml/System.Data.Common/DbConnectionStringBuilder.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ builder2.EquivalentTo(builder3) = False
11231123
<Docs>
11241124
<param name="keyword">The key of the item to get or set.</param>
11251125
<summary>Gets or sets the value associated with the specified key.</summary>
1126-
<value>The value associated with the specified key. If the specified key is not found, trying to get it returns a null reference (<see langword="Nothing" /> in Visual Basic), and trying to set it creates a new element using the specified key.
1126+
<value>The value associated with the specified key. If the specified key is not found, trying to get it throws an <see cref="T:System.ArgumentException" />, and trying to set it creates a new element using the specified key.
11271127

11281128
Passing a null (<see langword="Nothing" /> in Visual Basic) key throws an <see cref="T:System.ArgumentNullException" />. Assigning a null value removes the key/value pair.</value>
11291129
<remarks>
@@ -1142,6 +1142,8 @@ builder2.EquivalentTo(builder3) = False
11421142
11431143
]]></format>
11441144
</remarks>
1145+
<exception cref="T:System.ArgumentException">
1146+
The value for <paramref name="keyword" /> has not been set in the collection.</exception>
11451147
<exception cref="T:System.ArgumentNullException">
11461148
<paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
11471149
<exception cref="T:System.NotSupportedException">The property is set, and the <see cref="T:System.Data.Common.DbConnectionStringBuilder" /> is read-only.

xml/System.Drawing.Imaging.Effects/Effect.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565
<Parameter Name="disposing" Type="System.Boolean" />
6666
</Parameters>
6767
<Docs>
68-
<param name="disposing">To be added.</param>
69-
<summary>To be added.</summary>
68+
<param name="disposing">
69+
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
70+
<summary>Releases the unmanaged resources used by the <see cref="T:System.Drawing.Imaging.Effects.Effect" /> and optionally releases the managed resources.</summary>
7071
<remarks>To be added.</remarks>
7172
</Docs>
7273
</Member>

xml/System.Drawing/SystemColors.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,9 +1344,12 @@
13441344
<ReturnType>System.Boolean</ReturnType>
13451345
</ReturnValue>
13461346
<Docs>
1347-
<summary>To be added.</summary>
1348-
<value>To be added.</value>
1349-
<remarks>To be added.</remarks>
1347+
<summary>Gets or sets a value that indicates whether the alternative color set is used.</summary>
1348+
<value>When <see langword="true"/>, system <see cref="T:System.Drawing.KnownColor"/> values will return the alternative color set (as returned by <see cref="T:System.Drawing.SystemColors"/> statics or <see cref="M:System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor)"/>). This is currently "dark mode" variants of the system colors.</value>
1349+
<remarks>
1350+
<para><see cref="T:System.Drawing.KnownColor"/> <see cref="T:System.Drawing.Color"/> values are always looked up every time you use them and do not retain any other context. As such, existing <see cref="T:System.Drawing.Color"/> values will change when this property is set.</para>
1351+
<para>On Windows, system <see cref="T:System.Drawing.KnownColor"/> values always return the current Windows color when the OS has a high contrast theme enabled.</para>
1352+
</remarks>
13501353
</Docs>
13511354
</Member>
13521355
<Member MemberName="Window">

xml/System.Net.Security/SslClientAuthenticationOptions.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,19 @@
193193
<ReturnType>System.Security.Cryptography.X509Certificates.X509ChainPolicy</ReturnType>
194194
</ReturnValue>
195195
<Docs>
196-
<summary>Gets or sets an optional customized policy for remote certificate validation. If not <see langword="null" />, <see cref="P:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode" /> and <see cref="T:System.Net.Security.SslCertificateTrust" /> are ignored.</summary>
196+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
197197
<value>To be added.</value>
198-
<remarks>To be added.</remarks>
198+
<remarks>
199+
<format type="text/markdown"><![CDATA[
200+
201+
## Remarks
202+
203+
When the value of this property is not `null`:
204+
205+
- The value of the <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
206+
- Any <xref:System.Net.Security.SslCertificateTrust> associated with the <xref:System.Net.Security.SslClientAuthenticationOptions.ClientCertificateContext> is ignored.
207+
]]></format>
208+
</remarks>
199209
</Docs>
200210
</Member>
201211
<Member MemberName="CertificateRevocationCheckMode">

xml/System.Net.Security/SslServerAuthenticationOptions.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,19 @@
189189
<ReturnType>System.Security.Cryptography.X509Certificates.X509ChainPolicy</ReturnType>
190190
</ReturnValue>
191191
<Docs>
192-
<summary>Gets or sets an optional customized policy for remote certificate validation. If not <see langword="null" />, <see cref="P:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode" /> and <see cref="T:System.Net.Security.SslCertificateTrust" /> are ignored.</summary>
192+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
193193
<value>To be added.</value>
194-
<remarks>To be added.</remarks>
194+
<remarks>
195+
<format type="text/markdown"><![CDATA[
196+
197+
## Remarks
198+
199+
When the value of this property is not `null`:
200+
201+
- The value of the <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
202+
- If an <xref:System.Net.Security.SslCertificateTrust> was provided to the value in the <xref:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateContext> property, the trust list `SslCertificateTrust` will be sent in the handshake (when so configured), but the trust settings from this property aren't used when verifying any client authentication certificates.
203+
]]></format>
204+
</remarks>
195205
</Docs>
196206
</Member>
197207
<Member MemberName="CertificateRevocationCheckMode">
@@ -494,4 +504,4 @@
494504
</Docs>
495505
</Member>
496506
</Members>
497-
</Type>
507+
</Type>

xml/System.Net/WebUtility.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@
556556
557557
Each ' ' (space) character is converted to a `+` (plus) character.
558558
559+
> [!NOTE]
560+
> Replacing ' ' (space) with a '+' (plus) sign is expected only in query part of URI (by convention, not by standard) or in [`application/x-www-form-urlencoded`](https://url.spec.whatwg.org/#percent-encoded-bytes) HTTP content. Moreover, the above mentioned list of characters that are **not** replaced does not correspond neither to [URL specification](https://url.spec.whatwg.org) nor URI [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.4). Use <xref:System.Uri.EscapeDataString%2A> for RFC compliant transformation.
561+
559562
For example, when embedded in a block of text to be transmitted in a URL, the characters `<` and `>` are encoded as `%3c` and `%3e`.
560563
561564
The <xref:System.Net.WebUtility.UrlDecode%2A> method reverses the encoding.
@@ -636,6 +639,11 @@
636639
637640
- `(` and `)` (opening and closing parentheses)
638641
642+
Each ' ' (space) character is converted to a `+` (plus) character.
643+
644+
> [!NOTE]
645+
> Replacing ' ' (space) with a '+' (plus) sign is expected only in query part of URI (by convention, not by standard) or in [`application/x-www-form-urlencoded`](https://url.spec.whatwg.org/#percent-encoded-bytes) HTTP content. Moreover, the above mentioned list of characters that are **not** replaced does not correspond neither to [URL specification](https://url.spec.whatwg.org) nor URI [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.4). Use <xref:System.Uri.EscapeDataString%2A> for RFC compliant transformation.
646+
639647
For example, when embedded in a block of text to be transmitted in a URL, the characters `<` and `>` are encoded as `%3c` and `%3e`.
640648
641649
The <xref:System.Net.WebUtility.UrlDecodeToBytes%2A> method reverses the encoding.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Namespace Name="System.Drawing.Imaging.Effects">
22
<Docs>
3-
<summary>To be added.</summary>
3+
<summary>Provides functionality for adding effects to images.</summary>
44
<remarks>To be added.</remarks>
55
</Docs>
66
</Namespace>

0 commit comments

Comments
 (0)