You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking of banning Debug.Assert, and instead introduce CIDebug.Assert
When building in CI, we can build with some MSBuild property that propagates back to DefineConstants, and DebugOrCI.Assert could be something like this:
@nohwnd Only usages in our code. This is only to make our life easier when an assert fails in CI. So, basically when running in CI and in Debug, we swap Debug.Assert with throw some exception.
I'm thinking of banning
Debug.Assert
, and instead introduceCIDebug.Assert
When building in CI, we can build with some MSBuild property that propagates back to DefineConstants, and
DebugOrCI.Assert
could be something like this:@Evangelink thoughts?
The text was updated successfully, but these errors were encountered: