Skip to content

Commit 87a0098

Browse files
authored
Merge pull request #10454 from dotnet/main
Merge main into live
2 parents ab0bf36 + 2843e6a commit 87a0098

File tree

4 files changed

+59
-49
lines changed

4 files changed

+59
-49
lines changed

.github/policies/disallow-edits.yml

Lines changed: 46 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,49 @@ description: GitOps.PullRequestIssueManagement primitive
33
resource: repository
44

55
configuration:
6-
resourceManagementConfiguration:
7-
eventResponderTasks:
8-
- description: Close PRs that modify files whose "source of truth" is not in this repo.
9-
if:
10-
- payloadType: Pull_Request
11-
- isAction:
12-
action: Opened
13-
- or:
14-
- filesMatchPattern:
15-
pattern: xml/Microsoft.Extensions*/*.xml
16-
excludedFiles: # These files use this repo as source-of-truth.
17-
- xml/Microsoft.Extensions.FileSystemGlobbing/*.xml
18-
- xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*.xml
19-
- xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*.xml
20-
- filesMatchPattern:
21-
pattern: xml/System.Composition/*.xml
22-
- filesMatchPattern:
23-
pattern: xml/System.Formats.Cbor/*.xml
24-
- filesMatchPattern:
25-
pattern: xml/System.Formats.Nrbf/*.xml
26-
- filesMatchPattern:
27-
pattern: xml/System.Net.ServerSentEvents/*.xml
28-
- filesMatchPattern:
29-
pattern: xml/System.Numerics.Tensors/*.xml
30-
- filesMatchPattern:
31-
pattern: xml/System.Speech/*.xml
32-
- includesModifiedFile:
33-
file: xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
34-
- includesModifiedFile:
35-
file: xml/System.Runtime.Serialization/ImportOptions.xml
36-
- includesModifiedFile:
37-
file: xml/System.Runtime.Serialization/XsdDataContractExporter.xml
38-
then:
39-
- addReply:
40-
reply: "@${issueAuthor} This PR will be closed because it edits files whose 'source of truth' is not in the repo."
41-
- closePullRequest
6+
resourceManagementConfiguration:
7+
eventResponderTasks:
8+
- description: Close PRs that modify files whose "source of truth" is not in this repo.
9+
if:
10+
- payloadType: Pull_Request
11+
- isAction:
12+
action: Opened
13+
- or:
14+
- includesModifiedFiles:
15+
files:
16+
- xml/Microsoft.Extensions*/*
17+
excludedFiles:
18+
# These files use this repo as source-of-truth.
19+
- xml/Microsoft.Extensions.FileSystemGlobbing/*
20+
- xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*
21+
- xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*
22+
- includesModifiedFiles:
23+
files:
24+
- xml/System.Composition
25+
- includesModifiedFiles:
26+
files:
27+
- xml/System.Formats.Cbor
28+
- includesModifiedFiles:
29+
files:
30+
- xml/System.Formats.Nrbf
31+
- includesModifiedFiles:
32+
files:
33+
- xml/System.Net.ServerSentEvents
34+
- includesModifiedFiles:
35+
files:
36+
- xml/System.Numerics.Tensors
37+
- includesModifiedFiles:
38+
files:
39+
- xml/System.Speech
40+
- includesModifiedFile:
41+
file: xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
42+
- includesModifiedFile:
43+
file: xml/System.Runtime.Serialization/ImportOptions.xml
44+
- includesModifiedFile:
45+
file: xml/System.Runtime.Serialization/XsdDataContractExporter.xml
46+
then:
47+
- addReply:
48+
reply: >-
49+
Hello @${issueAuthor},
50+
51+
This PR will be closed because it edits files whose 'source of truth' is not in the repo.

docfx.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@
147147
"api/**.yml": ["csharp", "vb", "fsharp", "cpp"]
148148
},
149149
"open_to_public_contributors": {
150-
"xml/Microsoft.Extensions*/*.xml": false,
151-
"xml/System.Composition/*.xml": false,
152-
"xml/System.Formats.Cbor/*.xml": false,
153-
"xml/System.Formats.Nrbf/*.xml": false,
154-
"xml/System.Net.ServerSentEvents/*.xml": false,
155-
"xml/System.Numerics.Tensors/*.xml": false,
156-
"xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml": false,
157-
"xml/System.Runtime.Serialization/ImportOptions.xml": false,
158-
"xml/System.Runtime.Serialization/XsdDataContractExporter.xml": false,
159-
"xml/System.Speech*/*.xml": false
150+
"api/Microsoft.Extensions**": false,
151+
"api/System.Composition**": false,
152+
"api/System.Formats.Cbor**": false,
153+
"api/System.Formats.Nrbf**": false,
154+
"api/System.Net.ServerSentEvents**": false,
155+
"api/System.Numerics.Tensors**": false,
156+
"api/System.Runtime.Serialization.ISerializationCodeDomSurrogateProvider.yml": false,
157+
"api/System.Runtime.Serialization.ImportOptions.yml": false,
158+
"api/System.Runtime.Serialization.XsdDataContractExporter.yml": false,
159+
"api/System.Speech**": false
160160
}
161161
},
162162
"dest": "_site",

xml/System.Diagnostics/DebuggerDisableUserUnhandledExceptionsAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</AssemblyInfo>
6969
<Parameters />
7070
<Docs>
71-
<summary>To be added.</summary>
71+
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DebuggerDisableUserUnhandledExceptionsAttribute"/> class.</summary>
7272
<remarks>To be added.</remarks>
7373
</Docs>
7474
</Member>

xml/System.IO/File.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@
345345
<para>Asynchronously appends the specified byte array to the end of the file at the given path.</para>
346346
<para>If the file doesn't exist, this method creates a new file. If the operation is canceled, the task will return in a canceled state.</para>
347347
</summary>
348-
<returns>To be added.</returns>
349-
<remarks>A task that represents the asynchronous append operation.</remarks>
348+
<returns>A task that represents the asynchronous append operation.</returns>
349+
<remarks>To be added.</remarks>
350350
<exception cref="T:System.ArgumentNullException">
351351
<paramref name="path" /> is <see langword="null" />.</exception>
352352
<exception cref="T:System.ArgumentException">

0 commit comments

Comments
 (0)