From c95394895b53dcc9b44a13946a67205ad5569456 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Wed, 23 Sep 2026 05:55:32 -0700 Subject: [PATCH 1/4] fix broken links (#13082) --- _zip/missingapi.yml | 6 +++--- .../ObjectiveCMarshal+MessageSendFunction.xml | 6 +++--- xml/System.Threading/Lock.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_zip/missingapi.yml b/_zip/missingapi.yml index 76947e0e76a..c40b8543a6d 100644 --- a/_zip/missingapi.yml +++ b/_zip/missingapi.yml @@ -118,15 +118,15 @@ references: - uid: OpenAI.RealtimeConversation.ConversationUpdate name: ConversationUpdate fullname: OpenAI.RealtimeConversation.ConversationUpdate - href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.RealtimeConversation.netstandard2.0.cs + href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.Realtime.netstandard2.0.cs - uid: OpenAI.RealtimeConversation.RealtimeConversationClient name: RealtimeConversationClient fullname: OpenAI.RealtimeConversation.RealtimeConversationClient - href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.RealtimeConversation.netstandard2.0.cs + href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.Realtime.netstandard2.0.cs - uid: OpenAI.RealtimeConversation.RealtimeConversationSession name: RealtimeConversationSession fullname: OpenAI.RealtimeConversation.RealtimeConversationSession - href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.RealtimeConversation.netstandard2.0.cs + href: https://github.com/openai/openai-dotnet/blob/main/api/released/netstandard2.0/OpenAI.Realtime.netstandard2.0.cs - uid: OpenAI.Responses.CreateResponseOptions name: CreateResponseOptions fullname: OpenAI.Responses.CreateResponseOptions diff --git a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal+MessageSendFunction.xml b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal+MessageSendFunction.xml index 833e203e28c..2c3ce7f086e 100644 --- a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal+MessageSendFunction.xml +++ b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal+MessageSendFunction.xml @@ -42,7 +42,7 @@ 0 - Overrides the Objective-C runtime's msgSend(). + Overrides the Objective-C runtime's msgSend(). @@ -65,7 +65,7 @@ 1 - Overrides the Objective-C runtime's objc_msgSend_fpret(). + Overrides the Objective-C runtime's objc_msgSend_fpret(). @@ -111,7 +111,7 @@ 3 - Overrides the Objective-C runtime's objc_msgSendSuper(). + Overrides the Objective-C runtime's objc_msgSendSuper(). diff --git a/xml/System.Threading/Lock.xml b/xml/System.Threading/Lock.xml index e08fba070f4..242d8c675c8 100644 --- a/xml/System.Threading/Lock.xml +++ b/xml/System.Threading/Lock.xml @@ -32,7 +32,7 @@ It is recommended to use the method wit :::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://learn.microsoft.com/dotnet/csharp/language-reference/proposals/csharp-13.0/lock-object). +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/dotnet/csharp/language-reference/statements/lock). 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 . From b323041ea5848cc7fa63af7c73c058c51b8ac945 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Wed, 23 Sep 2026 05:58:55 -0700 Subject: [PATCH 2/4] Revise Dependabot settings for various ecosystems (#13081) --- .github/dependabot.yml | 153 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 141 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 93fb70af4e5..6f3ef37ec8a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,6 @@ -# generated by dependadotnet -# https://github.com/dotnet/core/tree/master/samples/dependadotnet version: 2 updates: - # GitHub Actions + # Updates for GitHub Actions - package-ecosystem: "github-actions" directory: "/" groups: @@ -11,28 +9,159 @@ updates: schedule: interval: "weekly" cooldown: - default-days: 7 + default-days: 3 + # NuGet updates for C++ snippets - package-ecosystem: "nuget" - directory: "/samples/snippets/fsharp/VS_Snippets_CLR_System/system.console.class/fs" #fontlink1.fsproj + directories: + - "snippets/cpp/**/*" schedule: interval: "weekly" - day: "wednesday" open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for Microsoft.* C# snippets + - package-ecosystem: "nuget" + directories: + - "snippets/csharp/Microsoft*/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for System namespace C# snippets + - package-ecosystem: "nuget" + directories: + - "snippets/csharp/System/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for System.Windows* C# snippets + - package-ecosystem: "nuget" + directories: + - "snippets/csharp/System.W*/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for System.* C# snippets + - package-ecosystem: "nuget" + directories: + - "snippets/csharp/System.A*/**/*" + - "snippets/csharp/System.B*/**/*" + - "snippets/csharp/System.C*/**/*" + - "snippets/csharp/System.D*/**/*" + - "snippets/csharp/System.E*/**/*" + - "snippets/csharp/System.F*/**/*" + - "snippets/csharp/System.G*/**/*" + - "snippets/csharp/System.H*/**/*" + - "snippets/csharp/System.I*/**/*" + - "snippets/csharp/System.J*/**/*" + - "snippets/csharp/System.K*/**/*" + - "snippets/csharp/System.L*/**/*" + - "snippets/csharp/System.M*/**/*" + - "snippets/csharp/System.N*/**/*" + - "snippets/csharp/System.O*/**/*" + - "snippets/csharp/System.P*/**/*" + - "snippets/csharp/System.Q*/**/*" + - "snippets/csharp/System.R*/**/*" + - "snippets/csharp/System.S*/**/*" + - "snippets/csharp/System.T*/**/*" + - "snippets/csharp/System.U*/**/*" + - "snippets/csharp/System.V*/**/*" + - "snippets/csharp/System.X*/**/*" + - "snippets/csharp/System.Y*/**/*" + - "snippets/csharp/System.Z*/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for VS_Snippets* C# snippets - package-ecosystem: "nuget" - directory: "/samples/snippets/csharp/api/system.reflection.metadata/metadatareader" #MetadataReaderSnippets.csproj + directories: + - "snippets/csharp/VS_Snippets*/**/*" schedule: interval: "weekly" - day: "wednesday" open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for F# snippets - package-ecosystem: "nuget" - directory: "/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/cs" #cs.csproj + directories: + - "snippets/fsharp/**/*" schedule: interval: "weekly" - day: "wednesday" open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for PowerShell snippets - package-ecosystem: "nuget" - directory: "/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb" #vb.vbproj + directories: + - "snippets/powershell/**/*" schedule: interval: "weekly" - day: "wednesday" open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for VB snippets + - package-ecosystem: "nuget" + directories: + - "snippets/visualbasic/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name + # NuGet updates for XAML and XML snippets + - package-ecosystem: "nuget" + directories: + - "snippets/xaml/**/*" + - "snippets/xml/**/*" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + groups: + nuget: + patterns: ["*"] + group-by: dependency-name From 52512d0e70232346f9be717ee2982c68852c7510 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 11:40:52 -0700 Subject: [PATCH 3/4] Bump the nuget group with 3 updates (#13084) Bumps Microsoft.Extensions.Configuration from 8.0.0 to 10.0.12 Bumps Microsoft.Extensions.Configuration.Json from 8.0.0 to 10.0.12 Bumps Microsoft.Extensions.DependencyModel to 10.0.12 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration dependency-version: 10.0.12 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/Microsoft.Extensions.Configuration - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 10.0.12 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/Microsoft.Extensions.Configuration - dependency-name: Microsoft.Extensions.DependencyModel dependency-version: 10.0.12 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/Microsoft.Extensions.Configuration - dependency-name: Microsoft.Extensions.DependencyModel dependency-version: 10.0.12 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/Microsoft.Extensions.Configuration ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../ConfigurationBuilder/Overview/AppWithOptions.csproj | 4 ++-- .../Overview/CompilationLibrarySnippets.csproj | 2 +- .../Overview/DependencyContextSnippets.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/AppWithOptions.csproj b/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/AppWithOptions.csproj index 87db796d174..486a7eb8cc1 100644 --- a/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/AppWithOptions.csproj +++ b/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/AppWithOptions.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/snippets/csharp/Microsoft.Extensions.DependencyModel/CompilationLibrary/Overview/CompilationLibrarySnippets.csproj b/snippets/csharp/Microsoft.Extensions.DependencyModel/CompilationLibrary/Overview/CompilationLibrarySnippets.csproj index fa5c3e6a488..991cb62dd91 100644 --- a/snippets/csharp/Microsoft.Extensions.DependencyModel/CompilationLibrary/Overview/CompilationLibrarySnippets.csproj +++ b/snippets/csharp/Microsoft.Extensions.DependencyModel/CompilationLibrary/Overview/CompilationLibrarySnippets.csproj @@ -7,7 +7,7 @@ - + diff --git a/snippets/csharp/Microsoft.Extensions.DependencyModel/DependencyContext/Overview/DependencyContextSnippets.csproj b/snippets/csharp/Microsoft.Extensions.DependencyModel/DependencyContext/Overview/DependencyContextSnippets.csproj index 83c5f170e4f..16d7dfbbb0a 100644 --- a/snippets/csharp/Microsoft.Extensions.DependencyModel/DependencyContext/Overview/DependencyContextSnippets.csproj +++ b/snippets/csharp/Microsoft.Extensions.DependencyModel/DependencyContext/Overview/DependencyContextSnippets.csproj @@ -7,7 +7,7 @@ - + From 0c8c354ec7b1fd1bd767de5001c0920689e6a37f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 11:41:49 -0700 Subject: [PATCH 4/4] Bump the nuget group with 5 updates (#13085) Bumps EntityFramework from 6.4.4 to 6.5.2 Bumps Microsoft.Data.SqlClient from 4.1.0 to 7.0.3 Bumps Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers from 0.3.310302 to 0.4.421302 Bumps Microsoft.Windows.Compatibility from 6.0.6 to 10.0.12 Bumps System.Data.SqlClient from 4.8.6 to 4.9.1 --- updated-dependencies: - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: EntityFramework dependency-version: 6.5.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: Microsoft.Data.SqlClient dependency-version: 7.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/System.Data.SqlClient - dependency-name: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers dependency-version: 0.4.421302 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: Microsoft.Windows.Compatibility dependency-version: 10.0.12 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/System.Data.SqlClient - dependency-name: Microsoft.Data.SqlClient dependency-version: 7.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient - dependency-name: System.Data.SqlClient dependency-version: 4.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget/System.Data.SqlClient ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../AutoGenerateColumns/datagrid_autogencolumns.csproj | 2 +- .../DataGrid/Columns/datagrid_columnsmanipulation.csproj | 2 +- .../FrozenColumnCount/datagrid_frozencolumns.csproj | 2 +- .../DataGrid/Overview/datagrid1.csproj | 2 +- .../DataGrid/RowDetailsTemplate/wpfapplication1.csproj | 2 +- .../DataGrid/RowHeaderStyle/datagrid_rowheader.csproj | 2 +- .../SelectedCellsChanged/datagrid_cellselection.csproj | 6 +++--- .../DataGridCheckBoxColumn/Overview/columnsartsample.csproj | 2 +- .../DataGridView/CellContentClick/Project.csproj | 2 +- .../HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/AutoGenerateColumns/datagrid_autogencolumns.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/AutoGenerateColumns/datagrid_autogencolumns.csproj index c4367312c0e..6277c3c33e9 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/AutoGenerateColumns/datagrid_autogencolumns.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/AutoGenerateColumns/datagrid_autogencolumns.csproj @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/Columns/datagrid_columnsmanipulation.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/Columns/datagrid_columnsmanipulation.csproj index c4367312c0e..6277c3c33e9 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/Columns/datagrid_columnsmanipulation.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/Columns/datagrid_columnsmanipulation.csproj @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/FrozenColumnCount/datagrid_frozencolumns.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/FrozenColumnCount/datagrid_frozencolumns.csproj index c4367312c0e..6277c3c33e9 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/FrozenColumnCount/datagrid_frozencolumns.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/FrozenColumnCount/datagrid_frozencolumns.csproj @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/Overview/datagrid1.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/Overview/datagrid1.csproj index a35dcd6d23a..83b71ff5e7a 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/Overview/datagrid1.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/Overview/datagrid1.csproj @@ -7,7 +7,7 @@ - + diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/RowDetailsTemplate/wpfapplication1.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/RowDetailsTemplate/wpfapplication1.csproj index d9c685592a4..e0d937fb1c6 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/RowDetailsTemplate/wpfapplication1.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/RowDetailsTemplate/wpfapplication1.csproj @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/RowHeaderStyle/datagrid_rowheader.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/RowHeaderStyle/datagrid_rowheader.csproj index c4367312c0e..6277c3c33e9 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/RowHeaderStyle/datagrid_rowheader.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/RowHeaderStyle/datagrid_rowheader.csproj @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Controls/DataGrid/SelectedCellsChanged/datagrid_cellselection.csproj b/snippets/csharp/System.Windows.Controls/DataGrid/SelectedCellsChanged/datagrid_cellselection.csproj index bd2678fb2fa..cf71feea45b 100644 --- a/snippets/csharp/System.Windows.Controls/DataGrid/SelectedCellsChanged/datagrid_cellselection.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGrid/SelectedCellsChanged/datagrid_cellselection.csproj @@ -5,11 +5,11 @@ true - - + + all - + diff --git a/snippets/csharp/System.Windows.Controls/DataGridCheckBoxColumn/Overview/columnsartsample.csproj b/snippets/csharp/System.Windows.Controls/DataGridCheckBoxColumn/Overview/columnsartsample.csproj index 68db8bb3ee7..6d27fcb4e64 100644 --- a/snippets/csharp/System.Windows.Controls/DataGridCheckBoxColumn/Overview/columnsartsample.csproj +++ b/snippets/csharp/System.Windows.Controls/DataGridCheckBoxColumn/Overview/columnsartsample.csproj @@ -15,7 +15,7 @@ - + \ No newline at end of file diff --git a/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/Project.csproj b/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/Project.csproj index 5ec1d5391af..7b8c13403f2 100644 --- a/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/Project.csproj +++ b/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/Project.csproj @@ -7,7 +7,7 @@ - + diff --git a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj index 292f4cf7ab8..07c66899a7c 100644 --- a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj +++ b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj @@ -19,7 +19,7 @@ - +