Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 141 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
6 changes: 3 additions & 3 deletions _zip/missingapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.12" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.12" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="10.0.12" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="10.0.12" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="EntityFramework" Version="6.4.4" />
<PackageReference Include="EntityFramework" Version="6.5.2" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<UseWPF>true</UseWPF>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.310302">
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.3" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.421302">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.6" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="10.0.12" />
</ItemGroup>
<ItemGroup>
<Content Include="appsettings.json" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/1456712-objc_msgsend">msgSend()</see>.</summary>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/objc_msgsend">msgSend()</see>.</summary>
</Docs>
</Member>
<Member MemberName="MsgSendFpret">
Expand All @@ -65,7 +65,7 @@
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/1456697-objc_msgsend_fpret">objc_msgSend_fpret()</see>.</summary>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/objc_msgsend_fpret">objc_msgSend_fpret()</see>.</summary>
</Docs>
</Member>
<Member MemberName="MsgSendStret">
Expand Down Expand Up @@ -111,7 +111,7 @@
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/1456716-objc_msgsendsuper">objc_msgSendSuper()</see>.</summary>
<summary>Overrides the Objective-C runtime's <see href="https://developer.apple.com/documentation/objectivec/objc_msgsendsuper">objc_msgSendSuper()</see>.</summary>
</Docs>
</Member>
<Member MemberName="MsgSendSuperStret">
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Threading/Lock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It is recommended to use the <xref:System.Threading.Lock.EnterScope*> 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 <xref:System.Threading.Monitor>). 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 <xref:System.Threading.Monitor>). For more information, see the relevant [compiler speclet](https://learn.microsoft.com/dotnet/csharp/language-reference/statements/lock).

<xref:System.Threading.Thread.Interrupt*> 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 <xref:System.Threading.SynchronizationContext>.

Expand Down
Loading