Similar to #821 but for ValueTask
The following code triggers RCS1229, which disappears if the return type is changed to Task:
public static class Rcs1229Repro
{
public static ValueTask Foo()
{
using var memoryStream = new MemoryStream();
return ValueTask.CompletedTask;
}
}
(btw there's a typo in the method name here, there is a second "Or" instead of "Of" in IsTaskOrTaskOrT)
Similar to #821 but for
ValueTaskThe following code triggers RCS1229, which disappears if the return type is changed to
Task:(btw there's a typo in the method name here, there is a second "Or" instead of "Of" in
IsTaskOrTaskOrT)