25 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (25)
EditAndContinue\Helpers\EditingTestBase.vb (13)
228Friend Shared Function GetMethodEdits(src1 As String, src2 As String, Optional methodKind As MethodKind = MethodKind.Regular) As EditScriptDescription 233Friend Shared Function GetMethodMatch(src1 As String, src2 As String, Optional methodKind As MethodKind = MethodKind.Regular) As Match(Of SyntaxNode) 243Assert.Equal(methodKind <> MethodKind.Regular, needsSyntaxMap) 250Optional kind As MethodKind = MethodKind.Regular) As IEnumerable(Of KeyValuePair(Of SyntaxNode, SyntaxNode)) 263Friend Shared Function MakeMethodBody(bodySource As String, Optional stateMachine As MethodKind = MethodKind.Regular) As MemberBody 274Private Shared Function WrapMethodBodyWithClass(bodySource As String, Optional kind As MethodKind = MethodKind.Regular) As String 276Case MethodKind.Iterator 279Case MethodKind.Async
EditAndContinue\StatementEditingTests.vb (7)
5394Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Iterator) 5412Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Iterator) 5430Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Iterator) 5447Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Iterator) 5520Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Async) 5536Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Async) 5552Dim edits = GetMethodEdits(src1, src2, methodKind:=MethodKind.Async)
EditAndContinue\StatementMatchingTests.vb (5)
507Dim match = GetMethodMatch(src1, src2, methodKind:=MethodKind.Async) 1326Dim match = GetMethodMatches(src1, src2, kind:=MethodKind.Iterator) 1365Dim match = GetMethodMatches(src1, src2, kind:=MethodKind.Regular) 1473Dim match = GetMethodMatches(src1, src2, kind:=MethodKind.Async) 1510Dim match = GetMethodMatches(src1, src2, kind:=MethodKind.Regular)