40 references to OmittedTypeArgumentToken
Microsoft.CodeAnalysis.CSharp (2)
Parser\LanguageParser.cs (1)
6228
var omittedTypeArgumentInstance = _syntaxFactory.OmittedTypeArgument(SyntaxFactory.Token(SyntaxKind.
OmittedTypeArgumentToken
));
Syntax\SyntaxKind.cs (1)
491
/// <para>For example <c>Dictionary<,></c> which has <see cref="
OmittedTypeArgumentToken
"/> as a child of
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
281
if ((previousToken.IsCommaInArgumentOrParameterList() && currentKind != SyntaxKind.
OmittedTypeArgumentToken
)
292
if ((currentToken.IsCommaInArgumentOrParameterList() && previousKind != SyntaxKind.
OmittedTypeArgumentToken
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
284
previousToken.Kind() == SyntaxKind.
OmittedTypeArgumentToken
||
286
currentToken.Kind() == SyntaxKind.
OmittedTypeArgumentToken
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (30)
Generated\Syntax.Test.xml.Generated.cs (4)
65
=> InternalSyntaxFactory.OmittedTypeArgument(InternalSyntaxFactory.Token(SyntaxKind.
OmittedTypeArgumentToken
));
945
Assert.Equal(SyntaxKind.
OmittedTypeArgumentToken
, node.OmittedTypeArgumentToken.Kind);
10281
=> SyntaxFactory.OmittedTypeArgument(SyntaxFactory.Token(SyntaxKind.
OmittedTypeArgumentToken
));
11161
Assert.Equal(SyntaxKind.
OmittedTypeArgumentToken
, node.OmittedTypeArgumentToken.Kind());
Parsing\CollectionExpressionParsingTests.cs (3)
5529
N(SyntaxKind.
OmittedTypeArgumentToken
);
5560
N(SyntaxKind.
OmittedTypeArgumentToken
);
5565
N(SyntaxKind.
OmittedTypeArgumentToken
);
Parsing\NameParsingTests.cs (9)
883
N(SyntaxKind.
OmittedTypeArgumentToken
);
888
N(SyntaxKind.
OmittedTypeArgumentToken
);
981
N(SyntaxKind.
OmittedTypeArgumentToken
);
986
N(SyntaxKind.
OmittedTypeArgumentToken
);
1114
N(SyntaxKind.
OmittedTypeArgumentToken
);
1234
N(SyntaxKind.
OmittedTypeArgumentToken
);
1384
N(SyntaxKind.
OmittedTypeArgumentToken
);
1398
N(SyntaxKind.
OmittedTypeArgumentToken
);
1403
N(SyntaxKind.
OmittedTypeArgumentToken
);
Parsing\SeparatedSyntaxListParsingTests.cs (14)
80
N(SyntaxKind.
OmittedTypeArgumentToken
);
128
N(SyntaxKind.
OmittedTypeArgumentToken
);
133
N(SyntaxKind.
OmittedTypeArgumentToken
);
186
N(SyntaxKind.
OmittedTypeArgumentToken
);
191
N(SyntaxKind.
OmittedTypeArgumentToken
);
196
N(SyntaxKind.
OmittedTypeArgumentToken
);
376
N(SyntaxKind.
OmittedTypeArgumentToken
);
416
N(SyntaxKind.
OmittedTypeArgumentToken
);
421
N(SyntaxKind.
OmittedTypeArgumentToken
);
468
N(SyntaxKind.
OmittedTypeArgumentToken
);
501
N(SyntaxKind.
OmittedTypeArgumentToken
);
548
N(SyntaxKind.
OmittedTypeArgumentToken
);
553
N(SyntaxKind.
OmittedTypeArgumentToken
);
597
N(SyntaxKind.
OmittedTypeArgumentToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
281
if ((previousToken.IsCommaInArgumentOrParameterList() && currentKind != SyntaxKind.
OmittedTypeArgumentToken
)
292
if ((currentToken.IsCommaInArgumentOrParameterList() && previousKind != SyntaxKind.
OmittedTypeArgumentToken
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
284
previousToken.Kind() == SyntaxKind.
OmittedTypeArgumentToken
||
286
currentToken.Kind() == SyntaxKind.
OmittedTypeArgumentToken
)