1 write to _syntaxFactory
Microsoft.CodeAnalysis.CSharp (1)
Parser\LanguageParser.cs (1)
46
_syntaxFactory
= new ContextAwareSyntax(_syntaxFactoryContext);
299 references to _syntaxFactory
Microsoft.CodeAnalysis.CSharp (299)
Parser\LanguageParser.cs (270)
190
var result =
_syntaxFactory
.CompilationUnit(body.Externs, body.Usings, body.Attributes, body.Members, eof);
230
var fileAsTrivia =
_syntaxFactory
.SkippedTokensTrivia(builder.ToList<SyntaxToken>());
295
return
_syntaxFactory
.FileScopedNamespaceDeclaration(
311
return
_syntaxFactory
.NamespaceDeclaration(
934
return
_syntaxFactory
.ExternAliasDirective(
944
return
_syntaxFactory
.NameEquals(
945
_syntaxFactory
.IdentifierName(this.ParseIdentifierToken()),
1016
return
_syntaxFactory
.UsingDirective(globalToken, usingToken, staticToken, unsafeToken, alias, type, semicolon);
1126
?
_syntaxFactory
.AttributeTargetSpecifier(ConvertToKeyword(this.EatToken()), this.EatToken(SyntaxKind.ColonToken))
1148
return
_syntaxFactory
.AttributeList(openBracket, location, attributes, closeBracket);
1195
return
_syntaxFactory
.Attribute(
1223
return
_syntaxFactory
.AttributeArgumentList(
1272
nameEquals =
_syntaxFactory
.NameEquals(
1273
_syntaxFactory
.IdentifierName(this.ParseIdentifierToken()),
1278
nameColon =
_syntaxFactory
.NameColon(
1286
return
_syntaxFactory
.AttributeArgument(
1835
return constructTypeDeclaration(
_syntaxFactory
, attributes, modifiers, keyword, recordModifier, name, typeParameters, paramList, baseList, constraints, openBrace, members, closeBrace, semicolon);
2068
?
_syntaxFactory
.PrimaryConstructorBaseType(firstType, this.ParseParenthesizedArgumentList())
2069
:
_syntaxFactory
.SimpleBaseType(firstType));
2083
list.Add(
_syntaxFactory
.SimpleBaseType(this.ParseType()));
2102
list.Add(
_syntaxFactory
.SimpleBaseType(this.ParseType()));
2112
return
_syntaxFactory
.BaseList(colon, _pool.ToListAndFree(list));
2153
bounds.Add(
_syntaxFactory
.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2185
bounds.Add(
_syntaxFactory
.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2201
return
_syntaxFactory
.TypeParameterConstraintClause(
2240
_syntaxFactory
.ConstructorConstraint(
2246
_syntaxFactory
.ClassOrStructConstraint(
2254
_syntaxFactory
.ClassOrStructConstraint(
2260
_syntaxFactory
.DefaultConstraint(defaultKeyword: this.EatToken()),
2263
_syntaxFactory
.TypeConstraint(AddTrailingSkippedSyntax(
2271
?
_syntaxFactory
.TypeConstraint(this.ParseType())
2272
:
_syntaxFactory
.TypeConstraint(AddTrailingSkippedSyntax(
2291
_syntaxFactory
.RefStructConstraint(
2304
return
_syntaxFactory
.AllowsConstraintClause(allows, _pool.ToListAndFree(bounds));
2307
return
_syntaxFactory
.TypeConstraint(this.ParseType());
2451
return @this.
_syntaxFactory
.IncompleteMember(
2525
return
_syntaxFactory
.GlobalStatement(ParseUnsafeStatement(attributes));
2532
return
_syntaxFactory
.GlobalStatement(ParseFixedStatement(attributes));
2541
return
_syntaxFactory
.GlobalStatement(ParseExpressionStatement(attributes));
2548
return
_syntaxFactory
.GlobalStatement(ParseExpressionStatement(attributes));
2578
var voidType =
_syntaxFactory
.PredefinedType(
2673
return
_syntaxFactory
.GlobalStatement(statement);
2820
result =
_syntaxFactory
.GlobalStatement(declaration);
2848
result =
_syntaxFactory
.GlobalStatement(statement);
2930
result =
_syntaxFactory
.IncompleteMember(attributes, modifiers.ToList(), type);
2951
var incompleteMember =
_syntaxFactory
.IncompleteMember(attributes, modifiers.ToList(), type.IsMissing ? null : type);
3317
return
_syntaxFactory
.ConstructorDeclaration(attributes, modifiers.ToList(), name, paramList, initializer, body, expressionBody, semicolon);
3349
:
_syntaxFactory
.ArgumentList(
3354
return
_syntaxFactory
.ConstructorInitializer(kind, colon, token, argumentList);
3363
var parameterList =
_syntaxFactory
.ParameterList(
3371
return
_syntaxFactory
.DestructorDeclaration(attributes, modifiers.ToList(), tilde, name, parameterList, body, expressionBody, semicolon);
3512
return
_syntaxFactory
.MethodDeclaration(
3653
return
_syntaxFactory
.ConversionOperatorDeclaration(
3661
_syntaxFactory
.ParameterList(
3692
return
_syntaxFactory
.ConversionOperatorDeclaration(
3772
return
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
3945
return
_syntaxFactory
.OperatorDeclaration(
4007
return
_syntaxFactory
.IndexerDeclaration(
4063
initializer =
_syntaxFactory
.EqualsValueClause(equals, value: value);
4076
return
_syntaxFactory
.PropertyDeclaration(
4144
return
_syntaxFactory
.AccessorList(
4152
return
_syntaxFactory
.ArrowExpressionClause(
4165
return refKeyword == null ? expression :
_syntaxFactory
.RefExpression(refKeyword, expression);
4476
return
_syntaxFactory
.AccessorDeclaration(
4513
return
_syntaxFactory
.ParameterList(open, parameters, close);
4524
return
_syntaxFactory
.BracketedParameterList(open, parameters, close);
4694
return
_syntaxFactory
.Parameter(
4720
return
_syntaxFactory
.Parameter(
4725
equalsToken == null ? null :
_syntaxFactory
.EqualsValueClause(equalsToken, this.ParseExpressionCore()));
4794
return
_syntaxFactory
.FieldDeclaration(
4796
_syntaxFactory
.VariableDeclaration(
4833
return
_syntaxFactory
.EventDeclaration(
4842
_syntaxFactory
.AccessorList(
4891
var decl =
_syntaxFactory
.EventDeclaration(
4930
type =
_syntaxFactory
.ScopedType(scopedKeyword, type);
4934
return
_syntaxFactory
.FieldDeclaration(
4937
_syntaxFactory
.VariableDeclaration(type, variables),
4968
return
_syntaxFactory
.EventFieldDeclaration(
4972
_syntaxFactory
.VariableDeclaration(type, variables),
5283
return
_syntaxFactory
.VariableDeclarator(missingIdentifier, null, null);
5332
initializer =
_syntaxFactory
.EqualsValueClause(
5334
refKeyword == null ? init :
_syntaxFactory
.RefExpression(refKeyword, init));
5391
args.Add(
_syntaxFactory
.Argument(null, refKindKeyword: null, expression));
5399
argumentList =
_syntaxFactory
.BracketedArgumentList(open, _pool.ToListAndFree(args), close);
5434
return
_syntaxFactory
.VariableDeclarator(name, argumentList, initializer);
5486
return
_syntaxFactory
.FieldDeclaration(
5489
_syntaxFactory
.VariableDeclaration(
5516
return
_syntaxFactory
.DelegateDeclaration(
5550
tmpList.Add(
_syntaxFactory
.SimpleBaseType(type));
5551
baseList =
_syntaxFactory
.BaseList(
5591
return
_syntaxFactory
.EnumDeclaration(
5625
equalsValue =
_syntaxFactory
.EqualsValueClause(
5632
return
_syntaxFactory
.EnumMemberDeclaration(memberAttrs, modifiers: default, memberName, equalsValue);
5653
return
_syntaxFactory
.IdentifierName(CreateMissingIdentifierToken());
5800
return
_syntaxFactory
.TypeParameterList(
5835
return
_syntaxFactory
.TypeParameter(
5850
return
_syntaxFactory
.TypeParameter(
5883
name =
_syntaxFactory
.GenericName(
5885
_syntaxFactory
.TypeArgumentList(
6230
var omittedTypeArgumentInstance =
_syntaxFactory
.OmittedTypeArgument(SyntaxFactory.Token(SyntaxKind.OmittedTypeArgumentToken));
6546
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(
6561
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
6699
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
6741
return
_syntaxFactory
.QualifiedName(left, separator, right);
6756
return
_syntaxFactory
.QualifiedName(left, separator, right);
6762
identifierLeft =
_syntaxFactory
.IdentifierName(ConvertToKeyword(identifierLeft.Identifier));
6767
return WithAdditionalDiagnostics(
_syntaxFactory
.AliasQualifiedName(identifierLeft, separator, right), left.GetDiagnostics());
7226
return
_syntaxFactory
.PredefinedType(this.EatToken());
7250
return
_syntaxFactory
.RefType(
7303
type =
_syntaxFactory
.NullableType(type, question);
7346
type =
_syntaxFactory
.ArrayType(type, _pool.ToListAndFree(ranks));
7547
var omittedArraySizeExpressionInstance =
_syntaxFactory
.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.OmittedArraySizeExpressionToken));
7598
return
_syntaxFactory
.ArrayRankSpecifier(
7624
list.Add(
_syntaxFactory
.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7629
list.Add(
_syntaxFactory
.TupleElement(missing, identifier: null));
7632
return
_syntaxFactory
.TupleType(
7640
return
_syntaxFactory
.TupleElement(
7664
return
_syntaxFactory
.PredefinedType(token);
7862
type =
_syntaxFactory
.PointerType(type, this.EatToken());
8031
return
_syntaxFactory
.EmptyStatement(attributes, this.EatToken());
8689
var block =
_syntaxFactory
.Block(
8720
return
_syntaxFactory
.Block(
8864
return
_syntaxFactory
.FixedStatement(
8922
return
_syntaxFactory
.BreakStatement(
8930
return
_syntaxFactory
.ContinueStatement(
8976
finallyClause =
_syntaxFactory
.FinallyClause(
8987
finallyClause =
_syntaxFactory
.FinallyClause(
8992
return
_syntaxFactory
.TryStatement(
9000
=>
_syntaxFactory
.Block(
9036
decl =
_syntaxFactory
.CatchDeclaration(openParen, type, name, closeParen);
9061
filter =
_syntaxFactory
.CatchFilterClause(whenKeyword, openParen, filterExpression, closeParen);
9068
return
_syntaxFactory
.CatchClause(@catch, decl, filter, block);
9105
return
_syntaxFactory
.CheckedStatement(
9125
return
_syntaxFactory
.DoStatement(
9199
var forStatement =
_syntaxFactory
.ForStatement(
9376
return
_syntaxFactory
.ForEachStatement(attributes, awaitTokenOpt, @foreach, openParen, decl.Type, identifier, @in, expression, closeParen, statement);
9380
return
_syntaxFactory
.ForEachVariableStatement(attributes, awaitTokenOpt, @foreach, openParen, variable, @in, expression, closeParen, statement);
9564
return
_syntaxFactory
.GotoStatement(
9613
_syntaxFactory
.ElseClause(
9616
ifStatement =
_syntaxFactory
.IfStatement(
9637
return
_syntaxFactory
.IfStatement(
9651
:
_syntaxFactory
.ElseClause(
9659
return
_syntaxFactory
.LockStatement(
9671
return
_syntaxFactory
.ReturnStatement(
9706
return
_syntaxFactory
.YieldStatement(
9725
return
_syntaxFactory
.SwitchStatement(
9808
label =
_syntaxFactory
.CaseSwitchLabel(
9819
node =
_syntaxFactory
.ConstantPattern(ex);
9826
label =
_syntaxFactory
.CasePatternSwitchLabel(
9834
label =
_syntaxFactory
.CaseSwitchLabel(
9844
label =
_syntaxFactory
.DefaultSwitchLabel(
9858
return
_syntaxFactory
.SwitchSection(
9866
return
_syntaxFactory
.ThrowStatement(
9876
return
_syntaxFactory
.UnsafeStatement(
9894
return
_syntaxFactory
.UsingStatement(
10012
return
_syntaxFactory
.WhileStatement(
10027
return
_syntaxFactory
.LabeledStatement(
10106
type =
_syntaxFactory
.ScopedType(scopedKeyword, type);
10123
return
_syntaxFactory
.LocalDeclarationStatement(
10128
_syntaxFactory
.VariableDeclaration(type, variables.ToList()),
10233
result =
_syntaxFactory
.ParenthesizedVariableDesignation(
10253
?
_syntaxFactory
.DiscardDesignation(this.EatContextualToken(SyntaxKind.UnderscoreToken))
10254
:
_syntaxFactory
.SingleVariableDesignation(this.EatToken(SyntaxKind.IdentifierToken));
10264
return
_syntaxFactory
.WhenClause(
10292
return
_syntaxFactory
.VariableDeclaration(
10311
type =
_syntaxFactory
.ScopedType(scopedKeyword, type);
10580
return
_syntaxFactory
.LocalFunctionStatement(
10612
return
_syntaxFactory
.ExpressionStatement(attributes, expression, semicolon);
11023
return
_syntaxFactory
.PrefixUnaryExpression(
11034
return
_syntaxFactory
.RangeExpression(
11044
return
_syntaxFactory
.AwaitExpression(
11158
return
_syntaxFactory
.BinaryExpression(
11173
return
_syntaxFactory
.RangeExpression(
11189
rhs =
_syntaxFactory
.RefExpression(
11198
return
_syntaxFactory
.AssignmentExpression(
11203
return
_syntaxFactory
.BinaryExpression(operatorExpressionKind, leftOperand, operatorToken, this.ParseSubExpression(newPrecedence));
11356
var conditionalExpression =
_syntaxFactory
.ConditionalExpression(
11361
_syntaxFactory
.IdentifierName(SyntaxFactory.MissingToken(SyntaxKind.IdentifierToken)));
11366
return
_syntaxFactory
.ConditionalExpression(
11458
return
_syntaxFactory
.DeclarationExpression(
11459
scopedKeyword == null ? type :
_syntaxFactory
.ScopedType(scopedKeyword, type),
11465
return
_syntaxFactory
.ThrowExpression(
11475
PatternSyntax pattern =>
_syntaxFactory
.IsPatternExpression(leftOperand, opToken, pattern),
11476
TypeSyntax type =>
_syntaxFactory
.BinaryExpression(SyntaxKind.IsExpression, leftOperand, opToken, type),
11548
return
_syntaxFactory
.FieldExpression(this.EatContextualToken(SyntaxKind.FieldKeyword));
11565
return
_syntaxFactory
.ThisExpression(this.EatToken());
11581
return
_syntaxFactory
.LiteralExpression(SyntaxFacts.GetLiteralExpression(tk), this.EatToken());
11612
return this.AddError(
_syntaxFactory
.RefExpression(refKeyword, this.ParseExpressionCore()), ErrorCode.ERR_InvalidExprTerm, SyntaxFacts.GetText(tk));
11622
var expr =
_syntaxFactory
.PredefinedType(this.EatToken());
11662
expr =
_syntaxFactory
.InvocationExpression(expr, this.ParseParenthesizedArgumentList());
11666
expr =
_syntaxFactory
.ElementAccessExpression(expr, this.ParseBracketedArgumentList());
11671
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxFacts.GetPostfixUnaryExpression(this.CurrentToken.Kind), expr, this.EatToken());
11677
expr =
_syntaxFactory
.MemberAccessExpression(
11693
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.PointerMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11710
return
_syntaxFactory
.MemberAccessExpression(
11715
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11721
expr =
_syntaxFactory
.ConditionalAccessExpression(
11731
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, this.EatToken());
11744
return
_syntaxFactory
.BaseExpression(this.EatToken());
11861
SyntaxKind.DotToken =>
_syntaxFactory
.MemberBindingExpression(this.EatToken(), this.ParseSimpleName(NameOptions.InExpression)),
11862
SyntaxKind.OpenBracketToken =>
_syntaxFactory
.ElementBindingExpression(this.ParseBracketedArgumentList()),
11873
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, EatToken());
11879
expr =
_syntaxFactory
.InvocationExpression(expr, this.ParseParenthesizedArgumentList());
11883
expr =
_syntaxFactory
.ElementAccessExpression(expr, this.ParseBracketedArgumentList());
11887
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11893
:
_syntaxFactory
.ConditionalAccessExpression(
11930
return
_syntaxFactory
.ArgumentList(openToken, arguments, closeToken);
11946
return
_syntaxFactory
.BracketedArgumentList(openToken, arguments, closeToken);
12058
?
_syntaxFactory
.NameColon(
12095
return
_syntaxFactory
.Argument(nameColon, refKindKeyword, expression);
12100
return
_syntaxFactory
.TypeOfExpression(
12112
return
_syntaxFactory
.DefaultExpression(
12120
return
_syntaxFactory
.LiteralExpression(SyntaxKind.DefaultLiteralExpression, keyword);
12126
return
_syntaxFactory
.SizeOfExpression(
12135
return
_syntaxFactory
.MakeRefExpression(
12144
return
_syntaxFactory
.RefTypeExpression(
12157
return
_syntaxFactory
.CheckedExpression(
12167
return
_syntaxFactory
.RefValueExpression(
12309
return
_syntaxFactory
.CastExpression(
12327
_syntaxFactory
.Argument(nameColon: null, refKindKeyword: null, expression));
12335
_syntaxFactory
.Argument(
12336
_syntaxFactory
.NameColon((IdentifierNameSyntax)expression, EatToken()),
12341
return
_syntaxFactory
.ParenthesizedExpression(
12358
?
_syntaxFactory
.Argument(nameColon: null, refKindKeyword: null, expression: expression)
12359
:
_syntaxFactory
.Argument(
12360
_syntaxFactory
.NameColon((IdentifierNameSyntax)expression, EatToken()),
12370
list.Add(
_syntaxFactory
.Argument(
12375
return
_syntaxFactory
.TupleExpression(
12726
return
_syntaxFactory
.CollectionExpression(
12749
?
_syntaxFactory
.SpreadElement(this.EatDotDotToken(), this.ParseExpressionCore())
12750
:
_syntaxFactory
.ExpressionElement(this.ParseExpressionCore());
12776
return
_syntaxFactory
.AnonymousObjectCreationExpression(
12785
return
_syntaxFactory
.AnonymousObjectMemberDeclarator(
12831
return
_syntaxFactory
.ArrayCreationExpression(@new, (ArrayTypeSyntax)type, initializer);
12849
argumentList =
_syntaxFactory
.ArgumentList(
12856
?
_syntaxFactory
.ImplicitObjectCreationExpression(@new, argumentList, initializer)
12857
:
_syntaxFactory
.ObjectCreationExpression(@new, type, argumentList, initializer);
12901
return
_syntaxFactory
.WithExpression(
12904
_syntaxFactory
.InitializerExpression(
12929
return
_syntaxFactory
.InitializerExpression(
13000
return
_syntaxFactory
.AssignmentExpression(
13011
return
_syntaxFactory
.AssignmentExpression(
13013
_syntaxFactory
.ImplicitElementAccess(this.ParseBracketedArgumentList()),
13034
return
_syntaxFactory
.InitializerExpression(
13079
return
_syntaxFactory
.ImplicitArrayCreationExpression(
13100
return
_syntaxFactory
.InitializerExpression(
13147
return
_syntaxFactory
.ImplicitStackAllocArrayCreationExpression(
13156
return
_syntaxFactory
.StackAllocArrayCreationExpression(
13204
return
_syntaxFactory
.AnonymousMethodExpression(
13208
_syntaxFactory
.Block(
13216
return
_syntaxFactory
.AnonymousMethodExpression(
13327
return
_syntaxFactory
.ParenthesizedLambdaExpression(
13341
var parameter =
_syntaxFactory
.Parameter(
13344
return
_syntaxFactory
.SimpleLambdaExpression(
13373
return
_syntaxFactory
.ParameterList(
13433
return
_syntaxFactory
.Parameter(
13439
?
_syntaxFactory
.EqualsValueClause(equalsToken, this.ParseExpressionCore())
13599
return
_syntaxFactory
.QueryExpression(fc, body);
13637
_ =>
_syntaxFactory
.SelectClause(
13642
return
_syntaxFactory
.QueryBody(
13675
return
_syntaxFactory
.FromClause(
13686
return
_syntaxFactory
.JoinClause(
13699
?
_syntaxFactory
.JoinIntoClause(ConvertToKeyword(this.EatToken()), this.ParseIdentifierToken())
13706
return
_syntaxFactory
.LetClause(
13716
return
_syntaxFactory
.WhereClause(
13749
return
_syntaxFactory
.OrderByClause(
13781
return
_syntaxFactory
.Ordering(kind, expression, direction);
13787
return
_syntaxFactory
.SelectClause(
13795
return
_syntaxFactory
.GroupClause(
13805
return
_syntaxFactory
.QueryContinuation(
Parser\LanguageParser_Patterns.cs (29)
28
DiscardPatternSyntax dp =>
_syntaxFactory
.IdentifierName(ConvertToIdentifier(dp.UnderscoreToken)),
42
type =
_syntaxFactory
.QualifiedName(leftType, dotToken, simpleName);
63
result =
_syntaxFactory
.BinaryPattern(
109
result =
_syntaxFactory
.BinaryPattern(
162
return
_syntaxFactory
.UnaryPattern(
184
return
_syntaxFactory
.ConstantPattern(this.ParseIdentifierName(ErrorCode.ERR_MissingPattern));
189
return
_syntaxFactory
.DiscardPattern(this.EatContextualToken(SyntaxKind.UnderscoreToken));
197
return
_syntaxFactory
.SlicePattern(
210
return
_syntaxFactory
.RelationalPattern(
236
return
_syntaxFactory
.ConstantPattern(value);
281
return
_syntaxFactory
.VarPattern(varToken, varDesignation);
322
ExpressionSyntax expression =
_syntaxFactory
.ParenthesizedExpression(openParenToken, cp.Expression, closeParenToken);
324
return
_syntaxFactory
.ConstantPattern(expression);
326
return
_syntaxFactory
.ParenthesizedPattern(openParenToken, subpattern, closeParenToken);
331
var positionalPatternClause =
_syntaxFactory
.PositionalPatternClause(openParenToken, subPatterns, closeParenToken);
332
var result =
_syntaxFactory
.RecursivePattern(type, positionalPatternClause, propertyPatternClause0, designation0);
338
return
_syntaxFactory
.RecursivePattern(
347
return
_syntaxFactory
.DeclarationPattern(type, designation);
351
?
_syntaxFactory
.ConstantPattern(ParseExpressionContinued(expression, precedence))
352
:
_syntaxFactory
.TypePattern(type);
449
DiscardPatternSyntax dp =>
_syntaxFactory
.IdentifierName(ConvertToIdentifier(dp.UnderscoreToken)),
467
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, newLeft, dotToken, right);
497
return
_syntaxFactory
.PropertyPatternClause(
513
?
_syntaxFactory
.NameColon(identifierName, colon)
514
:
_syntaxFactory
.ExpressionColon(expr, colon);
519
return
_syntaxFactory
.Subpattern(exprColon, pattern);
573
return
_syntaxFactory
.SwitchExpression(
604
var switchExpressionCase =
_syntaxFactory
.SwitchExpressionArm(
648
return
_syntaxFactory
.ListPattern(