Skip to content

Commit 6bf5bcd

Browse files
committed
Merge branch 'main' into fix-emit-opcode
2 parents 7b0f6e8 + e2427a4 commit 6bf5bcd

File tree

12,167 files changed

+969611
-618382
lines changed

Some content is hidden

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

12,167 files changed

+969611
-618382
lines changed

.github/copilot-instructions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Code comments should end with a period.
2+
3+
When you add a code snippet to the XML remarks of an API, add the code as a separate code file (.cs file) and not as an inline (```) code block. Also add a .csproj file to compile the code if one doesn't already exist in the snippet folder.
4+
5+
Don't use the word "may". Use "might" to indicate possibility or "can" to indicate permission.
6+
7+
There should always be a comma before a clause that begins with "which".
8+
9+
Use a conversational tone with contractions.
10+
11+
Be concise.
12+
13+
Break up long sentences.
14+
15+
Use the present tense for instructions and descriptions. For example, "The method returns a value" instead of "The method will return a value."
16+
17+
Use the Oxford comma in lists of three or more items.

.github/policies/label-issues.yml

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
id: label.issues
2+
name: GitOps.IssueManagement
3+
description: Management logic around issues
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
11+
eventResponderTasks:
12+
13+
- description: >-
14+
Remove the "needs-area-label" label when an area label is added to an issue or PR.
15+
if:
16+
- or:
17+
- payloadType: Issues
18+
- payloadType: Pull_Request
19+
20+
- or:
21+
- labelAdded:
22+
label: 'area-DependencyModel'
23+
- labelAdded:
24+
label: 'area-Extensions-Logging-AzureAppServices'
25+
- labelAdded:
26+
label: 'area-Meta'
27+
- labelAdded:
28+
label: 'area-Extensions-AI'
29+
- labelAdded:
30+
label: 'area-Extensions-AI-Evaluation'
31+
- labelAdded:
32+
label: 'area-Extensions-Caching'
33+
- labelAdded:
34+
label: 'area-Extensions-Configuration'
35+
- labelAdded:
36+
label: 'area-Extensions-DependencyInjection'
37+
- labelAdded:
38+
label: 'area-Extensions-FileSystem'
39+
- labelAdded:
40+
label: 'area-Extensions-Hosting'
41+
- labelAdded:
42+
label: 'area-Extensions-HttpClientFactory'
43+
- labelAdded:
44+
label: 'area-Extensions-Logging'
45+
- labelAdded:
46+
label: 'area-Extensions-Options'
47+
- labelAdded:
48+
label: 'area-Extensions-Primitives'
49+
- labelAdded:
50+
label: 'area-System.Buffers'
51+
- labelAdded:
52+
label: 'area-System.CodeDom'
53+
- labelAdded:
54+
label: 'area-System.Collections'
55+
- labelAdded:
56+
label: 'area-System.ComponentModel'
57+
- labelAdded:
58+
label: 'area-System.ComponentModel.Composition'
59+
- labelAdded:
60+
label: 'area-System.ComponentModel.DataAnnotations'
61+
- labelAdded:
62+
label: 'area-System.Composition'
63+
- labelAdded:
64+
label: 'area-System.Configuration'
65+
- labelAdded:
66+
label: 'area-System.Console'
67+
- labelAdded:
68+
label: 'area-System.Data'
69+
- labelAdded:
70+
label: 'area-System.Data.Odbc'
71+
- labelAdded:
72+
label: 'area-System.Data.OleDB'
73+
- labelAdded:
74+
label: 'area-System.Data.SqlClient'
75+
- labelAdded:
76+
label: 'area-System.Diagnostics'
77+
- labelAdded:
78+
label: 'area-System.Diagnostics.Activity'
79+
- labelAdded:
80+
label: 'area-System.Diagnostics.Process'
81+
- labelAdded:
82+
label: 'area-System.Diagnostics.Tracing'
83+
- labelAdded:
84+
label: 'area-System.Drawing'
85+
- labelAdded:
86+
label: 'area-System.Dynamic.Runtime'
87+
- labelAdded:
88+
label: 'area-System.Formats.Cbor'
89+
- labelAdded:
90+
label: 'area-System.Formats.Asn1'
91+
- labelAdded:
92+
label: 'area-System.Globalization'
93+
- labelAdded:
94+
label: 'area-System.IO'
95+
- labelAdded:
96+
label: 'area-System.IO.Compression'
97+
- labelAdded:
98+
label: 'area-System.Linq'
99+
- labelAdded:
100+
label: 'area-System.Linq.Expressions'
101+
- labelAdded:
102+
label: 'area-System.Linq.Parallel'
103+
- labelAdded:
104+
label: 'area-System.Memory'
105+
- labelAdded:
106+
label: 'area-System.Net'
107+
- labelAdded:
108+
label: 'area-System.Net.Http'
109+
- labelAdded:
110+
label: 'area-System.Net.Quic'
111+
- labelAdded:
112+
label: 'area-System.Net.Security'
113+
- labelAdded:
114+
label: 'area-System.Net.Sockets'
115+
- labelAdded:
116+
label: 'area-System.Numerics'
117+
- labelAdded:
118+
label: 'area-System.Numerics.Tensors'
119+
- labelAdded:
120+
label: 'area-System.Resources'
121+
- labelAdded:
122+
label: 'area-System.Runtime'
123+
- labelAdded:
124+
label: 'area-System.Security'
125+
- labelAdded:
126+
label: 'area-System.Text.Encoding'
127+
- labelAdded:
128+
label: 'area-System.Text.Encodings.Web'
129+
- labelAdded:
130+
label: 'area-System.Text.Json'
131+
- labelAdded:
132+
label: 'area-System.Text.RegularExpressions'
133+
- labelAdded:
134+
label: 'area-System.Threading'
135+
- labelAdded:
136+
label: 'area-System.Threading.Channels'
137+
- labelAdded:
138+
label: 'area-System.Threading.Tasks'
139+
- labelAdded:
140+
label: 'area-System.Runtime.Intrinsics'
141+
- labelAdded:
142+
label: 'area-System.Xml'
143+
- labelAdded:
144+
label: 'area-WPF'
145+
146+
then:
147+
- removeLabel: 'needs-area-label'

.github/policies/mention-owners.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ configuration:
359359
- mentionUsers:
360360
mentionees:
361361
- roji
362-
- ajcvickers
363362
replyTemplate: >-
364363
Tagging subscribers to this area: ${mentionees}
365364
assignMentionees: False
@@ -370,7 +369,6 @@ configuration:
370369
- mentionUsers:
371370
mentionees:
372371
- roji
373-
- ajcvickers
374372
replyTemplate: >-
375373
Tagging subscribers to this area: ${mentionees}
376374
assignMentionees: False
@@ -381,7 +379,6 @@ configuration:
381379
- mentionUsers:
382380
mentionees:
383381
- roji
384-
- ajcvickers
385382
replyTemplate: >-
386383
Tagging subscribers to this area: ${mentionees}
387384
assignMentionees: False
@@ -402,7 +399,7 @@ configuration:
402399
then:
403400
- mentionUsers:
404401
mentionees:
405-
- ajcvickers
402+
- dotnet/area-system-componentmodel-dataannotations
406403
replyTemplate: >-
407404
Tagging subscribers to this area: ${mentionees}
408405
assignMentionees: False

docfx.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,25 +85,25 @@
8585
},
8686
"ms.subservice": {
8787
"api/Accessibility**.yml": "accessibility",
88-
"api/DbLinq.Util**.yml": "dbling.util",
8988
"api/Microsoft.Activities**.yml": "microsoft.activities",
9089
"api/Microsoft.Build**.yml": "microsoft.build",
9190
"api/Microsoft.CSharp**.yml": "microsoft.csharp",
91+
"api/Microsoft.Extensions**.yml": "microsoft.extensions",
9292
"api/Microsoft.JScript**.yml": "microsoft.jscript",
9393
"api/Microsoft.SqlServer**.yml": "microsoft.sqlserver",
9494
"api/Microsoft.VisualBasic**.yml": "microsoft.visualbasic",
9595
"api/Microsoft.VisualC**.yml": "microsoft.visualc",
9696
"api/Microsoft.Win32**.yml": "microsoft.win32",
9797
"api/Microsoft.Windows**.yml": "microsoft.windows",
98-
"api/Mono**.yml": "mono",
9998
"api/System.*.yml": "system",
10099
"api/System.Activities**.yml": "system.activities",
101100
"api/System.AddIn**.yml": "system.addin",
102101
"api/System.Buffers**.yml": "system.buffers",
103102
"api/System.CodeDom**.yml": "system.codedom",
104103
"api/System.Collections**.yml": "system.collections",
105-
"api/System.Composition**.yml": "system.composition",
104+
"api/System.CommandLine**.yml": "system.commandline",
106105
"api/System.ComponentModel**.yml": "system.componentmodel",
106+
"api/System.Composition**.yml": "system.composition",
107107
"api/System.Configuration**.yml": "system.configuration",
108108
"api/System.Data**.yml": "system.data",
109109
"api/System.Deployment**.yml": "system.deployment",
@@ -113,6 +113,7 @@
113113
"api/System.Drawing**.yml": "system.drawing",
114114
"api/System.Dynamic**.yml": "system.dynamic",
115115
"api/System.EnterpriseServices**.yml": "system.enterpriseservices",
116+
"api/System.Formats**.yml": "system.formats",
116117
"api/System.Globalization**.yml": "system.globalization",
117118
"api/System.IdentityModel**.yml": "system.identitymodel",
118119
"api/System.IO**.yml": "system.io",
@@ -141,6 +142,7 @@
141142
"api/System.Xaml**.yml": "system.xaml",
142143
"api/System.Xml**.yml": "system.xml",
143144
"api/UIAutomationClientsideProviders**.yml": "uiautomationclientsideproviders",
145+
"api/Windows.UI**.yml": "windows.ui",
144146
"api/XamlGeneratedNamespace**.yml": "xamlgeneratednamespace"
145147
},
146148
"langs": {

includes/remarks/System.IO.Compression/CompressionLevel/CompressionLevel.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,16 @@ Compression operations usually involve a tradeoff between the speed and the effe
33
The following methods of the <xref:System.IO.Compression.DeflateStream>, <xref:System.IO.Compression.GZipStream>, <xref:System.IO.Compression.ZipArchive>, <xref:System.IO.Compression.ZipFile>, and <xref:System.IO.Compression.ZipFileExtensions> classes include a parameter named `compressionLevel` that lets you specify the compression level:
44

55
- <xref:System.IO.Compression.DeflateStream.%23ctor%28System.IO.Stream%2CSystem.IO.Compression.CompressionLevel%29?displayProperty=nameWithType>
6-
76
- <xref:System.IO.Compression.DeflateStream.%23ctor%28System.IO.Stream%2CSystem.IO.Compression.CompressionLevel%2CSystem.Boolean%29?displayProperty=nameWithType>
8-
97
- <xref:System.IO.Compression.GZipStream.%23ctor%28System.IO.Stream%2CSystem.IO.Compression.CompressionLevel%29?displayProperty=nameWithType>
10-
118
- <xref:System.IO.Compression.GZipStream.%23ctor%28System.IO.Stream%2CSystem.IO.Compression.CompressionLevel%2CSystem.Boolean%29?displayProperty=nameWithType>
12-
139
- <xref:System.IO.Compression.ZipArchive.CreateEntry%28System.String%2CSystem.IO.Compression.CompressionLevel%29?displayProperty=nameWithType>
14-
1510
- <xref:System.IO.Compression.ZipFile.CreateFromDirectory%28System.String%2CSystem.String%2CSystem.IO.Compression.CompressionLevel%2CSystem.Boolean%29?displayProperty=nameWithType>
16-
1711
- <xref:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile%28System.IO.Compression.ZipArchive%2CSystem.String%2CSystem.String%2CSystem.IO.Compression.CompressionLevel%29?displayProperty=nameWithType>
1812

1913
## Examples
2014

2115
The following example shows how to set the compression level when creating a zip archive by using the <xref:System.IO.Compression.ZipFile> class.
2216

2317
:::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipFile/CreateFromDirectory/program3.cs" id="Snippet3":::
24-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program3.vb" id="Snippet3":::
18+
:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipFile/CreateFromDirectory/program3.vb" id="Snippet3":::

includes/remarks/System.IO.Compression/ZipArchive/.ctor_Stream_ZipArchiveMode_Boolean_Encoding.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,17 @@ If the `mode` parameter is set to <xref:System.IO.Compression.ZipArchiveMode.Rea
22

33
When you open a zip archive file for reading and `entryNameEncoding` is set to `null`, entry names and comments are decoded according to the following rules:
44

5-
- When the language encoding flag (in the general-purpose bit flag of the local file header) is not set, the current system default code page is used to decode the entry name and comment.
6-
7-
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
5+
- When the language encoding flag (in the general-purpose bit flag of the local file header) is not set, the current system default code page is used to decode the entry name and comment.
6+
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
87

98
When you open a zip archive file for reading and `entryNameEncoding` is set to a value other than `null`, entry names and comments are decoded according to the following rules:
109

11-
- When the language encoding flag is not set, the specified `entryNameEncoding` is used to decode the entry name and comment.
12-
13-
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
10+
- When the language encoding flag is not set, the specified `entryNameEncoding` is used to decode the entry name and comment.
11+
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
1412

1513
When you write to archive files and `entryNameEncoding` is set to `null`, entry names and comments are encoded according to the following rules:
1614

17-
- For entry names and comments that contain characters outside the ASCII range, the language encoding flag is set, and entry names and comments are encoded by using UTF-8.
18-
19-
- For entry names and comments that contain only ASCII characters, the language encoding flag is not set, and entry names and comments are encoded by using the current system default code page.
15+
- For entry names and comments that contain characters outside the ASCII range, the language encoding flag is set, and entry names and comments are encoded by using UTF-8.
16+
- For entry names and comments that contain only ASCII characters, the language encoding flag is not set, and entry names and comments are encoded by using the current system default code page.
2017

2118
When you write to archive files and `entryNameEncoding` is set to a value other than `null`, the specified `entryNameEncoding` is used to encode the entry names and comments into bytes. The language encoding flag (in the general-purpose bit flag of the local file header) is set only when the specified encoding is a UTF-8 encoding.

includes/remarks/System.IO.Compression/ZipFile/Open.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ When you set the `mode` parameter to <xref:System.IO.Compression.ZipArchiveMode.
77
When you open a zip archive file for reading and `entryNameEncoding` is set to `null`, entry names and comments are decoded according to the following rules:
88

99
- When the language encoding flag (in the general-purpose bit flag of the local file header) is not set, the current system default code page is used to decode the entry name and comment.
10-
1110
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
1211

1312
When you open a zip archive file for reading and `entryNameEncoding` is set to a value other than `null`, entry names and comments are decoded according to the following rules:
1413

1514
- When the language encoding flag is not set, the specified `entryNameEncoding` is used to decode the entry name and comment.
16-
1715
- When the language encoding flag is set, UTF-8 is used to decode the entry name and comment.
1816

1917
When you write to archive files and `entryNameEncoding` is set to `null`, entry names and comments are encoded according to the following rules:
2018

2119
- For entry names or comments that contain characters outside the ASCII range, the language encoding flag is set, and entry names and comments are encoded by using UTF-8.
22-
2320
- For entry names or comments that contain only ASCII characters, the language encoding flag is not set, and entry names and comments are encoded by using the current system default code page.
2421

2522
When you write to archive files and `entryNameEncoding` is set to a value other than `null`, the specified `entryNameEncoding` is used to encode the entry names and comments into bytes. The language encoding flag (in the general-purpose bit flag of the local file header) is set only when the specified encoding is a UTF-8 encoding.

includes/remarks/System.IO.Compression/ZipFile/ZipFile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The methods for manipulating zip archives and their files are spread across thre
1818
This example shows how to create and extract a zip archive by using the <xref:System.IO.Compression.ZipFile> class. It compresses the contents of a folder into a zip archive, and then extracts that content to a new folder.
1919

2020
:::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipFile/CreateFromDirectory/program1.cs" id="Snippet1":::
21-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb" id="Snippet1":::
21+
:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipFile/CreateFromDirectory/program1.vb" id="Snippet1":::

includes/visual-property-note.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
> [!NOTE]
2-
> Setting a visual property only has an effect if that property is both present in the control's default template and is set by using a [TemplateBinding](/dotnet/framework/wpf/advanced/templatebinding-markup-extension). You can find a list of visual properties in the [Changing the Visual Structure of a Control](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control#changing-the-visual-structure-of-a-control) section in the [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control) article.
3-
2+
> Setting a visual property only has an effect if that property is both present in the control's default template and set by using a [TemplateBinding](/dotnet/framework/wpf/advanced/templatebinding-markup-extension).

snippets/cpp/VS_Snippets_CLR/ActivatorX/cpp/ActivatorX.cpp

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)