-
Notifications
You must be signed in to change notification settings - Fork 352
Fix parallel discovery #3437
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
Fix parallel discovery #3437
Changes from all commits
2b75583
674c3ed
31f6307
9dc3cfe
44ae540
3ed330d
294b1c0
f9106b8
4f74609
0bf9864
e0acba1
fd5e6a4
670c1c0
36eccdc
63b1c1e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
|
||
| using System.Diagnostics.CodeAnalysis; | ||
| using System.Diagnostics; | ||
|
|
||
| using SystemDebug = System.Diagnostics.Debug; | ||
|
|
||
| namespace Microsoft.TestPlatform; | ||
|
|
||
| [SuppressMessage("ApiDesign", "RS0030:Do not used banned APIs", Justification = "Replacement API to allow nullable hints for compiler")] | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could remove this because I haven't yet banned the other symbol but keeping it would simplify merge for later changes.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep it. |
||
| internal static class Debug | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am always forcing this one but FYI in recent versions the system |
||
| { | ||
| /// <inheritdoc cref="SystemDebug.Assert(bool)"/> | ||
| [Conditional("DEBUG")] | ||
| public static void Assert([DoesNotReturnIf(false)] bool b) | ||
| => SystemDebug.Assert(b); | ||
|
|
||
| /// <inheritdoc cref="SystemDebug.Assert(bool, string)"/> | ||
| [Conditional("DEBUG")] | ||
| public static void Assert([DoesNotReturnIf(false)] bool b, string message) | ||
| => SystemDebug.Assert(b, message); | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.