94 references to Regular6
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenDeconstructTests.cs (2)
6586
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular6
);
6627
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular6
);
CodeGen\CodeGenTupleTest.cs (1)
10941
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular6
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Semantics\PatternMatchingTests.cs (3)
49
CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
3360
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular6
);
4065
parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Semantics\PatternSwitchTests.cs (4)
978
CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1016
CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
3229
var compilation = CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular6
);
3276
var compilation = CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular6
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (66)
Semantics\DeconstructionTests.cs (1)
2223
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular6
);
Semantics\ExpressionBodiedMemberTests.cs (1)
1044
CreateCompilation(source, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (4)
2436
}", parseOptions: TestOptions.
Regular6
)
4293
var comp = CreateCompilation(text, parseOptions: TestOptions.
Regular6
);
7892
var comp = CreateCompilation(new[] { Parse(test, options: TestOptions.
Regular6
) }, new MetadataReference[] { });
16741
var comp = CreateCompilation(text, parseOptions: TestOptions.
Regular6
);
Semantics\SwitchTests.cs (59)
79
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
114
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
150
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
192
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
255
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
331
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
396
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
437
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
462
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
492
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
522
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
550
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
593
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
633
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
675
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
725
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
779
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
832
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
887
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
920
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
959
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1001
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1037
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1083
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1202
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1243
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1293
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1336
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1374
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1417
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
1461
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1511
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1562
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1615
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1666
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1717
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1768
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1825
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1883
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
1943
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2000
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2067
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2106
CompileAndVerify(text, parseOptions: TestOptions.
Regular6
, expectedOutput: "a1");
2142
CompileAndVerify(text, parseOptions: TestOptions.
Regular6
, expectedOutput: "a2");
2179
CompileAndVerify(text, parseOptions: TestOptions.
Regular6
, expectedOutput:
2227
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2267
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2304
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2359
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2462
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2519
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2579
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2613
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2682
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2714
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2749
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2780
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2912
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
2945
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics();
Semantics\TopLevelStatementsTests.cs (1)
1983
Parse(text1, filename: "text2", TestOptions.
Regular6
) },
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Compilation\SemanticModelGetSemanticInfoTests.cs (7)
8642
var semanticInfo = GetSemanticInfoForTest<ParenthesizedLambdaExpressionSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
8682
var semanticInfo = GetSemanticInfoForTest<IdentifierNameSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
8723
var semanticInfo = GetSemanticInfoForTest<LiteralExpressionSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
11039
var semanticInfo = GetSemanticInfoForTest<LiteralExpressionSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
11105
var semanticInfo = GetSemanticInfoForTest<LiteralExpressionSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
12607
var semanticInfo = GetSemanticInfoForTest<IdentifierNameSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
12641
var semanticInfo = GetSemanticInfoForTest<IdentifierNameSyntax>(sourceCode, parseOptions: TestOptions.
Regular6
);
Symbols\Source\PropertyTests.cs (1)
2967
comp = CreateCompilation(source, parseOptions: TestOptions.
Regular6
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\LocalFunctionParsingTests.cs (1)
1304
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Parsing\ParserErrorMessageTests.cs (4)
2885
CreateCompilation(test, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
4615
CreateCompilation(test, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
5676
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
6430
CreateCompilation(source, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Parsing\ParsingErrorRecoveryTests.cs (2)
6253
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
6368
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Parsing\PatternParsingTests.cs (1)
86
CreateCompilation(test, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Parsing\SeparatedSyntaxListParsingTests.cs (1)
673
CreateCompilation(text, parseOptions: TestOptions.
Regular6
).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
63
public static readonly CSharpParseOptions Regular6WithV7SwitchBinder =
Regular6
.WithFeatures(new Dictionary<string, string>() { { "testV7SwitchBinder", "true" } });