155 references to ParseFile
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (155)
Parsing\DeclarationParsingTests.cs (148)
32
var file = this.
ParseFile
(text);
55
var file = this.
ParseFile
(text);
77
var file = this.
ParseFile
(text);
99
var file = this.
ParseFile
(text);
114
var file = this.
ParseFile
(text);
129
var file = this.
ParseFile
(text);
144
var file = this.
ParseFile
(text);
166
var file = this.
ParseFile
(text);
188
var file = this.
ParseFile
(text);
210
var file = this.
ParseFile
(text);
234
var file = this.
ParseFile
(text);
258
var file = this.
ParseFile
(text);
284
var file = this.
ParseFile
(text);
313
var file = this.
ParseFile
(text);
342
var file = this.
ParseFile
(text);
369
var file = this.
ParseFile
(text);
397
var file = this.
ParseFile
(text);
427
var file = this.
ParseFile
(text);
458
var file = this.
ParseFile
(text);
494
var file = this.
ParseFile
(text);
526
var file = this.
ParseFile
(text);
563
var file = this.
ParseFile
(text);
585
var file = this.
ParseFile
(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
606
var file = this.
ParseFile
(text);
628
var file = this.
ParseFile
(text);
651
var file = this.
ParseFile
(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
673
var file = this.
ParseFile
(text);
696
var file = this.
ParseFile
(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
718
var file = this.
ParseFile
(text);
742
var file = this.
ParseFile
(text);
773
var file = this.
ParseFile
(text);
799
var file = this.
ParseFile
(text);
826
var file = this.
ParseFile
(text);
853
var file = this.
ParseFile
(text);
880
var file = this.
ParseFile
(text);
907
var file = this.
ParseFile
(text);
934
var file = this.
ParseFile
(text);
961
var file = this.
ParseFile
(text);
988
var file = this.
ParseFile
(text);
1016
var file = this.
ParseFile
(text);
1043
var file = this.
ParseFile
(text);
1074
var file = this.
ParseFile
(text);
1106
var file = this.
ParseFile
(text);
1146
var file = this.
ParseFile
(text);
1209
var file = this.
ParseFile
(text);
1253
var file = this.
ParseFile
(text);
1294
var file = this.
ParseFile
(text);
1335
var file = this.
ParseFile
(text);
1391
var file = this.
ParseFile
(text);
1446
var file = this.
ParseFile
(text);
1492
var file = this.
ParseFile
(text);
1536
var file = this.
ParseFile
(text);
1596
var file = this.
ParseFile
(text);
1621
var file = this.
ParseFile
(text);
1651
var file = this.
ParseFile
(text);
1683
var file = this.
ParseFile
(text);
1708
var file = this.
ParseFile
(text);
1748
var file = this.
ParseFile
(text);
1789
var file = this.
ParseFile
(text);
1830
var file = this.
ParseFile
(text);
1872
var file = this.
ParseFile
(text);
1914
var file = this.
ParseFile
(text);
1955
var file = this.
ParseFile
(text);
1996
var file = this.
ParseFile
(text);
2023
var file = this.
ParseFile
(text);
2051
var file = this.
ParseFile
(text, TestOptions.Regular);
2098
var file = this.
ParseFile
(text);
2144
var file = this.
ParseFile
(text);
2179
var file = this.
ParseFile
(text);
2214
var file = this.
ParseFile
(text);
2256
var file = this.
ParseFile
(text);
2292
var file = this.
ParseFile
(text);
2328
var file = this.
ParseFile
(text);
2364
var file = this.
ParseFile
(text);
2398
var file = this.
ParseFile
(text);
2434
var file = this.
ParseFile
(text);
2476
var file = this.
ParseFile
(text);
2522
var file = this.
ParseFile
(text);
2568
var file = this.
ParseFile
(text, TestOptions.Regular);
2613
var file = this.
ParseFile
(text);
2643
var file = this.
ParseFile
(text, parseOptions: TestOptions.Regular);
2671
var file = this.
ParseFile
(text);
2739
var file = this.
ParseFile
(text);
2786
var file = this.
ParseFile
(text, TestOptions.Regular);
2833
var file = this.
ParseFile
(text, TestOptions.Regular);
2883
var file = this.
ParseFile
(text, TestOptions.Regular);
2924
var file = this.
ParseFile
(text, TestOptions.Regular);
2969
var file = this.
ParseFile
(text, TestOptions.Regular);
3039
var file = this.
ParseFile
(text);
3091
var file = this.
ParseFile
(text);
3152
var file = this.
ParseFile
(text);
3217
var file = this.
ParseFile
(text);
3291
var file = this.
ParseFile
(text);
3356
var file = this.
ParseFile
(text);
3408
var file = this.
ParseFile
(text);
3454
var file = this.
ParseFile
(text);
3519
var file = this.
ParseFile
(text);
3535
var file = this.
ParseFile
(text);
3570
var file = this.
ParseFile
(text);
3617
var file = this.
ParseFile
(text);
3654
var file = this.
ParseFile
(text);
3714
var file = this.
ParseFile
(text);
3754
var file = this.
ParseFile
(text);
3808
var file = this.
ParseFile
(text);
3864
var file = this.
ParseFile
(text);
3909
var file = this.
ParseFile
(text);
3953
var file = this.
ParseFile
(text);
3998
var file = this.
ParseFile
(text);
4052
var file = this.
ParseFile
(text);
4115
var file = this.
ParseFile
(text);
4161
var file = this.
ParseFile
(text);
4215
var file = this.
ParseFile
(text);
4270
var file = this.
ParseFile
(text, TestOptions.Regular);
4343
var file = this.
ParseFile
(text);
4397
var file = this.
ParseFile
(text);
4451
var file = this.
ParseFile
(text);
4507
var file = this.
ParseFile
(text);
4535
var file = this.
ParseFile
(text);
4591
var file = this.
ParseFile
(text);
4647
var file = this.
ParseFile
(text);
4731
var file = this.
ParseFile
(text);
4787
var file = this.
ParseFile
(text);
4841
var file = this.
ParseFile
(text);
4924
var file = this.
ParseFile
(text);
4981
var file = this.
ParseFile
(text);
5048
var file = this.
ParseFile
(text);
5116
var file = this.
ParseFile
(text, TestOptions.Regular);
5183
var file = this.
ParseFile
(text);
5259
var file = this.
ParseFile
(text);
5327
var file = this.
ParseFile
(text);
5407
var file = this.
ParseFile
(text);
5464
var file = this.
ParseFile
(text);
5521
var file = this.
ParseFile
(text);
5584
var file = this.
ParseFile
(text);
5632
var file = this.
ParseFile
(text);
5680
var file = this.
ParseFile
(text);
5692
file = this.
ParseFile
(text);
5704
file = this.
ParseFile
(text);
5759
var file = this.
ParseFile
(text);
5831
var file = this.
ParseFile
(text);
5847
var file = this.
ParseFile
(text);
5931
var file = this.
ParseFile
(text);
5989
var file = this.
ParseFile
(text);
6002
var file = this.
ParseFile
(text);
6017
var file = this.
ParseFile
(text);
6043
var file = this.
ParseFile
(text);
6419
var file = this.
ParseFile
(text);
6440
var file = this.
ParseFile
(text);
Parsing\LocalFunctionParsingTests.cs (6)
1157
var file =
ParseFile
(@"
1197
file =
ParseFile
(errorText);
1238
var file =
ParseFile
(@"public class C {
1287
var file =
ParseFile
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
1327
var file =
ParseFile
(@"
1678
var file =
ParseFile
(
Parsing\ParsingTests.cs (1)
86
ParseFile
(text, parseOptions: TestOptions.Regular.WithExperimental(feature));