954 references to SyntaxFactory
Microsoft.CodeAnalysis.CSharp (298)
Parser\DirectiveParser.cs (47)
128
result =
SyntaxFactory
.BadDirectiveTrivia(hash, id, end, isActive);
143
return
SyntaxFactory
.IfDirectiveTrivia(hash, keyword, expr, eod, isActive, branchTaken, isTrue);
154
return
SyntaxFactory
.ElifDirectiveTrivia(hash, keyword, expr, eod, endIsActive, branchTaken, isTrue);
158
eod = eod.TokenWithLeadingTrivia(SyntaxList.Concat(
SyntaxFactory
.DisabledText(expr.ToFullString()), eod.GetLeadingTrivia()));
161
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndRegionDirectiveExpected);
165
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndifDirectiveExpected);
169
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_UnexpectedDirective);
180
return
SyntaxFactory
.ElseDirectiveTrivia(hash, keyword, eod, endIsActive, branchTaken);
184
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndRegionDirectiveExpected);
188
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndifDirectiveExpected);
192
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_UnexpectedDirective);
201
return
SyntaxFactory
.EndIfDirectiveTrivia(hash, keyword, eod, endIsActive);
207
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndRegionDirectiveExpected);
211
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_UnexpectedDirective);
217
return
SyntaxFactory
.RegionDirectiveTrivia(hash, keyword, this.ParseEndOfDirectiveWithOptionalPreprocessingMessage(), isActive);
225
return
SyntaxFactory
.EndRegionDirectiveTrivia(hash, keyword, eod, isActive);
229
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_EndifDirectiveExpected);
233
return this.AddError(
SyntaxFactory
.BadDirectiveTrivia(hash, keyword, eod, isActive), ErrorCode.ERR_UnexpectedDirective);
249
return
SyntaxFactory
.DefineDirectiveTrivia(hash, keyword, name, end, isActive);
253
return
SyntaxFactory
.UndefDirectiveTrivia(hash, keyword, name, end, isActive);
350
return
SyntaxFactory
.ErrorDirectiveTrivia(hash, keyword, eod, isActive);
354
return
SyntaxFactory
.WarningDirectiveTrivia(hash, keyword, eod, isActive);
398
return
SyntaxFactory
.LineDirectiveTrivia(hash, id, line, file, end, isActive);
440
return
SyntaxFactory
.LineSpanDirectiveTrivia(hash, lineKeyword, start, minus, end, characterOffset, file, endOfDirective, isActive);
465
return
SyntaxFactory
.LineDirectivePosition(openParen, lineToken, comma, characterToken, closeParen);
505
return
SyntaxFactory
.ReferenceDirectiveTrivia(hash, keyword, file, end, isActive);
525
return
SyntaxFactory
.LoadDirectiveTrivia(hash, keyword, file, end, isActive);
553
return
SyntaxFactory
.NullableDirectiveTrivia(hash, token, setting, target, end, isActive);
588
idExpression =
SyntaxFactory
.LiteralExpression(SyntaxKind.NumericLiteralExpression, id);
600
idExpression =
SyntaxFactory
.IdentifierName(id);
605
idExpression =
SyntaxFactory
.LiteralExpression(SyntaxKind.NumericLiteralExpression, id);
620
return
SyntaxFactory
.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, ids.ToList(), end, isActive);
626
return
SyntaxFactory
.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, default(SeparatedSyntaxList<ExpressionSyntax>), end, isActive);
665
return
SyntaxFactory
.PragmaChecksumDirectiveTrivia(hash, pragma, checksum, file, guid, bytes, eod, isActive);
672
return
SyntaxFactory
.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, default(SeparatedSyntaxList<ExpressionSyntax>), eod, isActive);
681
return
SyntaxFactory
.ShebangDirectiveTrivia(hash, exclamation, this.ParseEndOfDirectiveWithOptionalPreprocessingMessage(), isActive);
722
:
SyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken);
727
SyntaxFactory
.SkippedTokensTrivia(skippedTokens.ToList()));
745
left =
SyntaxFactory
.BinaryExpression(SyntaxKind.LogicalOrExpression, left, op, right);
758
left =
SyntaxFactory
.BinaryExpression(SyntaxKind.LogicalAndExpression, left, op, right);
771
left =
SyntaxFactory
.BinaryExpression(SyntaxFacts.GetBinaryExpression(op.Kind), left, op, right);
782
return
SyntaxFactory
.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, op, this.ParseLogicalNot());
797
return
SyntaxFactory
.ParenthesizedExpression(open, expr, close);
800
return
SyntaxFactory
.IdentifierName(identifier);
803
return
SyntaxFactory
.LiteralExpression(SyntaxFacts.GetLiteralExpression(k), this.EatToken());
805
return
SyntaxFactory
.IdentifierName(this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.ERR_InvalidPreprocExpr));
821
identifier =
SyntaxFactory
.Identifier(SyntaxKind.IdentifierToken, leading, text, identifierPart, trailing);
Parser\DocumentationCommentParser.cs (55)
91
return
SyntaxFactory
.DocumentationCommentTrivia(kind, nodes.ToList(), eoc);
116
var allRemainderText =
SyntaxFactory
.XmlText(textTokens.ToList());
199
return
SyntaxFactory
.XmlText(list);
220
var startTag =
SyntaxFactory
.XmlElementStartTag(lessThan, name, attrs, this.EatToken());
239
endName =
SyntaxFactory
.XmlName(prefix: null, localName:
SyntaxFactory
.MissingToken(SyntaxKind.IdentifierToken));
240
greaterThan =
SyntaxFactory
.MissingToken(SyntaxKind.GreaterThanToken);
270
var endTag =
SyntaxFactory
.XmlElementEndTag(lessThanSlash, endName, greaterThan);
272
return
SyntaxFactory
.XmlElement(startTag, nodes.ToList(), endTag);
288
return
SyntaxFactory
.XmlEmptyElement(lessThan, name, attrs, slashGreater);
460
return
SyntaxFactory
.XmlTextAttribute(
463
SyntaxFactory
.MissingToken(SyntaxKind.DoubleQuoteToken),
465
SyntaxFactory
.MissingToken(SyntaxKind.DoubleQuoteToken));
478
return
SyntaxFactory
.XmlCrefAttribute(attrName, equals, startQuote, cref, endQuote);
485
return
SyntaxFactory
.XmlNameAttribute(attrName, equals, startQuote, identifier, endQuote);
493
return
SyntaxFactory
.XmlTextAttribute(attrName, equals, startQuote, textTokens, endQuote);
598
endQuote =
SyntaxFactory
.MissingToken(quoteKind);
665
var quote =
SyntaxFactory
.MissingToken(SyntaxKind.DoubleQuoteToken);
700
prefix =
SyntaxFactory
.XmlPrefix(id, colon);
717
return
SyntaxFactory
.XmlName(prefix, id);
744
return
SyntaxFactory
.XmlComment(lessThanExclamationMinusMinusToken, list, minusMinusGreaterThanToken);
760
return
SyntaxFactory
.XmlCDataSection(startCDataToken, textTokens, endCDataToken);
787
return
SyntaxFactory
.XmlProcessingInstruction(startProcessingInstructionToken, name, textTokens, endProcessingInstructionToken);
898
result =
SyntaxFactory
.TypeCref(type);
904
result =
SyntaxFactory
.NameMemberCref(type, parameters);
910
result =
SyntaxFactory
.QualifiedCref(type, dot, member);
963
return
SyntaxFactory
.NameMemberCref(name, parameters);
975
return
SyntaxFactory
.IndexerMemberCref(thisKeyword, parameters);
995
operatorToken =
SyntaxFactory
.MissingToken(SyntaxKind.PlusToken);
1028
operatorToken =
SyntaxFactory
.Token(
1039
var nonOverloadableOperator =
SyntaxFactory
.Token(
1046
operatorToken =
SyntaxFactory
.MissingToken(SyntaxKind.PlusToken);
1061
operatorToken =
SyntaxFactory
.Token(
1072
operatorToken =
SyntaxFactory
.Token(
1082
var nonOverloadableOperator =
SyntaxFactory
.Token(
1089
operatorToken =
SyntaxFactory
.MissingToken(SyntaxKind.PlusToken);
1107
return
SyntaxFactory
.OperatorMemberCref(operatorKeyword, checkedKeyword, operatorToken, parameters);
1152
return
SyntaxFactory
.ConversionOperatorMemberCref(implicitOrExplicit, operatorKeyword, checkedKeyword, type, parameters);
1215
? (BaseCrefParameterListSyntax)
SyntaxFactory
.CrefBracketedParameterList(open, list, close)
1216
:
SyntaxFactory
.CrefParameterList(open, list, close);
1276
return
SyntaxFactory
.CrefParameter(refKindKeyword: refKindOpt, readOnlyKeyword: readOnlyOpt, type);
1290
return
SyntaxFactory
.IdentifierName(identifierToken);
1328
return
SyntaxFactory
.GenericName(identifierToken,
SyntaxFactory
.TypeArgumentList(open, list, close));
1379
return
SyntaxFactory
.PredefinedType(EatToken());
1394
leftName =
SyntaxFactory
.AliasQualifiedName(
SyntaxFactory
.IdentifierName(alias), colonColon, name);
1432
leftName =
SyntaxFactory
.QualifiedName(leftName, dot, rightName);
1446
type =
SyntaxFactory
.NullableType(type, EatToken());
1451
type =
SyntaxFactory
.PointerType(type, EatToken());
1456
var omittedArraySizeExpressionInstance =
SyntaxFactory
.OmittedArraySizeExpression(
SyntaxFactory
.Token(SyntaxKind.OmittedArraySizeExpressionToken));
1493
rankList.Add(
SyntaxFactory
.ArrayRankSpecifier(open, dimensionList, close));
1501
type =
SyntaxFactory
.ArrayType(type, rankList);
1576
return
SyntaxFactory
.IdentifierName(identifierToken);
Parser\DocumentationCommentXmlTokens.cs (4)
40
return
SyntaxFactory
.Identifier(SyntaxKind.None, null, text, text, trailing: null);
45
return
SyntaxFactory
.Identifier(SyntaxKind.None,
SyntaxFactory
.Space, text, text, trailing: null);
50
return syntax.Count == 1 &&
SyntaxFactory
.Space.IsEquivalentTo(syntax[0]);
Parser\LanguageParser.cs (55)
173
static @this =>
SyntaxFactory
.CompilationUnit(
178
SyntaxFactory
.Token(SyntaxKind.EndOfFileToken)));
230
builder.Add(
SyntaxFactory
.BadToken(null, lexer.TextWindow.Text.ToString(), null));
529
SyntaxFactory
.MissingToken(SyntaxKind.CloseBraceToken), ErrorCode.ERR_RbraceExpected);
971
staticToken =
SyntaxFactory
.MissingToken(SyntaxKind.StaticKeyword);
1000
semicolon =
SyntaxFactory
.MissingToken(SyntaxKind.SemicolonToken);
1825
closeBrace =
SyntaxFactory
.MissingToken(SyntaxKind.CloseBraceToken);
1876
recordModifier =
SyntaxFactory
.MissingToken(misplacedToken.Kind);
2562
this.AddError(
SyntaxFactory
.MissingToken(SyntaxKind.VoidKeyword), ErrorCode.ERR_MemberNeedsType));
3645
SyntaxFactory
.MissingToken(SyntaxKind.OpenParenToken),
3647
SyntaxFactory
.MissingToken(SyntaxKind.CloseParenToken)),
3650
semicolonToken:
SyntaxFactory
.MissingToken(SyntaxKind.SemicolonToken));
3867
opToken =
SyntaxFactory
.Token(opToken.GetLeadingTrivia(), SyntaxKind.GreaterThanGreaterThanGreaterThanToken, opToken2.GetTrailingTrivia());
3871
opToken =
SyntaxFactory
.Token(opToken.GetLeadingTrivia(), SyntaxKind.GreaterThanGreaterThanToken, opToken2.GetTrailingTrivia());
4823
SyntaxFactory
.MissingToken(SyntaxKind.OpenBraceToken),
4825
SyntaxFactory
.MissingToken(SyntaxKind.CloseBraceToken)),
5638
return
SyntaxFactory
.MissingToken(SyntaxKind.IdentifierToken);
5695
return
SyntaxFactory
.IdentifierName(
6210
var omittedTypeArgumentInstance = _syntaxFactory.OmittedTypeArgument(
SyntaxFactory
.Token(SyntaxKind.OmittedTypeArgumentToken));
6757
var newToken =
SyntaxFactory
.MissingToken(expectedKind);
7527
var omittedArraySizeExpressionInstance = _syntaxFactory.OmittedArraySizeExpression(
SyntaxFactory
.Token(SyntaxKind.OmittedArraySizeExpressionToken));
7607
list.AddSeparator(
SyntaxFactory
.MissingToken(SyntaxKind.CommaToken));
7678
var lessThanTokenError = WithAdditionalDiagnostics(
SyntaxFactory
.MissingToken(SyntaxKind.LessThanToken), GetExpectedTokenError(SyntaxKind.LessThanToken, SyntaxKind.None));
7681
var missingType =
SyntaxFactory
.FunctionPointerParameter(attributeLists: default, modifiers: default, CreateMissingIdentifierName());
7686
return
SyntaxFactory
.FunctionPointerType(
7690
SyntaxFactory
.FunctionPointerParameterList(
7693
TryEatToken(SyntaxKind.GreaterThanToken) ??
SyntaxFactory
.MissingToken(SyntaxKind.GreaterThanToken)));
7709
types.Add(
SyntaxFactory
.FunctionPointerParameter(
7723
return
SyntaxFactory
.FunctionPointerType(
7727
SyntaxFactory
.FunctionPointerParameterList(
7792
callingConventionModifiers.Add(
SyntaxFactory
.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
7805
unmanagedCallingConventions =
SyntaxFactory
.FunctionPointerUnmanagedCallingConventionList(
7821
return
SyntaxFactory
.FunctionPointerCallingConvention(managedSpecifier, unmanagedCallingConventions);
7852
static @this =>
SyntaxFactory
.EmptyStatement(attributeLists: default,
SyntaxFactory
.MissingToken(SyntaxKind.SemicolonToken)));
8660
SyntaxFactory
.MissingToken(SyntaxKind.OpenBraceToken),
8875
return
SyntaxFactory
.EmptyStatement(attributeLists: default, EatToken(SyntaxKind.SemicolonToken));
8968
SyntaxFactory
.MissingToken(SyntaxKind.FinallyKeyword),
8982
SyntaxFactory
.MissingToken(SyntaxKind.OpenBraceToken),
8984
SyntaxFactory
.MissingToken(SyntaxKind.CloseBraceToken));
9721
openParen =
SyntaxFactory
.MissingToken(SyntaxKind.OpenParenToken);
9723
closeParen =
SyntaxFactory
.MissingToken(SyntaxKind.CloseParenToken);
9724
openBrace =
SyntaxFactory
.MissingToken(SyntaxKind.OpenBraceToken);
9749
openParen =
SyntaxFactory
.MissingToken(SyntaxKind.OpenParenToken);
9751
closeParen =
SyntaxFactory
.MissingToken(SyntaxKind.CloseParenToken);
10005
this.ParsePossiblyAttributedStatement() ??
SyntaxFactory
.EmptyStatement(attributeLists: default, EatToken(SyntaxKind.SemicolonToken)));
10550
semicolon =
SyntaxFactory
.MissingToken(SyntaxKind.SemicolonToken);
11230
return
SyntaxFactory
.Token(
11244
return
SyntaxFactory
.Token(
11307
SyntaxFactory
.MissingToken(SyntaxKind.ColonToken),
11308
_syntaxFactory.IdentifierName(
SyntaxFactory
.MissingToken(SyntaxKind.IdentifierToken)));
11368
var dotDotToken =
SyntaxFactory
.Token(token1.GetLeadingTrivia(), SyntaxKind.DotDotToken, token2.GetTrailingTrivia());
12369
list.AddSeparator(
SyntaxFactory
.MissingToken(SyntaxKind.CommaToken));
12852
SyntaxFactory
.MissingToken(SyntaxKind.CloseParenToken));
13212
SyntaxFactory
.MissingToken(SyntaxKind.CloseBraceToken)),
Parser\LanguageParser_InterpolatedString.cs (14)
57
var result =
SyntaxFactory
.InterpolatedStringExpression(getOpenQuote(), getContent(originalTextSpan), getCloseQuote());
80
return
SyntaxFactory
.Token(
160
return
SyntaxFactory
.InterpolatedStringText(MakeInterpolatedStringTextToken(kind, text.ToString()));
230
var node =
SyntaxFactory
.InterpolatedStringText(
231
SyntaxFactory
.Literal(leading: null, textString, SyntaxKind.InterpolatedStringTextToken, valueString, trailing: null));
321
?
SyntaxFactory
.MissingToken(leading, kind, trailing)
322
:
SyntaxFactory
.Token(leading, kind, text, trailing);
385
SyntaxFactory
.Token(leading: null, SyntaxKind.OpenBraceToken, text[interpolation.OpenBraceRange], openTokenTrailingTrivia));
400
var result =
SyntaxFactory
.Interpolation(openBraceToken, expression, alignment, format, closeBraceToken);
415
var alignment =
SyntaxFactory
.InterpolationAlignmentClause(
426
var format =
SyntaxFactory
.InterpolationFormatClause(
427
SyntaxFactory
.Token(leading, SyntaxKind.ColonToken, text[interpolation.ColonRange], trailing: null),
457
return
SyntaxFactory
.Literal(leading: null, text, SyntaxKind.InterpolatedStringTextToken, text, trailing: null);
469
var result =
SyntaxFactory
.Literal(leading: null, text, SyntaxKind.InterpolatedStringTextToken, token.ValueText, trailing: null);
Parser\Lexer.cs (43)
348
token =
SyntaxFactory
.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode);
355
token =
SyntaxFactory
.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode);
361
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.IntValue, trailingNode);
364
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.UintValue, trailingNode);
367
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.LongValue, trailingNode);
370
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.UlongValue, trailingNode);
373
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.FloatValue, trailingNode);
376
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.DoubleValue, trailingNode);
379
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.DecimalValue, trailingNode);
388
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.Kind, info.Text, trailingNode);
396
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode);
399
token =
SyntaxFactory
.Literal(leadingNode, info.Text, info.CharValue, trailingNode);
402
token =
SyntaxFactory
.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode);
405
token =
SyntaxFactory
.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode);
408
token =
SyntaxFactory
.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode);
412
token =
SyntaxFactory
.Token(leadingNode, info.Kind, trailingNode);
415
token =
SyntaxFactory
.Token(leadingNode, info.Kind, info.Text, trailingNode);
418
token =
SyntaxFactory
.BadToken(leadingNode, info.Text, trailingNode);
423
token =
SyntaxFactory
.Token(leadingNode, info.Kind, trailingNode);
2015
var token =
SyntaxFactory
.BadToken(null, text.ToString(), null).WithDiagnosticsGreen([error]);
2017
this.AddTrivia(
SyntaxFactory
.SkippedTokensTrivia(token), ref triviaList);
2061
this.AddTrivia(
SyntaxFactory
.Comment(text), ref triviaList);
2075
this.AddTrivia(
SyntaxFactory
.Comment(text), ref triviaList);
2172
this.AddTrivia(
SyntaxFactory
.DisabledText(TextWindow.GetText(false)), ref triviaList);
2193
this.AddTrivia(
SyntaxFactory
.EndOfLine(TextWindow.GetText(false)), ref triviaList);
2210
this.AddTrivia(
SyntaxFactory
.ConflictMarker(TextWindow.GetText(false)), ref triviaList);
2276
return TextWindow.TryAdvance('\n') ?
SyntaxFactory
.CarriageReturnLineFeed :
SyntaxFactory
.CarriageReturn;
2279
return
SyntaxFactory
.LineFeed;
2284
return
SyntaxFactory
.EndOfLine(ch.ToString());
2332
return
SyntaxFactory
.Space;
2357
return
SyntaxFactory
.Whitespace(textWindow.GetText(intern: true));
2459
return TextWindow.Width > 0 ?
SyntaxFactory
.DisabledText(TextWindow.GetText(false)) : null;
2469
return TextWindow.Width > 0 ?
SyntaxFactory
.DisabledText(TextWindow.GetText(false)) : null;
2535
:
SyntaxFactory
.PreprocessingMessage(builder.ToStringAndFree());
2546
var endOfDirective =
SyntaxFactory
.Token(leading, SyntaxKind.EndOfDirectiveToken, trailing);
2763
trivia =
SyntaxFactory
.Comment(text);
4385
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia(text), ref trivia);
4414
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia(text), ref trivia);
4432
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia(text), ref trivia);
4442
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia("*/"), ref trivia);
4477
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia(text), ref trivia);
4491
this.AddTrivia(
SyntaxFactory
.DocumentationCommentExteriorTrivia(text), ref trivia);
Parser\Lexer_StringLiteral.cs (1)
306
return
SyntaxFactory
.Literal(
Parser\SyntaxParser.cs (7)
516
_currentToken =
SyntaxFactory
.Token(SyntaxKind.EndOfFileToken);
555
var token =
SyntaxFactory
.MissingToken(expected);
567
var token =
SyntaxFactory
.MissingToken(expected);
587
return
SyntaxFactory
.MissingToken(kind);
971
builder.Add(
SyntaxFactory
.SkippedTokensTrivia(tk));
1101
?
SyntaxFactory
.MissingToken(token.LeadingTrivia.Node, token.ContextualKind, token.TrailingTrivia.Node)
1102
:
SyntaxFactory
.Token(token.LeadingTrivia.Node, token.ContextualKind, token.TrailingTrivia.Node);
Syntax\InternalSyntax\SyntaxFactory.cs (6)
55
trivia = elastic ?
SyntaxFactory
.ElasticCarriageReturn :
SyntaxFactory
.CarriageReturn;
58
trivia = elastic ?
SyntaxFactory
.ElasticLineFeed :
SyntaxFactory
.LineFeed;
61
trivia = elastic ?
SyntaxFactory
.ElasticCarriageReturnLineFeed :
SyntaxFactory
.CarriageReturnLineFeed;
Syntax\InternalSyntax\SyntaxToken.cs (8)
103
else if (trailing ==
SyntaxFactory
.Space)
107
else if (trailing ==
SyntaxFactory
.CarriageReturnLineFeed)
113
if (leading ==
SyntaxFactory
.ElasticZeroSpace && trailing ==
SyntaxFactory
.ElasticZeroSpace)
157
s_tokensWithElasticTrivia[(int)kind].Value = new SyntaxTokenWithTrivia(kind,
SyntaxFactory
.ElasticZeroSpace,
SyntaxFactory
.ElasticZeroSpace);
158
s_tokensWithSingleTrailingSpace[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null,
SyntaxFactory
.Space);
159
s_tokensWithSingleTrailingCRLF[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null,
SyntaxFactory
.CarriageReturnLineFeed);
Syntax\SyntaxFactory.cs (56)
31
public static SyntaxTrivia CarriageReturnLineFeed { get; } = Syntax.InternalSyntax.
SyntaxFactory
.CarriageReturnLineFeed;
36
public static SyntaxTrivia LineFeed { get; } = Syntax.InternalSyntax.
SyntaxFactory
.LineFeed;
41
public static SyntaxTrivia CarriageReturn { get; } = Syntax.InternalSyntax.
SyntaxFactory
.CarriageReturn;
46
public static SyntaxTrivia Space { get; } = Syntax.InternalSyntax.
SyntaxFactory
.Space;
51
public static SyntaxTrivia Tab { get; } = Syntax.InternalSyntax.
SyntaxFactory
.Tab;
58
public static SyntaxTrivia ElasticCarriageReturnLineFeed { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticCarriageReturnLineFeed;
65
public static SyntaxTrivia ElasticLineFeed { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticLineFeed;
72
public static SyntaxTrivia ElasticCarriageReturn { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticCarriageReturn;
78
public static SyntaxTrivia ElasticSpace { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticSpace;
84
public static SyntaxTrivia ElasticTab { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticTab;
91
public static SyntaxTrivia ElasticMarker { get; } = Syntax.InternalSyntax.
SyntaxFactory
.ElasticZeroSpace;
100
return Syntax.InternalSyntax.
SyntaxFactory
.EndOfLine(text, elastic: false);
111
return Syntax.InternalSyntax.
SyntaxFactory
.EndOfLine(text, elastic: true);
118
return Syntax.InternalSyntax.
SyntaxFactory
.EndOfLine(text, elastic);
128
return Syntax.InternalSyntax.
SyntaxFactory
.Whitespace(text, elastic: false);
139
return Syntax.InternalSyntax.
SyntaxFactory
.Whitespace(text, elastic: false);
146
return Syntax.InternalSyntax.
SyntaxFactory
.Whitespace(text, elastic);
157
return Syntax.InternalSyntax.
SyntaxFactory
.Comment(text);
166
return Syntax.InternalSyntax.
SyntaxFactory
.DisabledText(text);
174
return Syntax.InternalSyntax.
SyntaxFactory
.PreprocessingMessage(text);
220
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Token(ElasticMarker.UnderlyingNode, kind, ElasticMarker.UnderlyingNode));
232
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Token(leading.Node, kind, trailing.Node));
267
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Token(leading.Node, kind, text, valueText, trailing.Node));
277
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.MissingToken(ElasticMarker.UnderlyingNode, kind, ElasticMarker.UnderlyingNode));
289
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.MissingToken(leading.Node, kind, trailing.Node));
298
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Identifier(ElasticMarker.UnderlyingNode, text, ElasticMarker.UnderlyingNode));
310
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Identifier(leading.Node, text, trailing.Node));
328
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Identifier(SyntaxKind.IdentifierName, leading.Node, "@" + text, valueText, trailing.Node));
344
return new SyntaxToken(InternalSyntax.
SyntaxFactory
.Identifier(contextualKind, leading.Node, text, valueText, trailing.Node));
363
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
375
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
394
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
406
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
425
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
437
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
456
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
468
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
487
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
499
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
518
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
530
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
549
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
561
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
580
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
592
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
611
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
623
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.Literal(leading.Node, text, value, trailing.Node));
634
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.BadToken(leading.Node, text, trailing.Node));
646
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.XmlTextLiteral(leading.Node, text, value, trailing.Node));
658
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.XmlEntity(leading.Node, text, value, trailing.Node));
1123
InternalSyntax.
SyntaxFactory
.XmlTextNewLine(
1140
InternalSyntax.
SyntaxFactory
.XmlTextNewLine(
1195
return new SyntaxToken(Syntax.InternalSyntax.
SyntaxFactory
.XmlTextLiteral(ElasticMarker.UnderlyingNode, text, value, ElasticMarker.UnderlyingNode));
1221
return Syntax.InternalSyntax.
SyntaxFactory
.DocumentationCommentExteriorTrivia(text);
1898
InternalSyntax.
SyntaxFactory
.MissingToken(SyntaxKind.OpenParenToken),
1900
InternalSyntax.
SyntaxFactory
.MissingToken(SyntaxKind.CloseParenToken),
Syntax\SyntaxTokenParser.cs (2)
70
var containingToken = InternalSyntax.
SyntaxFactory
.MissingToken(leading: leadingTrivia.Node, SyntaxKind.None, trailing: null);
85
var containingToken = InternalSyntax.
SyntaxFactory
.MissingToken(leading: null, SyntaxKind.None, trailing: trailingTrivia.Node);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (656)
Generated\Syntax.Test.xml.Generated.cs (656)
14
=>
InternalSyntaxFactory
.IdentifierName(
InternalSyntaxFactory
.Identifier("Identifier"));
17
=>
InternalSyntaxFactory
.QualifiedName(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.DotToken), GenerateIdentifierName());
20
=>
InternalSyntaxFactory
.GenericName(
InternalSyntaxFactory
.Identifier("Identifier"), GenerateTypeArgumentList());
23
=>
InternalSyntaxFactory
.TypeArgumentList(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.TypeSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.GreaterThanToken));
26
=>
InternalSyntaxFactory
.AliasQualifiedName(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonColonToken), GenerateIdentifierName());
29
=>
InternalSyntaxFactory
.PredefinedType(
InternalSyntaxFactory
.Token(SyntaxKind.BoolKeyword));
32
=>
InternalSyntaxFactory
.ArrayType(GenerateIdentifierName(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.ArrayRankSpecifierSyntax>());
35
=>
InternalSyntaxFactory
.ArrayRankSpecifier(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
38
=>
InternalSyntaxFactory
.PointerType(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.AsteriskToken));
41
=>
InternalSyntaxFactory
.FunctionPointerType(
InternalSyntaxFactory
.Token(SyntaxKind.DelegateKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.AsteriskToken), null, GenerateFunctionPointerParameterList());
44
=>
InternalSyntaxFactory
.FunctionPointerParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.FunctionPointerParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.GreaterThanToken));
47
=>
InternalSyntaxFactory
.FunctionPointerCallingConvention(
InternalSyntaxFactory
.Token(SyntaxKind.ManagedKeyword), null);
50
=>
InternalSyntaxFactory
.FunctionPointerUnmanagedCallingConventionList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.FunctionPointerUnmanagedCallingConventionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
53
=>
InternalSyntaxFactory
.FunctionPointerUnmanagedCallingConvention(
InternalSyntaxFactory
.Identifier("Name"));
56
=>
InternalSyntaxFactory
.NullableType(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.QuestionToken));
59
=>
InternalSyntaxFactory
.TupleType(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.TupleElementSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
62
=>
InternalSyntaxFactory
.TupleElement(GenerateIdentifierName(), null);
65
=>
InternalSyntaxFactory
.OmittedTypeArgument(
InternalSyntaxFactory
.Token(SyntaxKind.OmittedTypeArgumentToken));
68
=>
InternalSyntaxFactory
.RefType(
InternalSyntaxFactory
.Token(SyntaxKind.RefKeyword), null, GenerateIdentifierName());
71
=>
InternalSyntaxFactory
.ScopedType(
InternalSyntaxFactory
.Token(SyntaxKind.ScopedKeyword), GenerateIdentifierName());
74
=>
InternalSyntaxFactory
.ParenthesizedExpression(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
77
=>
InternalSyntaxFactory
.TupleExpression(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ArgumentSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
80
=>
InternalSyntaxFactory
.PrefixUnaryExpression(SyntaxKind.UnaryPlusExpression,
InternalSyntaxFactory
.Token(SyntaxKind.PlusToken), GenerateIdentifierName());
83
=>
InternalSyntaxFactory
.AwaitExpression(
InternalSyntaxFactory
.Token(SyntaxKind.AwaitKeyword), GenerateIdentifierName());
86
=>
InternalSyntaxFactory
.PostfixUnaryExpression(SyntaxKind.PostIncrementExpression, GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.PlusPlusToken));
89
=>
InternalSyntaxFactory
.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.DotToken), GenerateIdentifierName());
92
=>
InternalSyntaxFactory
.ConditionalAccessExpression(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.QuestionToken), GenerateIdentifierName());
95
=>
InternalSyntaxFactory
.MemberBindingExpression(
InternalSyntaxFactory
.Token(SyntaxKind.DotToken), GenerateIdentifierName());
98
=>
InternalSyntaxFactory
.ElementBindingExpression(GenerateBracketedArgumentList());
101
=>
InternalSyntaxFactory
.RangeExpression(null,
InternalSyntaxFactory
.Token(SyntaxKind.DotDotToken), null);
104
=>
InternalSyntaxFactory
.ImplicitElementAccess(GenerateBracketedArgumentList());
107
=>
InternalSyntaxFactory
.BinaryExpression(SyntaxKind.AddExpression, GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.PlusToken), GenerateIdentifierName());
110
=>
InternalSyntaxFactory
.AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
113
=>
InternalSyntaxFactory
.ConditionalExpression(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.QuestionToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken), GenerateIdentifierName());
116
=>
InternalSyntaxFactory
.ThisExpression(
InternalSyntaxFactory
.Token(SyntaxKind.ThisKeyword));
119
=>
InternalSyntaxFactory
.BaseExpression(
InternalSyntaxFactory
.Token(SyntaxKind.BaseKeyword));
122
=>
InternalSyntaxFactory
.LiteralExpression(SyntaxKind.ArgListExpression,
InternalSyntaxFactory
.Token(SyntaxKind.ArgListKeyword));
125
=>
InternalSyntaxFactory
.FieldExpression(
InternalSyntaxFactory
.Token(SyntaxKind.FieldKeyword));
128
=>
InternalSyntaxFactory
.MakeRefExpression(
InternalSyntaxFactory
.Token(SyntaxKind.MakeRefKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
131
=>
InternalSyntaxFactory
.RefTypeExpression(
InternalSyntaxFactory
.Token(SyntaxKind.RefTypeKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
134
=>
InternalSyntaxFactory
.RefValueExpression(
InternalSyntaxFactory
.Token(SyntaxKind.RefValueKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CommaToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
137
=>
InternalSyntaxFactory
.CheckedExpression(SyntaxKind.CheckedExpression,
InternalSyntaxFactory
.Token(SyntaxKind.CheckedKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
140
=>
InternalSyntaxFactory
.DefaultExpression(
InternalSyntaxFactory
.Token(SyntaxKind.DefaultKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
143
=>
InternalSyntaxFactory
.TypeOfExpression(
InternalSyntaxFactory
.Token(SyntaxKind.TypeOfKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
146
=>
InternalSyntaxFactory
.SizeOfExpression(
InternalSyntaxFactory
.Token(SyntaxKind.SizeOfKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
149
=>
InternalSyntaxFactory
.InvocationExpression(GenerateIdentifierName(), GenerateArgumentList());
152
=>
InternalSyntaxFactory
.ElementAccessExpression(GenerateIdentifierName(), GenerateBracketedArgumentList());
155
=>
InternalSyntaxFactory
.ArgumentList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ArgumentSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
158
=>
InternalSyntaxFactory
.BracketedArgumentList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ArgumentSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
161
=>
InternalSyntaxFactory
.Argument(null, null, GenerateIdentifierName());
164
=>
InternalSyntaxFactory
.ExpressionColon(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
167
=>
InternalSyntaxFactory
.NameColon(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
170
=>
InternalSyntaxFactory
.DeclarationExpression(GenerateIdentifierName(), GenerateSingleVariableDesignation());
173
=>
InternalSyntaxFactory
.CastExpression(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateIdentifierName());
176
=>
InternalSyntaxFactory
.AnonymousMethodExpression(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.DelegateKeyword), null, GenerateBlock(), null);
179
=>
InternalSyntaxFactory
.SimpleLambdaExpression(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateParameter(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsGreaterThanToken), null, null);
182
=>
InternalSyntaxFactory
.RefExpression(
InternalSyntaxFactory
.Token(SyntaxKind.RefKeyword), GenerateIdentifierName());
185
=>
InternalSyntaxFactory
.ParenthesizedLambdaExpression(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), null, GenerateParameterList(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsGreaterThanToken), null, null);
188
=>
InternalSyntaxFactory
.InitializerExpression(SyntaxKind.ObjectInitializerExpression,
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
191
=>
InternalSyntaxFactory
.ImplicitObjectCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword), GenerateArgumentList(), null);
194
=>
InternalSyntaxFactory
.ObjectCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword), GenerateIdentifierName(), null, null);
197
=>
InternalSyntaxFactory
.WithExpression(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.WithKeyword), GenerateInitializerExpression());
200
=>
InternalSyntaxFactory
.AnonymousObjectMemberDeclarator(null, GenerateIdentifierName());
203
=>
InternalSyntaxFactory
.AnonymousObjectCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.AnonymousObjectMemberDeclaratorSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
206
=>
InternalSyntaxFactory
.ArrayCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword), GenerateArrayType(), null);
209
=>
InternalSyntaxFactory
.ImplicitArrayCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken), GenerateInitializerExpression());
212
=>
InternalSyntaxFactory
.StackAllocArrayCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.StackAllocKeyword), GenerateIdentifierName(), null);
215
=>
InternalSyntaxFactory
.ImplicitStackAllocArrayCreationExpression(
InternalSyntaxFactory
.Token(SyntaxKind.StackAllocKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken), GenerateInitializerExpression());
218
=>
InternalSyntaxFactory
.CollectionExpression(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.CollectionElementSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
221
=>
InternalSyntaxFactory
.ExpressionElement(GenerateIdentifierName());
224
=>
InternalSyntaxFactory
.SpreadElement(
InternalSyntaxFactory
.Token(SyntaxKind.DotDotToken), GenerateIdentifierName());
227
=>
InternalSyntaxFactory
.QueryExpression(GenerateFromClause(), GenerateQueryBody());
230
=>
InternalSyntaxFactory
.QueryBody(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.QueryClauseSyntax>(), GenerateSelectClause(), null);
233
=>
InternalSyntaxFactory
.FromClause(
InternalSyntaxFactory
.Token(SyntaxKind.FromKeyword), null,
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.InKeyword), GenerateIdentifierName());
236
=>
InternalSyntaxFactory
.LetClause(
InternalSyntaxFactory
.Token(SyntaxKind.LetKeyword),
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
239
=>
InternalSyntaxFactory
.JoinClause(
InternalSyntaxFactory
.Token(SyntaxKind.JoinKeyword), null,
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.InKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.OnKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsKeyword), GenerateIdentifierName(), null);
242
=>
InternalSyntaxFactory
.JoinIntoClause(
InternalSyntaxFactory
.Token(SyntaxKind.IntoKeyword),
InternalSyntaxFactory
.Identifier("Identifier"));
245
=>
InternalSyntaxFactory
.WhereClause(
InternalSyntaxFactory
.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName());
248
=>
InternalSyntaxFactory
.OrderByClause(
InternalSyntaxFactory
.Token(SyntaxKind.OrderByKeyword), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.OrderingSyntax>());
251
=>
InternalSyntaxFactory
.Ordering(SyntaxKind.AscendingOrdering, GenerateIdentifierName(), null);
254
=>
InternalSyntaxFactory
.SelectClause(
InternalSyntaxFactory
.Token(SyntaxKind.SelectKeyword), GenerateIdentifierName());
257
=>
InternalSyntaxFactory
.GroupClause(
InternalSyntaxFactory
.Token(SyntaxKind.GroupKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ByKeyword), GenerateIdentifierName());
260
=>
InternalSyntaxFactory
.QueryContinuation(
InternalSyntaxFactory
.Token(SyntaxKind.IntoKeyword),
InternalSyntaxFactory
.Identifier("Identifier"), GenerateQueryBody());
263
=>
InternalSyntaxFactory
.OmittedArraySizeExpression(
InternalSyntaxFactory
.Token(SyntaxKind.OmittedArraySizeExpressionToken));
266
=>
InternalSyntaxFactory
.InterpolatedStringExpression(
InternalSyntaxFactory
.Token(SyntaxKind.InterpolatedStringStartToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.InterpolatedStringContentSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.InterpolatedStringEndToken));
269
=>
InternalSyntaxFactory
.IsPatternExpression(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.IsKeyword), GenerateDiscardPattern());
272
=>
InternalSyntaxFactory
.ThrowExpression(
InternalSyntaxFactory
.Token(SyntaxKind.ThrowKeyword), GenerateIdentifierName());
275
=>
InternalSyntaxFactory
.WhenClause(
InternalSyntaxFactory
.Token(SyntaxKind.WhenKeyword), GenerateIdentifierName());
278
=>
InternalSyntaxFactory
.DiscardPattern(
InternalSyntaxFactory
.Token(SyntaxKind.UnderscoreToken));
281
=>
InternalSyntaxFactory
.DeclarationPattern(GenerateIdentifierName(), GenerateSingleVariableDesignation());
284
=>
InternalSyntaxFactory
.VarPattern(
InternalSyntaxFactory
.Token(SyntaxKind.VarKeyword), GenerateSingleVariableDesignation());
287
=>
InternalSyntaxFactory
.RecursivePattern(null, null, null, null);
290
=>
InternalSyntaxFactory
.PositionalPatternClause(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.SubpatternSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
293
=>
InternalSyntaxFactory
.PropertyPatternClause(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.SubpatternSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
296
=>
InternalSyntaxFactory
.Subpattern(null, GenerateDiscardPattern());
299
=>
InternalSyntaxFactory
.ConstantPattern(GenerateIdentifierName());
302
=>
InternalSyntaxFactory
.ParenthesizedPattern(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateDiscardPattern(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
305
=>
InternalSyntaxFactory
.RelationalPattern(
InternalSyntaxFactory
.Token(SyntaxKind.EqualsEqualsToken), GenerateIdentifierName());
308
=>
InternalSyntaxFactory
.TypePattern(GenerateIdentifierName());
311
=>
InternalSyntaxFactory
.BinaryPattern(SyntaxKind.OrPattern, GenerateDiscardPattern(),
InternalSyntaxFactory
.Token(SyntaxKind.OrKeyword), GenerateDiscardPattern());
314
=>
InternalSyntaxFactory
.UnaryPattern(
InternalSyntaxFactory
.Token(SyntaxKind.NotKeyword), GenerateDiscardPattern());
317
=>
InternalSyntaxFactory
.ListPattern(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.PatternSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken), null);
320
=>
InternalSyntaxFactory
.SlicePattern(
InternalSyntaxFactory
.Token(SyntaxKind.DotDotToken), null);
323
=>
InternalSyntaxFactory
.InterpolatedStringText(
InternalSyntaxFactory
.Token(SyntaxKind.InterpolatedStringTextToken));
326
=>
InternalSyntaxFactory
.Interpolation(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), GenerateIdentifierName(), null, null,
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
329
=>
InternalSyntaxFactory
.InterpolationAlignmentClause(
InternalSyntaxFactory
.Identifier("CommaToken"), GenerateIdentifierName());
332
=>
InternalSyntaxFactory
.InterpolationFormatClause(
InternalSyntaxFactory
.Identifier("ColonToken"),
InternalSyntaxFactory
.Token(SyntaxKind.InterpolatedStringTextToken));
335
=>
InternalSyntaxFactory
.GlobalStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateBlock());
338
=>
InternalSyntaxFactory
.Block(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.StatementSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
341
=>
InternalSyntaxFactory
.LocalFunctionStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName(),
InternalSyntaxFactory
.Identifier("Identifier"), null, GenerateParameterList(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, null, null);
344
=>
InternalSyntaxFactory
.LocalDeclarationStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateVariableDeclaration(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
347
=>
InternalSyntaxFactory
.VariableDeclaration(GenerateIdentifierName(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.VariableDeclaratorSyntax>());
350
=>
InternalSyntaxFactory
.VariableDeclarator(
InternalSyntaxFactory
.Identifier("Identifier"), null, null);
353
=>
InternalSyntaxFactory
.EqualsValueClause(
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
356
=>
InternalSyntaxFactory
.SingleVariableDesignation(
InternalSyntaxFactory
.Identifier("Identifier"));
359
=>
InternalSyntaxFactory
.DiscardDesignation(
InternalSyntaxFactory
.Token(SyntaxKind.UnderscoreToken));
362
=>
InternalSyntaxFactory
.ParenthesizedVariableDesignation(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.VariableDesignationSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
365
=>
InternalSyntaxFactory
.ExpressionStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
368
=>
InternalSyntaxFactory
.EmptyStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
371
=>
InternalSyntaxFactory
.LabeledStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken), GenerateBlock());
374
=>
InternalSyntaxFactory
.GotoStatement(SyntaxKind.GotoStatement, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.GotoKeyword), null, null,
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
377
=>
InternalSyntaxFactory
.BreakStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.BreakKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
380
=>
InternalSyntaxFactory
.ContinueStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.ContinueKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
383
=>
InternalSyntaxFactory
.ReturnStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.ReturnKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
386
=>
InternalSyntaxFactory
.ThrowStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.ThrowKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
389
=>
InternalSyntaxFactory
.YieldStatement(SyntaxKind.YieldReturnStatement, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.YieldKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.ReturnKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
392
=>
InternalSyntaxFactory
.WhileStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.WhileKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
395
=>
InternalSyntaxFactory
.DoStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.DoKeyword), GenerateBlock(),
InternalSyntaxFactory
.Token(SyntaxKind.WhileKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
398
=>
InternalSyntaxFactory
.ForStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.ForKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken), null,
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
401
=>
InternalSyntaxFactory
.ForEachStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), null,
InternalSyntaxFactory
.Token(SyntaxKind.ForEachKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.InKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
404
=>
InternalSyntaxFactory
.ForEachVariableStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), null,
InternalSyntaxFactory
.Token(SyntaxKind.ForEachKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.InKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
407
=>
InternalSyntaxFactory
.UsingStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), null,
InternalSyntaxFactory
.Token(SyntaxKind.UsingKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), null, null,
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
410
=>
InternalSyntaxFactory
.FixedStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.FixedKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateVariableDeclaration(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
413
=>
InternalSyntaxFactory
.CheckedStatement(SyntaxKind.CheckedStatement, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CheckedKeyword), GenerateBlock());
416
=>
InternalSyntaxFactory
.UnsafeStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.UnsafeKeyword), GenerateBlock());
419
=>
InternalSyntaxFactory
.LockStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.LockKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock());
422
=>
InternalSyntaxFactory
.IfStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.IfKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken), GenerateBlock(), null);
425
=>
InternalSyntaxFactory
.ElseClause(
InternalSyntaxFactory
.Token(SyntaxKind.ElseKeyword), GenerateBlock());
428
=>
InternalSyntaxFactory
.SwitchStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.SwitchKeyword), null, GenerateIdentifierName(), null,
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SwitchSectionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
431
=>
InternalSyntaxFactory
.SwitchSection(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SwitchLabelSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.StatementSyntax>());
434
=>
InternalSyntaxFactory
.CasePatternSwitchLabel(
InternalSyntaxFactory
.Token(SyntaxKind.CaseKeyword), GenerateDiscardPattern(), null,
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
437
=>
InternalSyntaxFactory
.CaseSwitchLabel(
InternalSyntaxFactory
.Token(SyntaxKind.CaseKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
440
=>
InternalSyntaxFactory
.DefaultSwitchLabel(
InternalSyntaxFactory
.Token(SyntaxKind.DefaultKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
443
=>
InternalSyntaxFactory
.SwitchExpression(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.SwitchKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.SwitchExpressionArmSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
446
=>
InternalSyntaxFactory
.SwitchExpressionArm(GenerateDiscardPattern(), null,
InternalSyntaxFactory
.Token(SyntaxKind.EqualsGreaterThanToken), GenerateIdentifierName());
449
=>
InternalSyntaxFactory
.TryStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.TryKeyword), GenerateBlock(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.CatchClauseSyntax>(), null);
452
=>
InternalSyntaxFactory
.CatchClause(
InternalSyntaxFactory
.Token(SyntaxKind.CatchKeyword), null, null, GenerateBlock());
455
=>
InternalSyntaxFactory
.CatchDeclaration(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
458
=>
InternalSyntaxFactory
.CatchFilterClause(
InternalSyntaxFactory
.Token(SyntaxKind.WhenKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
461
=>
InternalSyntaxFactory
.FinallyClause(
InternalSyntaxFactory
.Token(SyntaxKind.FinallyKeyword), GenerateBlock());
464
=>
InternalSyntaxFactory
.CompilationUnit(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.ExternAliasDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.UsingDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfFileToken));
467
=>
InternalSyntaxFactory
.ExternAliasDirective(
InternalSyntaxFactory
.Token(SyntaxKind.ExternKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.AliasKeyword),
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
470
=>
InternalSyntaxFactory
.UsingDirective(null,
InternalSyntaxFactory
.Token(SyntaxKind.UsingKeyword), null, null, null, GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
473
=>
InternalSyntaxFactory
.NamespaceDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.NamespaceKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.ExternAliasDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.UsingDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken), null);
476
=>
InternalSyntaxFactory
.FileScopedNamespaceDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.NamespaceKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.ExternAliasDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.UsingDirectiveSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>());
479
=>
InternalSyntaxFactory
.AttributeList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.AttributeSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
482
=>
InternalSyntaxFactory
.AttributeTargetSpecifier(
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
485
=>
InternalSyntaxFactory
.Attribute(GenerateIdentifierName(), null);
488
=>
InternalSyntaxFactory
.AttributeArgumentList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.AttributeArgumentSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
491
=>
InternalSyntaxFactory
.AttributeArgument(null, null, GenerateIdentifierName());
494
=>
InternalSyntaxFactory
.NameEquals(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken));
497
=>
InternalSyntaxFactory
.TypeParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.TypeParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.GreaterThanToken));
500
=>
InternalSyntaxFactory
.TypeParameter(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), null,
InternalSyntaxFactory
.Identifier("Identifier"));
503
=>
InternalSyntaxFactory
.ClassDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.ClassKeyword),
InternalSyntaxFactory
.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null);
506
=>
InternalSyntaxFactory
.StructDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.StructKeyword),
InternalSyntaxFactory
.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null);
509
=>
InternalSyntaxFactory
.InterfaceDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.InterfaceKeyword),
InternalSyntaxFactory
.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null);
512
=>
InternalSyntaxFactory
.RecordDeclaration(SyntaxKind.RecordDeclaration, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Identifier("Keyword"), null,
InternalSyntaxFactory
.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null);
515
=>
InternalSyntaxFactory
.EnumDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.EnumKeyword),
InternalSyntaxFactory
.Identifier("Identifier"), null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.EnumMemberDeclarationSyntax>(), null, null);
518
=>
InternalSyntaxFactory
.DelegateDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.DelegateKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Identifier("Identifier"), null, GenerateParameterList(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
521
=>
InternalSyntaxFactory
.EnumMemberDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Identifier("Identifier"), null);
524
=>
InternalSyntaxFactory
.BaseList(
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.BaseTypeSyntax>());
527
=>
InternalSyntaxFactory
.SimpleBaseType(GenerateIdentifierName());
530
=>
InternalSyntaxFactory
.PrimaryConstructorBaseType(GenerateIdentifierName(), GenerateArgumentList());
533
=>
InternalSyntaxFactory
.TypeParameterConstraintClause(
InternalSyntaxFactory
.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.TypeParameterConstraintSyntax>());
536
=>
InternalSyntaxFactory
.ConstructorConstraint(
InternalSyntaxFactory
.Token(SyntaxKind.NewKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
539
=>
InternalSyntaxFactory
.ClassOrStructConstraint(SyntaxKind.ClassConstraint,
InternalSyntaxFactory
.Token(SyntaxKind.ClassKeyword), null);
542
=>
InternalSyntaxFactory
.TypeConstraint(GenerateIdentifierName());
545
=>
InternalSyntaxFactory
.DefaultConstraint(
InternalSyntaxFactory
.Token(SyntaxKind.DefaultKeyword));
548
=>
InternalSyntaxFactory
.AllowsConstraintClause(
InternalSyntaxFactory
.Token(SyntaxKind.AllowsKeyword), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.AllowsConstraintSyntax>());
551
=>
InternalSyntaxFactory
.RefStructConstraint(
InternalSyntaxFactory
.Token(SyntaxKind.RefKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.StructKeyword));
554
=>
InternalSyntaxFactory
.FieldDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateVariableDeclaration(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
557
=>
InternalSyntaxFactory
.EventFieldDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.EventKeyword), GenerateVariableDeclaration(),
InternalSyntaxFactory
.Token(SyntaxKind.SemicolonToken));
560
=>
InternalSyntaxFactory
.ExplicitInterfaceSpecifier(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.DotToken));
563
=>
InternalSyntaxFactory
.MethodDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Identifier("Identifier"), null, GenerateParameterList(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, null, null);
566
=>
InternalSyntaxFactory
.OperatorDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Token(SyntaxKind.OperatorKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.PlusToken), GenerateParameterList(), null, null, null);
569
=>
InternalSyntaxFactory
.ConversionOperatorDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.ImplicitKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.OperatorKeyword), null, GenerateIdentifierName(), GenerateParameterList(), null, null, null);
572
=>
InternalSyntaxFactory
.ConstructorDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Identifier("Identifier"), GenerateParameterList(), null, null, null, null);
575
=>
InternalSyntaxFactory
.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer,
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken),
InternalSyntaxFactory
.Token(SyntaxKind.BaseKeyword), GenerateArgumentList());
578
=>
InternalSyntaxFactory
.DestructorDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.TildeToken),
InternalSyntaxFactory
.Identifier("Identifier"), GenerateParameterList(), null, null, null);
581
=>
InternalSyntaxFactory
.PropertyDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Identifier("Identifier"), null, null, null, null);
584
=>
InternalSyntaxFactory
.ArrowExpressionClause(
InternalSyntaxFactory
.Token(SyntaxKind.EqualsGreaterThanToken), GenerateIdentifierName());
587
=>
InternalSyntaxFactory
.EventDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.EventKeyword), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Identifier("Identifier"), null, null);
590
=>
InternalSyntaxFactory
.IndexerDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName(), null,
InternalSyntaxFactory
.Token(SyntaxKind.ThisKeyword), GenerateBracketedParameterList(), null, null, null);
593
=>
InternalSyntaxFactory
.AccessorList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBraceToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AccessorDeclarationSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBraceToken));
596
=>
InternalSyntaxFactory
.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.GetKeyword), null, null, null);
599
=>
InternalSyntaxFactory
.ParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
602
=>
InternalSyntaxFactory
.BracketedParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
605
=>
InternalSyntaxFactory
.Parameter(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), null,
InternalSyntaxFactory
.Identifier("Identifier"), null);
608
=>
InternalSyntaxFactory
.FunctionPointerParameter(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), GenerateIdentifierName());
611
=>
InternalSyntaxFactory
.IncompleteMember(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), null);
614
=>
InternalSyntaxFactory
.SkippedTokensTrivia(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>());
617
=>
InternalSyntaxFactory
.DocumentationCommentTrivia(SyntaxKind.SingleLineDocumentationCommentTrivia, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.XmlNodeSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDocumentationCommentToken));
620
=>
InternalSyntaxFactory
.TypeCref(GenerateIdentifierName());
623
=>
InternalSyntaxFactory
.QualifiedCref(GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.DotToken), GenerateNameMemberCref());
626
=>
InternalSyntaxFactory
.NameMemberCref(GenerateIdentifierName(), null);
629
=>
InternalSyntaxFactory
.IndexerMemberCref(
InternalSyntaxFactory
.Token(SyntaxKind.ThisKeyword), null);
632
=>
InternalSyntaxFactory
.OperatorMemberCref(
InternalSyntaxFactory
.Token(SyntaxKind.OperatorKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.PlusToken), null);
635
=>
InternalSyntaxFactory
.ConversionOperatorMemberCref(
InternalSyntaxFactory
.Token(SyntaxKind.ImplicitKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.OperatorKeyword), null, GenerateIdentifierName(), null);
638
=>
InternalSyntaxFactory
.CrefParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.CrefParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
641
=>
InternalSyntaxFactory
.CrefBracketedParameterList(
InternalSyntaxFactory
.Token(SyntaxKind.OpenBracketToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.CrefParameterSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.CloseBracketToken));
644
=>
InternalSyntaxFactory
.CrefParameter(null, null, GenerateIdentifierName());
647
=>
InternalSyntaxFactory
.XmlElement(GenerateXmlElementStartTag(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.XmlNodeSyntax>(), GenerateXmlElementEndTag());
650
=>
InternalSyntaxFactory
.XmlElementStartTag(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanToken), GenerateXmlName(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.XmlAttributeSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.GreaterThanToken));
653
=>
InternalSyntaxFactory
.XmlElementEndTag(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanSlashToken), GenerateXmlName(),
InternalSyntaxFactory
.Token(SyntaxKind.GreaterThanToken));
656
=>
InternalSyntaxFactory
.XmlEmptyElement(
InternalSyntaxFactory
.Token(SyntaxKind.LessThanToken), GenerateXmlName(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.XmlAttributeSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.SlashGreaterThanToken));
659
=>
InternalSyntaxFactory
.XmlName(null,
InternalSyntaxFactory
.Identifier("LocalName"));
662
=>
InternalSyntaxFactory
.XmlPrefix(
InternalSyntaxFactory
.Identifier("Prefix"),
InternalSyntaxFactory
.Token(SyntaxKind.ColonToken));
665
=>
InternalSyntaxFactory
.XmlTextAttribute(GenerateXmlName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken));
668
=>
InternalSyntaxFactory
.XmlCrefAttribute(GenerateXmlName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken), GenerateTypeCref(),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken));
671
=>
InternalSyntaxFactory
.XmlNameAttribute(GenerateXmlName(),
InternalSyntaxFactory
.Token(SyntaxKind.EqualsToken),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.SingleQuoteToken));
674
=>
InternalSyntaxFactory
.XmlText(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>());
677
=>
InternalSyntaxFactory
.XmlCDataSection(
InternalSyntaxFactory
.Token(SyntaxKind.XmlCDataStartToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.XmlCDataEndToken));
680
=>
InternalSyntaxFactory
.XmlProcessingInstruction(
InternalSyntaxFactory
.Token(SyntaxKind.XmlProcessingInstructionStartToken), GenerateXmlName(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.XmlProcessingInstructionEndToken));
683
=>
InternalSyntaxFactory
.XmlComment(
InternalSyntaxFactory
.Token(SyntaxKind.XmlCommentStartToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(),
InternalSyntaxFactory
.Token(SyntaxKind.XmlCommentEndToken));
686
=>
InternalSyntaxFactory
.IfDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.IfKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool(), new bool(), new bool());
689
=>
InternalSyntaxFactory
.ElifDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.ElifKeyword), GenerateIdentifierName(),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool(), new bool(), new bool());
692
=>
InternalSyntaxFactory
.ElseDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.ElseKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool(), new bool());
695
=>
InternalSyntaxFactory
.EndIfDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.EndIfKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
698
=>
InternalSyntaxFactory
.RegionDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.RegionKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
701
=>
InternalSyntaxFactory
.EndRegionDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.EndRegionKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
704
=>
InternalSyntaxFactory
.ErrorDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.ErrorKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
707
=>
InternalSyntaxFactory
.WarningDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.WarningKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
710
=>
InternalSyntaxFactory
.BadDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Identifier("Identifier"),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
713
=>
InternalSyntaxFactory
.DefineDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.DefineKeyword),
InternalSyntaxFactory
.Identifier("Name"),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
716
=>
InternalSyntaxFactory
.UndefDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.UndefKeyword),
InternalSyntaxFactory
.Identifier("Name"),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
719
=>
InternalSyntaxFactory
.LineDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.LineKeyword),
InternalSyntaxFactory
.Literal(null, "1", 1, null), null,
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
722
=>
InternalSyntaxFactory
.LineDirectivePosition(
InternalSyntaxFactory
.Token(SyntaxKind.OpenParenToken),
InternalSyntaxFactory
.Literal(null, "1", 1, null),
InternalSyntaxFactory
.Token(SyntaxKind.CommaToken),
InternalSyntaxFactory
.Literal(null, "1", 1, null),
InternalSyntaxFactory
.Token(SyntaxKind.CloseParenToken));
725
=>
InternalSyntaxFactory
.LineSpanDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.LineKeyword), GenerateLineDirectivePosition(),
InternalSyntaxFactory
.Token(SyntaxKind.MinusToken), GenerateLineDirectivePosition(), null,
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
728
=>
InternalSyntaxFactory
.PragmaWarningDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.PragmaKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.WarningKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.DisableKeyword), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
731
=>
InternalSyntaxFactory
.PragmaChecksumDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.PragmaKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.ChecksumKeyword),
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
734
=>
InternalSyntaxFactory
.ReferenceDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.ReferenceKeyword),
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
737
=>
InternalSyntaxFactory
.LoadDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.LoadKeyword),
InternalSyntaxFactory
.Literal(null, "string", "string", null),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
740
=>
InternalSyntaxFactory
.ShebangDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.ExclamationToken),
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());
743
=>
InternalSyntaxFactory
.NullableDirectiveTrivia(
InternalSyntaxFactory
.Token(SyntaxKind.HashToken),
InternalSyntaxFactory
.Token(SyntaxKind.NullableKeyword),
InternalSyntaxFactory
.Token(SyntaxKind.EnableKeyword), null,
InternalSyntaxFactory
.Token(SyntaxKind.EndOfDirectiveToken), new bool());