36 references to Regular
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (36)
EditAndContinue\Helpers\EditingTestBase.cs (7)
161internal static EditScriptDescription GetMethodEdits(string src1, string src2, MethodKind kind = MethodKind.Regular) 167internal static Match<SyntaxNode> GetMethodMatch(string src1, string src2, MethodKind kind = MethodKind.Regular) 179Assert.Equal(kind is not MethodKind.Regular and not MethodKind.ConstructorWithParameters, needsSyntaxMap); 184internal static IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>> GetMethodMatches(string src1, string src2, MethodKind kind = MethodKind.Regular) 198MethodKind kind = MethodKind.Regular) 218var bodyNode = (kind != MethodKind.Regular) 225internal static string WrapMethodBodyWithClass(string bodySource, MethodKind kind = MethodKind.Regular)
EditAndContinue\StatementEditingTests.cs (4)
9408var edits = GetTopEdits(src1, src2, MethodKind.Regular); 9431var edits = GetTopEdits(src1, src2, MethodKind.Regular); 9459var edits = GetTopEdits(src1, src2, MethodKind.Regular); 9480var edits = GetTopEdits(src1, src2, MethodKind.Regular);
EditAndContinue\StatementMatchingTests.cs (25)
161var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 186var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 219var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 486var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 513var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 540var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 559var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 591var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 984var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 1931var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 1971var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2004var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2032var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2063var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2100var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2130var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2166var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2215var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2253var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2345var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2379var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2412var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2443var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2465var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular); 2485var match = GetMethodMatches(src1, src2, kind: MethodKind.Regular);