diff --git a/.github/policies/auto-merge.yml b/.github/policies/auto-merge.yml index ac804633aed..4519201e7a8 100644 --- a/.github/policies/auto-merge.yml +++ b/.github/policies/auto-merge.yml @@ -18,9 +18,7 @@ configuration: branch: main - or: - isActivitySender: - user: dependabot - - isActivitySender: - user: dependabot[bot] + user: dotnet-policy-service[bot] then: - enableAutoMerge: mergeMethod: Squash diff --git a/xml/System.Formats.Asn1/AsnDecoder.xml b/xml/System.Formats.Asn1/AsnDecoder.xml index d04d7a494b2..c5cb1a00042 100644 --- a/xml/System.Formats.Asn1/AsnDecoder.xml +++ b/xml/System.Formats.Asn1/AsnDecoder.xml @@ -43,12 +43,25 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The buffer containing encoded data. + The encoding constraints to use when interpreting the data. + + When this method returns, contains the number of bytes from the beginning of that contributed to the length. + This parameter is treated as uninitialized. + + + Decodes the data in as a length value under the specified encoding rules. + + + The decoded value of the length, or if the encoded length represents the indefinite length. + + + This method only processes the length portion of an ASN.1/BER Tag-Length-Value triplet, so needs to have already sliced off the encoded tag. + + + is not a known value. + + does not decode as a length under the specified encoding rules. @@ -1165,13 +1178,28 @@ The contents are not valid under the current encoding rules. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The buffer containing encoded data. + The encoding constraints to use when interpreting the data. + + When this method returns, contains the decoded value of the length, or if the encoded length represents the indefinite length. + This parameter is treated as uninitialized. + + + When this method returns, contains the number of bytes from the beginning of that contributed to the length. + This parameter is treated as uninitialized. + + + Attempts to decode the data in as a length value under the specified encoding rules. + + + + if the buffer represents a valid length under the specified encoding rules; otherwise, + + + This method only processes the length portion of an ASN.1/BER Tag-Length-Value triplet, so needs to have already sliced off the encoded tag. + + + is not a known value. diff --git a/xml/System.Numerics/INumberBase`1.xml b/xml/System.Numerics/INumberBase`1.xml index 64ab0860fe3..3df600bb29f 100644 --- a/xml/System.Numerics/INumberBase`1.xml +++ b/xml/System.Numerics/INumberBase`1.xml @@ -758,6 +758,8 @@ A return value of `false` does not imply that diff --git a/xml/System.Runtime.InteropServices/NFloat.xml b/xml/System.Runtime.InteropServices/NFloat.xml index f0a569ddbd0..441f3c9ecea 100644 --- a/xml/System.Runtime.InteropServices/NFloat.xml +++ b/xml/System.Runtime.InteropServices/NFloat.xml @@ -2372,6 +2372,8 @@ A return value of `false` does not imply that and . + ]]> diff --git a/xml/System.Threading/Lock.xml b/xml/System.Threading/Lock.xml index ea145acaf9e..2882e6c0fcb 100644 --- a/xml/System.Threading/Lock.xml +++ b/xml/System.Threading/Lock.xml @@ -30,7 +30,7 @@ It is recommended to use the method w :::code language="csharp" source="~/snippets/csharp/System.Threading/Lock/Overview/UsagePatterns.cs" id="Snippet1"::: -When using the C# `lock` keyword or similar to enter and exit a lock, the type of the expression must be precisely `System.Threading.Lock`. If the type of the expression is anything else, such as `Object` or a generic type like `T`, a different implementation that is not interchangeable can be used instead (such as ). For more information, see the relevant [compiler speclet](https://github.com/dotnet/csharplang/blob/main/proposals/lock-object.md). +When using the C# `lock` keyword or similar to enter and exit a lock, the type of the expression must be precisely `System.Threading.Lock`. If the type of the expression is anything else, such as `Object` or a generic type like `T`, a different implementation that is not interchangeable can be used instead (such as ). For more information, see the relevant [compiler speclet](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-13.0/lock-object). can interrupt threads that are waiting to enter a lock. On Windows STA threads, waits for locks allow message pumping that can run other code on the same thread during a wait. Some features of the waits can be overridden by a custom . diff --git a/xml/System/Double.xml b/xml/System/Double.xml index f6fa9a0892a..c4b76c89738 100644 --- a/xml/System/Double.xml +++ b/xml/System/Double.xml @@ -3112,6 +3112,8 @@ A return value of `false` does not imply that and . + ]]> diff --git a/xml/System/Half.xml b/xml/System/Half.xml index 39b31d39520..e227a13ee1a 100644 --- a/xml/System/Half.xml +++ b/xml/System/Half.xml @@ -2318,6 +2318,8 @@ A return value of `false` does not imply that and . + ]]> diff --git a/xml/System/Single.xml b/xml/System/Single.xml index a9f07dff7ed..5f3ce1aa09c 100644 --- a/xml/System/Single.xml +++ b/xml/System/Single.xml @@ -3129,6 +3129,8 @@ A return value of `false` does not imply that and . + ]]>