diff --git a/src/EditorFeatures/VisualBasicTest/Recommendations/Expressions/KeyKeywordRecommenderTests.vb b/src/EditorFeatures/VisualBasicTest/Recommendations/Expressions/KeyKeywordRecommenderTests.vb index 2b5792cee6a450d8d566f32146a704b5cc42301f..378b34f3ba7418a2012410bebd0a28685e228448 100644 --- a/src/EditorFeatures/VisualBasicTest/Recommendations/Expressions/KeyKeywordRecommenderTests.vb +++ b/src/EditorFeatures/VisualBasicTest/Recommendations/Expressions/KeyKeywordRecommenderTests.vb @@ -10,8 +10,9 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Ex Await VerifyRecommendationsMissingAsync(|, "Key") End Function + - Public Shared Async Function KeyNotAfterArrayInitializerSquiggleTest() As Task + Public Async Function KeyNotAfterArrayInitializerSquiggleTest() As Task Await VerifyRecommendationsMissingAsync(Dim x = {|, "Key") End Function diff --git a/src/EditorFeatures/VisualBasicTest/Recommendations/OnErrorStatements/ErrorKeywordRecommenderTests.vb b/src/EditorFeatures/VisualBasicTest/Recommendations/OnErrorStatements/ErrorKeywordRecommenderTests.vb index 2b96352a4e1251a06507f3f154ddadd8e14db81c..ea1bef1ccfba8b1d2901fa74068b03801cdc27bc 100644 --- a/src/EditorFeatures/VisualBasicTest/Recommendations/OnErrorStatements/ErrorKeywordRecommenderTests.vb +++ b/src/EditorFeatures/VisualBasicTest/Recommendations/OnErrorStatements/ErrorKeywordRecommenderTests.vb @@ -17,9 +17,10 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.On Await VerifyRecommendationsContainAsync(|, "Error") End Function + - Public Shared Async Function ErrorStatementInLambdaTest() As Task + Public Async Function ErrorStatementInLambdaTest() As Task Dim code = Public Class Z Public Sub Main()