-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move snippet to separate files for csharp and vb #8079
base: main
Are you sure you want to change the base?
Conversation
|
Docs Build status updates of commit 9ae5c8e: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can you also add a simple .NET 6 project file for the VB example?
@@ -0,0 +1,9 @@ | |||
// <Snippet2> | |||
// Enter semaphore by calling one of the Wait or WaitAsync methods. | |||
SemaphoreSlim.Wait() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SemaphoreSlim.Wait() | |
SemaphoreSlim.Wait(); |
// | ||
// Execute code protected by the semaphore. | ||
// | ||
SemaphoreSlim.Release() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SemaphoreSlim.Release() | |
SemaphoreSlim.Release(); |
Summary
Move the SemaphoreSlim code snippet to separate snippet files for C# and VB.NET
No issue has been created for this.