24 overrides of ParseTree
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
Parsing\AsyncParsingTests.cs (1)
19
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\AsyncStreamsParsingTests.cs (1)
20
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\AwaitParsingTests.cs (1)
17
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\CrefParsingTests.cs (1)
21
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\DeclarationParsingTests.cs (1)
23
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\DeconstructionTests.cs (1)
32
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\ExpressionParsingTests.cs (1)
20
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\FileModifierParsingTests.cs (1)
18
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions? options)
Parsing\LambdaAttributeParsingTests.cs (1)
22
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions? options)
Parsing\LambdaParameterParsingTests.cs (1)
20
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\LambdaReturnTypeParsingTests.cs (1)
16
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions? options)
Parsing\LineSpanDirectiveParsingTests.cs (1)
18
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions? options)
Parsing\NameAttributeValueParsingTests.cs (1)
22
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\ParserRegressionTests.cs (1)
23
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\ReadOnlyStructs.cs (1)
21
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\RefReadonlyTests.cs (1)
21
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\RefStructs.cs (1)
21
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\ScriptParsingTests.cs (1)
23
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\SeparatedSyntaxListParsingTests.cs (1)
22
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\SingleLineDeclarationParsingTests.cs (1)
23
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\TypeArgumentListParsingTests.cs (1)
17
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\UsingDirectiveParsingTests.cs (1)
16
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions? options)
Parsing\ValueTupleTests.cs (1)
20
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
Parsing\VerbatimCrefParsingTests.cs (1)
21
protected override SyntaxTree
ParseTree
(string text, CSharpParseOptions options)
9 references to ParseTree
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\FieldKeywordParsingTests.cs (2)
2393
var tree =
ParseTree
("""
2404
tree =
ParseTree
("""
Parsing\ParserErrorMessageTests.cs (1)
3764
var tree =
ParseTree
(test, TestOptions.Regular);
Parsing\ParsingTests.cs (2)
87
ParseTree
(text, options).GetCompilationUnitRoot();
152
return UsingTree(
ParseTree
(text, options), expectedErrors);
Parsing\RecordParsing.cs (4)
264
var tree =
ParseTree
(text, options: TestOptions.Regular8);
308
var tree =
ParseTree
("interface P;", options: null);
330
var tree =
ParseTree
(text, options: TestOptions.Regular8);
333
tree =
ParseTree
(text, options: TestOptions.RegularPreview);