    End Function
End Class";

            await VBVerify.VerifyAnalyzerAsync(test);
        }

        [Fact]
        public async Task MethodChecksVsThreadingOnly_WithCType_VB()
        {
            var test = VBPreamble + @"
Class Test
    Async Function CheckAndDispose(o) As Task