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);
2070
?
_syntaxFactory
.PrimaryConstructorBaseType(firstType, argumentList)
2071
:
_syntaxFactory
.SimpleBaseType(firstType));
2085
list.Add(
_syntaxFactory
.SimpleBaseType(this.ParseType()));
2094
return
_syntaxFactory
.BaseList(colon, _pool.ToListAndFree(list));
2135
bounds.Add(
_syntaxFactory
.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2167
bounds.Add(
_syntaxFactory
.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2183
return
_syntaxFactory
.TypeParameterConstraintClause(
2222
_syntaxFactory
.ConstructorConstraint(
2228
_syntaxFactory
.ClassOrStructConstraint(
2236
_syntaxFactory
.ClassOrStructConstraint(
2242
_syntaxFactory
.DefaultConstraint(defaultKeyword: this.EatToken()),
2245
_syntaxFactory
.TypeConstraint(AddTrailingSkippedSyntax(
2253
?
_syntaxFactory
.TypeConstraint(this.ParseType())
2254
:
_syntaxFactory
.TypeConstraint(AddTrailingSkippedSyntax(
2273
_syntaxFactory
.RefStructConstraint(
2286
return
_syntaxFactory
.AllowsConstraintClause(allows, _pool.ToListAndFree(bounds));
2289
return
_syntaxFactory
.TypeConstraint(this.ParseType());
2433
return @this.
_syntaxFactory
.IncompleteMember(
2507
return
_syntaxFactory
.GlobalStatement(ParseUnsafeStatement(attributes));
2514
return
_syntaxFactory
.GlobalStatement(ParseFixedStatement(attributes));
2523
return
_syntaxFactory
.GlobalStatement(ParseExpressionStatement(attributes));
2530
return
_syntaxFactory
.GlobalStatement(ParseExpressionStatement(attributes));
2560
var voidType =
_syntaxFactory
.PredefinedType(
2655
return
_syntaxFactory
.GlobalStatement(statement);
2802
result =
_syntaxFactory
.GlobalStatement(declaration);
2830
result =
_syntaxFactory
.GlobalStatement(statement);
2912
result =
_syntaxFactory
.IncompleteMember(attributes, modifiers.ToList(), type);
2933
var incompleteMember =
_syntaxFactory
.IncompleteMember(attributes, modifiers.ToList(), type.IsMissing ? null : type);
3299
return
_syntaxFactory
.ConstructorDeclaration(attributes, modifiers.ToList(), name, paramList, initializer, body, expressionBody, semicolon);
3331
:
_syntaxFactory
.ArgumentList(
3336
return
_syntaxFactory
.ConstructorInitializer(kind, colon, token, argumentList);
3345
var parameterList =
_syntaxFactory
.ParameterList(
3353
return
_syntaxFactory
.DestructorDeclaration(attributes, modifiers.ToList(), tilde, name, parameterList, body, expressionBody, semicolon);
3494
return
_syntaxFactory
.MethodDeclaration(
3635
return
_syntaxFactory
.ConversionOperatorDeclaration(
3643
_syntaxFactory
.ParameterList(
3674
return
_syntaxFactory
.ConversionOperatorDeclaration(
3754
return
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
3927
return
_syntaxFactory
.OperatorDeclaration(
3989
return
_syntaxFactory
.IndexerDeclaration(
4045
initializer =
_syntaxFactory
.EqualsValueClause(equals, value: value);
4058
return
_syntaxFactory
.PropertyDeclaration(
4126
return
_syntaxFactory
.AccessorList(
4134
return
_syntaxFactory
.ArrowExpressionClause(
4147
return refKeyword == null ? expression :
_syntaxFactory
.RefExpression(refKeyword, expression);
4458
return
_syntaxFactory
.AccessorDeclaration(
4495
return
_syntaxFactory
.ParameterList(open, parameters, close);
4506
return
_syntaxFactory
.BracketedParameterList(open, parameters, close);
4676
return
_syntaxFactory
.Parameter(
4702
return
_syntaxFactory
.Parameter(
4707
equalsToken == null ? null :
_syntaxFactory
.EqualsValueClause(equalsToken, this.ParseExpressionCore()));
4773
return
_syntaxFactory
.FieldDeclaration(
4775
_syntaxFactory
.VariableDeclaration(
4812
return
_syntaxFactory
.EventDeclaration(
4821
_syntaxFactory
.AccessorList(
4870
var decl =
_syntaxFactory
.EventDeclaration(
4909
type =
_syntaxFactory
.ScopedType(scopedKeyword, type);
4913
return
_syntaxFactory
.FieldDeclaration(
4916
_syntaxFactory
.VariableDeclaration(type, variables),
4947
return
_syntaxFactory
.EventFieldDeclaration(
4951
_syntaxFactory
.VariableDeclaration(type, variables),
5238
return
_syntaxFactory
.VariableDeclarator(missingIdentifier, null, null);
5287
initializer =
_syntaxFactory
.EqualsValueClause(
5289
refKeyword == null ? init :
_syntaxFactory
.RefExpression(refKeyword, init));
5346
args.Add(
_syntaxFactory
.Argument(null, refKindKeyword: null, expression));
5354
argumentList =
_syntaxFactory
.BracketedArgumentList(open, _pool.ToListAndFree(args), close);
5389
return
_syntaxFactory
.VariableDeclarator(name, argumentList, initializer);
5441
return
_syntaxFactory
.FieldDeclaration(
5444
_syntaxFactory
.VariableDeclaration(
5471
return
_syntaxFactory
.DelegateDeclaration(
5505
tmpList.Add(
_syntaxFactory
.SimpleBaseType(type));
5506
baseList =
_syntaxFactory
.BaseList(
5546
return
_syntaxFactory
.EnumDeclaration(
5580
equalsValue =
_syntaxFactory
.EqualsValueClause(
5587
return
_syntaxFactory
.EnumMemberDeclaration(memberAttrs, modifiers: default, memberName, equalsValue);
5608
return
_syntaxFactory
.IdentifierName(CreateMissingIdentifierToken());
5755
return
_syntaxFactory
.TypeParameterList(
5790
return
_syntaxFactory
.TypeParameter(
5805
return
_syntaxFactory
.TypeParameter(
5838
name =
_syntaxFactory
.GenericName(
5840
_syntaxFactory
.TypeArgumentList(
6176
var omittedTypeArgumentInstance =
_syntaxFactory
.OmittedTypeArgument(SyntaxFactory.Token(SyntaxKind.OmittedTypeArgumentToken));
6492
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(
6507
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
6645
explicitInterfaceOpt =
_syntaxFactory
.ExplicitInterfaceSpecifier(explicitInterfaceName, separator);
6687
return
_syntaxFactory
.QualifiedName(left, separator, right);
6702
return
_syntaxFactory
.QualifiedName(left, separator, right);
6708
identifierLeft =
_syntaxFactory
.IdentifierName(ConvertToKeyword(identifierLeft.Identifier));
6713
return WithAdditionalDiagnostics(
_syntaxFactory
.AliasQualifiedName(identifierLeft, separator, right), left.GetDiagnostics());
7172
return
_syntaxFactory
.PredefinedType(this.EatToken());
7196
return
_syntaxFactory
.RefType(
7249
type =
_syntaxFactory
.NullableType(type, question);
7292
type =
_syntaxFactory
.ArrayType(type, _pool.ToListAndFree(ranks));
7493
var omittedArraySizeExpressionInstance =
_syntaxFactory
.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.OmittedArraySizeExpressionToken));
7544
return
_syntaxFactory
.ArrayRankSpecifier(
7570
list.Add(
_syntaxFactory
.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7575
list.Add(
_syntaxFactory
.TupleElement(missing, identifier: null));
7578
return
_syntaxFactory
.TupleType(
7586
return
_syntaxFactory
.TupleElement(
7610
return
_syntaxFactory
.PredefinedType(token);
7808
type =
_syntaxFactory
.PointerType(type, this.EatToken());
7977
return
_syntaxFactory
.EmptyStatement(attributes, this.EatToken());
8635
var block =
_syntaxFactory
.Block(
8666
return
_syntaxFactory
.Block(
8810
return
_syntaxFactory
.FixedStatement(
8868
return
_syntaxFactory
.BreakStatement(
8876
return
_syntaxFactory
.ContinueStatement(
8922
finallyClause =
_syntaxFactory
.FinallyClause(
8933
finallyClause =
_syntaxFactory
.FinallyClause(
8938
return
_syntaxFactory
.TryStatement(
8946
=>
_syntaxFactory
.Block(
8982
decl =
_syntaxFactory
.CatchDeclaration(openParen, type, name, closeParen);
9007
filter =
_syntaxFactory
.CatchFilterClause(whenKeyword, openParen, filterExpression, closeParen);
9014
return
_syntaxFactory
.CatchClause(@catch, decl, filter, block);
9051
return
_syntaxFactory
.CheckedStatement(
9071
return
_syntaxFactory
.DoStatement(
9185
declType =
_syntaxFactory
.ScopedType(scopedKeyword, declType);
9212
return
_syntaxFactory
.ForStatement(
9322
return
_syntaxFactory
.ForEachStatement(attributes, awaitTokenOpt, @foreach, openParen, decl.Type, identifier, @in, expression, closeParen, statement);
9326
return
_syntaxFactory
.ForEachVariableStatement(attributes, awaitTokenOpt, @foreach, openParen, variable, @in, expression, closeParen, statement);
9510
return
_syntaxFactory
.GotoStatement(
9559
_syntaxFactory
.ElseClause(
9562
ifStatement =
_syntaxFactory
.IfStatement(
9583
return
_syntaxFactory
.IfStatement(
9597
:
_syntaxFactory
.ElseClause(
9605
return
_syntaxFactory
.LockStatement(
9617
return
_syntaxFactory
.ReturnStatement(
9652
return
_syntaxFactory
.YieldStatement(
9671
return
_syntaxFactory
.SwitchStatement(
9754
label =
_syntaxFactory
.CaseSwitchLabel(
9765
node =
_syntaxFactory
.ConstantPattern(ex);
9772
label =
_syntaxFactory
.CasePatternSwitchLabel(
9780
label =
_syntaxFactory
.CaseSwitchLabel(
9790
label =
_syntaxFactory
.DefaultSwitchLabel(
9804
return
_syntaxFactory
.SwitchSection(
9812
return
_syntaxFactory
.ThrowStatement(
9822
return
_syntaxFactory
.UnsafeStatement(
9840
return
_syntaxFactory
.UsingStatement(
9874
declaration = declaration.Update(
_syntaxFactory
.ScopedType(scopedKeyword, declaration.Type), declaration.Variables);
9959
return
_syntaxFactory
.WhileStatement(
9974
return
_syntaxFactory
.LabeledStatement(
10051
type =
_syntaxFactory
.ScopedType(scopedKeyword, type);
10068
return
_syntaxFactory
.LocalDeclarationStatement(
10073
_syntaxFactory
.VariableDeclaration(type, _pool.ToListAndFree(variables)),
10151
result =
_syntaxFactory
.ParenthesizedVariableDesignation(
10171
?
_syntaxFactory
.DiscardDesignation(this.EatContextualToken(SyntaxKind.UnderscoreToken))
10172
:
_syntaxFactory
.SingleVariableDesignation(this.EatToken(SyntaxKind.IdentifierToken));
10182
return
_syntaxFactory
.WhenClause(
10205
return
_syntaxFactory
.VariableDeclaration(
10486
return
_syntaxFactory
.LocalFunctionStatement(
10518
return
_syntaxFactory
.ExpressionStatement(attributes, expression, semicolon);
10929
return
_syntaxFactory
.PrefixUnaryExpression(
10940
return
_syntaxFactory
.RangeExpression(
10950
return
_syntaxFactory
.AwaitExpression(
11064
return
_syntaxFactory
.BinaryExpression(
11079
return
_syntaxFactory
.RangeExpression(
11095
rhs =
_syntaxFactory
.RefExpression(
11104
return
_syntaxFactory
.AssignmentExpression(
11109
return
_syntaxFactory
.BinaryExpression(operatorExpressionKind, leftOperand, operatorToken, this.ParseSubExpression(newPrecedence));
11262
var conditionalExpression =
_syntaxFactory
.ConditionalExpression(
11267
_syntaxFactory
.IdentifierName(SyntaxFactory.MissingToken(SyntaxKind.IdentifierToken)));
11272
return
_syntaxFactory
.ConditionalExpression(
11364
return
_syntaxFactory
.DeclarationExpression(
11365
scopedKeyword == null ? type :
_syntaxFactory
.ScopedType(scopedKeyword, type),
11371
return
_syntaxFactory
.ThrowExpression(
11381
PatternSyntax pattern =>
_syntaxFactory
.IsPatternExpression(leftOperand, opToken, pattern),
11382
TypeSyntax type =>
_syntaxFactory
.BinaryExpression(SyntaxKind.IsExpression, leftOperand, opToken, type),
11454
return
_syntaxFactory
.FieldExpression(this.EatContextualToken(SyntaxKind.FieldKeyword));
11471
return
_syntaxFactory
.ThisExpression(this.EatToken());
11487
return
_syntaxFactory
.LiteralExpression(SyntaxFacts.GetLiteralExpression(tk), this.EatToken());
11518
return this.AddError(
_syntaxFactory
.RefExpression(refKeyword, this.ParseExpressionCore()), ErrorCode.ERR_InvalidExprTerm, SyntaxFacts.GetText(tk));
11528
var expr =
_syntaxFactory
.PredefinedType(this.EatToken());
11568
expr =
_syntaxFactory
.InvocationExpression(expr, this.ParseParenthesizedArgumentList());
11572
expr =
_syntaxFactory
.ElementAccessExpression(expr, this.ParseBracketedArgumentList());
11577
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxFacts.GetPostfixUnaryExpression(this.CurrentToken.Kind), expr, this.EatToken());
11583
expr =
_syntaxFactory
.MemberAccessExpression(
11599
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.PointerMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11616
return
_syntaxFactory
.MemberAccessExpression(
11621
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11627
expr =
_syntaxFactory
.ConditionalAccessExpression(
11637
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, this.EatToken());
11650
return
_syntaxFactory
.BaseExpression(this.EatToken());
11767
SyntaxKind.DotToken =>
_syntaxFactory
.MemberBindingExpression(this.EatToken(), this.ParseSimpleName(NameOptions.InExpression)),
11768
SyntaxKind.OpenBracketToken =>
_syntaxFactory
.ElementBindingExpression(this.ParseBracketedArgumentList()),
11779
expr =
_syntaxFactory
.PostfixUnaryExpression(SyntaxKind.SuppressNullableWarningExpression, expr, EatToken());
11785
expr =
_syntaxFactory
.InvocationExpression(expr, this.ParseParenthesizedArgumentList());
11789
expr =
_syntaxFactory
.ElementAccessExpression(expr, this.ParseBracketedArgumentList());
11793
expr =
_syntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, expr, this.EatToken(), this.ParseSimpleName(NameOptions.InExpression));
11799
:
_syntaxFactory
.ConditionalAccessExpression(
11836
return
_syntaxFactory
.ArgumentList(openToken, arguments, closeToken);
11852
return
_syntaxFactory
.BracketedArgumentList(openToken, arguments, closeToken);
11964
?
_syntaxFactory
.NameColon(
12001
return
_syntaxFactory
.Argument(nameColon, refKindKeyword, expression);
12006
return
_syntaxFactory
.TypeOfExpression(
12018
return
_syntaxFactory
.DefaultExpression(
12026
return
_syntaxFactory
.LiteralExpression(SyntaxKind.DefaultLiteralExpression, keyword);
12032
return
_syntaxFactory
.SizeOfExpression(
12041
return
_syntaxFactory
.MakeRefExpression(
12050
return
_syntaxFactory
.RefTypeExpression(
12063
return
_syntaxFactory
.CheckedExpression(
12073
return
_syntaxFactory
.RefValueExpression(
12268
return
_syntaxFactory
.CastExpression(
12286
_syntaxFactory
.Argument(nameColon: null, refKindKeyword: null, expression));
12294
_syntaxFactory
.Argument(
12295
_syntaxFactory
.NameColon((IdentifierNameSyntax)expression, EatToken()),
12300
return
_syntaxFactory
.ParenthesizedExpression(
12317
?
_syntaxFactory
.Argument(nameColon: null, refKindKeyword: null, expression: expression)
12318
:
_syntaxFactory
.Argument(
12319
_syntaxFactory
.NameColon((IdentifierNameSyntax)expression, EatToken()),
12329
list.Add(
_syntaxFactory
.Argument(
12334
return
_syntaxFactory
.TupleExpression(
12685
return
_syntaxFactory
.CollectionExpression(
12708
?
_syntaxFactory
.SpreadElement(this.EatDotDotToken(), this.ParseExpressionCore())
12709
:
_syntaxFactory
.ExpressionElement(this.ParseExpressionCore());
12735
return
_syntaxFactory
.AnonymousObjectCreationExpression(
12744
return
_syntaxFactory
.AnonymousObjectMemberDeclarator(
12790
return
_syntaxFactory
.ArrayCreationExpression(@new, (ArrayTypeSyntax)type, initializer);
12808
argumentList =
_syntaxFactory
.ArgumentList(
12815
?
_syntaxFactory
.ImplicitObjectCreationExpression(@new, argumentList, initializer)
12816
:
_syntaxFactory
.ObjectCreationExpression(@new, type, argumentList, initializer);
12860
return
_syntaxFactory
.WithExpression(
12863
_syntaxFactory
.InitializerExpression(
12888
return
_syntaxFactory
.InitializerExpression(
12959
return
_syntaxFactory
.AssignmentExpression(
12970
return
_syntaxFactory
.AssignmentExpression(
12972
_syntaxFactory
.ImplicitElementAccess(this.ParseBracketedArgumentList()),
12993
return
_syntaxFactory
.InitializerExpression(
13038
return
_syntaxFactory
.ImplicitArrayCreationExpression(
13059
return
_syntaxFactory
.InitializerExpression(
13106
return
_syntaxFactory
.ImplicitStackAllocArrayCreationExpression(
13115
return
_syntaxFactory
.StackAllocArrayCreationExpression(
13163
return
_syntaxFactory
.AnonymousMethodExpression(
13167
_syntaxFactory
.Block(
13175
return
_syntaxFactory
.AnonymousMethodExpression(
13286
return
_syntaxFactory
.ParenthesizedLambdaExpression(
13300
var parameter =
_syntaxFactory
.Parameter(
13303
return
_syntaxFactory
.SimpleLambdaExpression(
13332
return
_syntaxFactory
.ParameterList(
13393
return
_syntaxFactory
.Parameter(
13399
?
_syntaxFactory
.EqualsValueClause(equalsToken, this.ParseExpressionCore())
13558
return
_syntaxFactory
.QueryExpression(fc, body);
13596
_ =>
_syntaxFactory
.SelectClause(
13601
return
_syntaxFactory
.QueryBody(
13634
return
_syntaxFactory
.FromClause(
13645
return
_syntaxFactory
.JoinClause(
13658
?
_syntaxFactory
.JoinIntoClause(ConvertToKeyword(this.EatToken()), this.ParseIdentifierToken())
13665
return
_syntaxFactory
.LetClause(
13675
return
_syntaxFactory
.WhereClause(
13708
return
_syntaxFactory
.OrderByClause(
13740
return
_syntaxFactory
.Ordering(kind, expression, direction);
13746
return
_syntaxFactory
.SelectClause(
13754
return
_syntaxFactory
.GroupClause(
13764
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(