Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions xml/System.Threading.Tasks/ValueTask.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ Using a `ValueTask` instead of a <xref:System.Threading.Tasks.Task> introduces s

> [!NOTE]
> The use of the `ValueTask` type is supported starting with C# 7.0 and is not supported by any version of Visual Basic.

> [!NOTE]
> An instance created with the default constructor (a zero initialized structure) represents a synchronously, successfully completed operation.

]]></format>
</remarks>
</Docs>
Expand Down
4 changes: 4 additions & 0 deletions xml/System.Threading.Tasks/ValueTask`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ As such, the default choice for any asynchronous method should be to return a <x

> [!NOTE]
> The use of the <xref:System.Threading.Tasks.ValueTask%601> type is supported starting with C# 7.0, and is not supported by any version of Visual Basic.

> [!NOTE]
> An instance created with the default constructor (a zero initialized structure) represents a synchronously, successfully completed operation with a result of `default(TResult)`.

]]></format>
</remarks>
</Docs>
Expand Down