154 references to ParseFile
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (154)
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);
2985
var file = this.
ParseFile
(text);
3037
var file = this.
ParseFile
(text);
3098
var file = this.
ParseFile
(text);
3163
var file = this.
ParseFile
(text);
3237
var file = this.
ParseFile
(text);
3302
var file = this.
ParseFile
(text);
3354
var file = this.
ParseFile
(text);
3400
var file = this.
ParseFile
(text);
3465
var file = this.
ParseFile
(text);
3481
var file = this.
ParseFile
(text);
3516
var file = this.
ParseFile
(text);
3563
var file = this.
ParseFile
(text);
3600
var file = this.
ParseFile
(text);
3660
var file = this.
ParseFile
(text);
3700
var file = this.
ParseFile
(text);
3754
var file = this.
ParseFile
(text);
3810
var file = this.
ParseFile
(text);
3855
var file = this.
ParseFile
(text);
3899
var file = this.
ParseFile
(text);
3944
var file = this.
ParseFile
(text);
3998
var file = this.
ParseFile
(text);
4061
var file = this.
ParseFile
(text);
4107
var file = this.
ParseFile
(text);
4161
var file = this.
ParseFile
(text);
4216
var file = this.
ParseFile
(text, TestOptions.Regular);
4289
var file = this.
ParseFile
(text);
4343
var file = this.
ParseFile
(text);
4397
var file = this.
ParseFile
(text);
4453
var file = this.
ParseFile
(text);
4481
var file = this.
ParseFile
(text);
4537
var file = this.
ParseFile
(text);
4593
var file = this.
ParseFile
(text);
4677
var file = this.
ParseFile
(text);
4733
var file = this.
ParseFile
(text);
4787
var file = this.
ParseFile
(text);
4870
var file = this.
ParseFile
(text);
4927
var file = this.
ParseFile
(text);
4994
var file = this.
ParseFile
(text);
5062
var file = this.
ParseFile
(text, TestOptions.Regular);
5129
var file = this.
ParseFile
(text);
5205
var file = this.
ParseFile
(text);
5273
var file = this.
ParseFile
(text);
5353
var file = this.
ParseFile
(text);
5410
var file = this.
ParseFile
(text);
5467
var file = this.
ParseFile
(text);
5530
var file = this.
ParseFile
(text);
5578
var file = this.
ParseFile
(text);
5626
var file = this.
ParseFile
(text);
5638
file = this.
ParseFile
(text);
5650
file = this.
ParseFile
(text);
5705
var file = this.
ParseFile
(text);
5777
var file = this.
ParseFile
(text);
5793
var file = this.
ParseFile
(text);
5877
var file = this.
ParseFile
(text);
5935
var file = this.
ParseFile
(text);
5948
var file = this.
ParseFile
(text);
5963
var file = this.
ParseFile
(text);
5989
var file = this.
ParseFile
(text);
6365
var file = this.
ParseFile
(text);
6386
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
(