154 references to ParseFile
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (154)
Parsing\DeclarationParsingTests.cs (148)
32var file = this.ParseFile(text); 55var file = this.ParseFile(text); 77var file = this.ParseFile(text); 99var file = this.ParseFile(text); 114var file = this.ParseFile(text); 129var file = this.ParseFile(text); 144var file = this.ParseFile(text); 166var file = this.ParseFile(text); 188var file = this.ParseFile(text); 210var file = this.ParseFile(text); 234var file = this.ParseFile(text); 258var file = this.ParseFile(text); 284var file = this.ParseFile(text); 313var file = this.ParseFile(text); 342var file = this.ParseFile(text); 369var file = this.ParseFile(text); 397var file = this.ParseFile(text); 427var file = this.ParseFile(text); 458var file = this.ParseFile(text); 494var file = this.ParseFile(text); 526var file = this.ParseFile(text); 563var file = this.ParseFile(text); 585var file = this.ParseFile(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview)); 606var file = this.ParseFile(text); 628var file = this.ParseFile(text); 651var file = this.ParseFile(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview)); 673var file = this.ParseFile(text); 696var file = this.ParseFile(text, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview)); 718var file = this.ParseFile(text); 742var file = this.ParseFile(text); 773var file = this.ParseFile(text); 799var file = this.ParseFile(text); 826var file = this.ParseFile(text); 853var file = this.ParseFile(text); 880var file = this.ParseFile(text); 907var file = this.ParseFile(text); 934var file = this.ParseFile(text); 961var file = this.ParseFile(text); 988var file = this.ParseFile(text); 1016var file = this.ParseFile(text); 1043var file = this.ParseFile(text); 1074var file = this.ParseFile(text); 1106var file = this.ParseFile(text); 1146var file = this.ParseFile(text); 1209var file = this.ParseFile(text); 1253var file = this.ParseFile(text); 1294var file = this.ParseFile(text); 1335var file = this.ParseFile(text); 1391var file = this.ParseFile(text); 1446var file = this.ParseFile(text); 1492var file = this.ParseFile(text); 1536var file = this.ParseFile(text); 1596var file = this.ParseFile(text); 1621var file = this.ParseFile(text); 1651var file = this.ParseFile(text); 1683var file = this.ParseFile(text); 1708var file = this.ParseFile(text); 1748var file = this.ParseFile(text); 1789var file = this.ParseFile(text); 1830var file = this.ParseFile(text); 1872var file = this.ParseFile(text); 1914var file = this.ParseFile(text); 1955var file = this.ParseFile(text); 1996var file = this.ParseFile(text); 2023var file = this.ParseFile(text); 2051var file = this.ParseFile(text, TestOptions.Regular); 2098var file = this.ParseFile(text); 2144var file = this.ParseFile(text); 2179var file = this.ParseFile(text); 2214var file = this.ParseFile(text); 2256var file = this.ParseFile(text); 2292var file = this.ParseFile(text); 2328var file = this.ParseFile(text); 2364var file = this.ParseFile(text); 2398var file = this.ParseFile(text); 2434var file = this.ParseFile(text); 2476var file = this.ParseFile(text); 2522var file = this.ParseFile(text); 2568var file = this.ParseFile(text, TestOptions.Regular); 2613var file = this.ParseFile(text); 2643var file = this.ParseFile(text, parseOptions: TestOptions.Regular); 2671var file = this.ParseFile(text); 2739var file = this.ParseFile(text); 2786var file = this.ParseFile(text, TestOptions.Regular); 2833var file = this.ParseFile(text, TestOptions.Regular); 2883var file = this.ParseFile(text, TestOptions.Regular); 2924var file = this.ParseFile(text, TestOptions.Regular); 2969var file = this.ParseFile(text, TestOptions.Regular); 2985var file = this.ParseFile(text); 3037var file = this.ParseFile(text); 3098var file = this.ParseFile(text); 3163var file = this.ParseFile(text); 3237var file = this.ParseFile(text); 3302var file = this.ParseFile(text); 3354var file = this.ParseFile(text); 3400var file = this.ParseFile(text); 3465var file = this.ParseFile(text); 3481var file = this.ParseFile(text); 3516var file = this.ParseFile(text); 3563var file = this.ParseFile(text); 3600var file = this.ParseFile(text); 3660var file = this.ParseFile(text); 3700var file = this.ParseFile(text); 3754var file = this.ParseFile(text); 3810var file = this.ParseFile(text); 3855var file = this.ParseFile(text); 3899var file = this.ParseFile(text); 3944var file = this.ParseFile(text); 3998var file = this.ParseFile(text); 4061var file = this.ParseFile(text); 4107var file = this.ParseFile(text); 4161var file = this.ParseFile(text); 4216var file = this.ParseFile(text, TestOptions.Regular); 4289var file = this.ParseFile(text); 4343var file = this.ParseFile(text); 4397var file = this.ParseFile(text); 4453var file = this.ParseFile(text); 4481var file = this.ParseFile(text); 4537var file = this.ParseFile(text); 4593var file = this.ParseFile(text); 4677var file = this.ParseFile(text); 4733var file = this.ParseFile(text); 4787var file = this.ParseFile(text); 4870var file = this.ParseFile(text); 4927var file = this.ParseFile(text); 4994var file = this.ParseFile(text); 5062var file = this.ParseFile(text, TestOptions.Regular); 5129var file = this.ParseFile(text); 5205var file = this.ParseFile(text); 5273var file = this.ParseFile(text); 5353var file = this.ParseFile(text); 5410var file = this.ParseFile(text); 5467var file = this.ParseFile(text); 5530var file = this.ParseFile(text); 5578var file = this.ParseFile(text); 5626var file = this.ParseFile(text); 5638file = this.ParseFile(text); 5650file = this.ParseFile(text); 5705var file = this.ParseFile(text); 5777var file = this.ParseFile(text); 5793var file = this.ParseFile(text); 5877var file = this.ParseFile(text); 5935var file = this.ParseFile(text); 5948var file = this.ParseFile(text); 5963var file = this.ParseFile(text); 5989var file = this.ParseFile(text); 6365var file = this.ParseFile(text); 6386var file = this.ParseFile(text);
Parsing\LocalFunctionParsingTests.cs (6)
1157var file = ParseFile(@" 1197file = ParseFile(errorText); 1238var file = ParseFile(@"public class C { 1287var file = ParseFile(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)); 1327var file = ParseFile(@" 1678var file = ParseFile(