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
… exists with an assert instead. SingleExecuteProtector can only ever be constructed with a non-null job (validates with Requires.NotNull) and the job is only set to null after TryExecute succeeds. Therefore the job will exist if TryExecute has an invokeDelegate (i.e. has not yet executed). Removed the #pragma that disabled the CS8602 warning.
The following code will dereference null when/if
this.job==null
vs-threading/src/Microsoft.VisualStudio.Threading/JoinableTaskFactory.cs
Lines 1219 to 1221 in 1d6737a
As found by @sharwell in #534
This was introduced by bee1e2d.
The text was updated successfully, but these errors were encountered: