Skip to content

Commit 9bb119c

Browse files
lifenglAArnott
andauthored
Update src/Microsoft.VisualStudio.Threading/JoinableTaskContext.cs
Co-authored-by: Andrew Arnott <Andrew.arnott@Microsoft.com>
1 parent dd84240 commit 9bb119c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Microsoft.VisualStudio.Threading/JoinableTaskContext.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,12 @@ public bool IsWithinJoinableTask
246246
}
247247

248248
/// <summary>
249-
/// Gets a value indicating whether gets a value indicating the JoinableTask is not associated with any main thread.
250-
/// This allows library code to skip some additional work in the environments that do not have a main thread.
249+
/// Gets a value indicating whether this instance is not associated with any main thread
250+
/// (e.g. created with <see cref="CreateNoOpContext" />).
251251
/// </summary>
252+
/// <remarks>
253+
/// This allows library code to skip some additional work in the environments that do not have a main thread.
254+
/// </remarks>
252255
public bool IsNoOpContext => this.UnderlyingSynchronizationContext is null;
253256

254257
/// <summary>

0 commit comments

Comments
 (0)