Skip to content

Commit eadc892

Browse files
pkulikovmairaw
authored andcommitted
Update ValueTask`1.xml (#2005)
1 parent 954b302 commit eadc892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Threading.Tasks/ValueTask`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For uses other than consuming the result of an asynchronous operation using awai
5050
As such, the default choice for any asynchronous method should be to return a <xref:System.Threading.Tasks.Task> or <xref:System.Threading.Tasks.Task%601>. Only if performance analysis proves it worthwhile should a <xref:System.Threading.Tasks.ValueTask%601> be used instead of a <xref:System.Threading.Tasks.Task%601>. There is no non-generic version of <xref:System.Threading.Tasks.ValueTask%601>, as the <xref:System.Threading.Tasks.Task.CompletedTask> property may be used to hand back a successfully completed singleton in the case where a method returning a <xref:System.Threading.Tasks.Task> completes synchronously and successfully.
5151
5252
> [!NOTE]
53-
> The use of the <xref:System.Threading.Tasks.ValueTask%601> type is supported starting with C# 7, and is not supported by any version of Visual Basic.
53+
> 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.
5454
]]></format>
5555
</remarks>
5656
</Docs>
@@ -623,4 +623,4 @@ As such, the default choice for any asynchronous method should be to return a <x
623623
</Docs>
624624
</Member>
625625
</Members>
626-
</Type>
626+
</Type>

0 commit comments

Comments
 (0)