@@ -120,7 +120,7 @@ public static explicit operator TestClass({typeExpression} p1)
120120 }
121121
122122 [ Fact ]
123- public Task ValidateTuplesFromInterfaceAsync ( )
123+ public async Task ValidateTuplesFromInterfaceAsync ( )
124124 {
125125 const string testCode = @"
126126using System.Collections.Generic;
@@ -133,11 +133,11 @@ class StringTupleComparer : IEqualityComparer<(string, string)>
133133 public int GetHashCode((string, string) obj) => throw null;
134134 }
135135}" ;
136- return VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , default ) ;
136+ await VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , CancellationToken . None ) . ConfigureAwait ( false ) ;
137137 }
138138
139139 [ Fact ]
140- public Task ValidateTuplesFromExplicitInterfaceImplementationAsync ( )
140+ public async Task ValidateTuplesFromExplicitInterfaceImplementationAsync ( )
141141 {
142142 const string testCode = @"
143143using System.Collections.Generic;
@@ -150,11 +150,11 @@ class StringTupleComparer : IEqualityComparer<(string, string)>
150150 int IEqualityComparer<(string, string)>.GetHashCode((string, string) obj) => throw null;
151151 }
152152}" ;
153- return VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , default ) ;
153+ await VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , CancellationToken . None ) . ConfigureAwait ( false ) ;
154154 }
155155
156156 [ Fact ]
157- public Task ValidateTuplesFromBaseClassAsync ( )
157+ public async Task ValidateTuplesFromBaseClassAsync ( )
158158 {
159159 const string testCode = @"
160160namespace Test {
@@ -172,7 +172,7 @@ abstract class B
172172 public virtual ([|int|], [|int|]) Run(([|int|], [|int|]) y) => throw null;
173173 }
174174}" ;
175- return VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , default ) ;
175+ await VerifyCSharpDiagnosticAsync ( testCode , DiagnosticResult . EmptyDiagnosticResults , CancellationToken . None ) . ConfigureAwait ( false ) ;
176176 }
177177 }
178178}
0 commit comments