836 references to NumericLiteralExpression
Microsoft.AspNetCore.App.Analyzers (1)
RenderTreeBuilder\RenderTreeBuilderAnalyzer.cs (1)
43if (!argument.Value.Syntax.IsKind(SyntaxKind.NumericLiteralExpression))
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
243return SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(statusCode));
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (2)
700case SyntaxKind.NumericLiteralExpression: 7190if (node.Kind() is SyntaxKind.NumericLiteralExpression)
Binder\Binder_Operators.cs (1)
3084if (node.Operand != operand.Syntax || operand.Syntax.Kind() != SyntaxKind.NumericLiteralExpression)
Binder\Binder_Statements.cs (1)
2209if (sourceType.SpecialType == SpecialType.System_Double && syntax.Kind() == SyntaxKind.NumericLiteralExpression &&
Binder\EarlyWellKnownAttributeBinder.cs (1)
81case SyntaxKind.NumericLiteralExpression:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1739var greenNode = new Syntax.InternalSyntax.LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression, new Syntax.InternalSyntax.SyntaxToken(SyntaxKind.NumericLiteralToken));
Parser\DirectiveParser.cs (2)
596idExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, id); 613idExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, id);
Parser\LanguageParser.cs (1)
10763case SyntaxKind.NumericLiteralExpression:
Syntax\CSharpPragmaWarningStateMap.cs (1)
125if (currentErrorCode.Kind() == SyntaxKind.NumericLiteralExpression)
Syntax\LiteralExpressionSyntax.cs (1)
20SyntaxKind.NumericLiteralExpression => SyntaxKind.NumericLiteralToken,
Syntax\SyntaxKindFacts.cs (1)
580SyntaxKind.NumericLiteralToken => SyntaxKind.NumericLiteralExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
84public int NumericLiteralExpression => (int)SyntaxKind.NumericLiteralExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EnumMemberGenerator.cs (6)
123if (binaryExpression.Left.Kind() == SyntaxKind.NumericLiteralExpression) 134LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(numericLiteral.Token.Text, 1)), 135LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(shiftValue.ToString(), shiftValue))); 139else if (lastExpression is LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) numericLiteral) 147return LiteralExpression(SyntaxKind.NumericLiteralExpression, 152return LiteralExpression(SyntaxKind.NumericLiteralExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
273SyntaxKind.NumericLiteralExpression, tokenFactory(stringValue, nonNegativeValue));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1659SyntaxKind.NumericLiteralExpression);
Diagnostics\GetDiagnosticsTests.cs (1)
967SyntaxKind.NumericLiteralExpression);
Semantics\PrimaryConstructorTests.cs (4)
3754context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 5020context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 5255context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 5975context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression);
Semantics\RecordTests.cs (2)
26194context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 27483context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression);
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
320LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(0)), // count = 0
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
80case SyntaxKind.NumericLiteralExpression:
EditAndContinue\SyntaxComparer.cs (1)
521case SyntaxKind.NumericLiteralExpression:
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
75LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) literal
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\SyntaxComparerTests.cs (1)
23=> SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(n));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IVariableDeclaration.cs (1)
1217.WithSizes(SyntaxFactory.SeparatedList<ExpressionSyntax>(SyntaxFactory.NodeOrTokenList(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(10)))));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\NullableReferenceTypesTests.cs (1)
7765new[] { SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(3)) }),
Semantics\RecordStructTests.cs (2)
5954context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 6701context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression);
Semantics\SyntaxTreeRootTests.cs (5)
50var tree = SyntaxFactory.SyntaxTree(SyntaxFactory.FromClause("Nay", SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(823)))); 72SyntaxFactory.LetClause("Blah", SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(54))), 80var node = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(3)); 88var node = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(3)); 97SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(3)));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoBrokenCodeTests.cs (1)
268Assert.Equal(SyntaxKind.NumericLiteralExpression, literalSyntax.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (743)
LexicalAndXml\PreprocessorTests.cs (1)
338if (actualWarningNumber.Kind() == SyntaxKind.NumericLiteralExpression)
Parsing\AsyncParsingTests.cs (5)
492N(SyntaxKind.NumericLiteralExpression); 2679N(SyntaxKind.NumericLiteralExpression); 2728N(SyntaxKind.NumericLiteralExpression); 2775N(SyntaxKind.NumericLiteralExpression); 2829N(SyntaxKind.NumericLiteralExpression);
Parsing\AwaitParsingTests.cs (8)
197N(SyntaxKind.NumericLiteralExpression); 275N(SyntaxKind.NumericLiteralExpression); 951N(SyntaxKind.NumericLiteralExpression); 996N(SyntaxKind.NumericLiteralExpression); 1065N(SyntaxKind.NumericLiteralExpression); 1916N(SyntaxKind.NumericLiteralExpression); 1942N(SyntaxKind.NumericLiteralExpression); 2337N(SyntaxKind.NumericLiteralExpression);
Parsing\CollectionExpressionParsingTests.cs (117)
1042N(SyntaxKind.NumericLiteralExpression); 3850N(SyntaxKind.NumericLiteralExpression); 3858N(SyntaxKind.NumericLiteralExpression); 3866N(SyntaxKind.NumericLiteralExpression); 3904N(SyntaxKind.NumericLiteralExpression); 3912N(SyntaxKind.NumericLiteralExpression); 3920N(SyntaxKind.NumericLiteralExpression); 3966N(SyntaxKind.NumericLiteralExpression); 3974N(SyntaxKind.NumericLiteralExpression); 3982N(SyntaxKind.NumericLiteralExpression); 4028N(SyntaxKind.NumericLiteralExpression); 4036N(SyntaxKind.NumericLiteralExpression); 4044N(SyntaxKind.NumericLiteralExpression); 4084N(SyntaxKind.NumericLiteralExpression); 4092N(SyntaxKind.NumericLiteralExpression); 4100N(SyntaxKind.NumericLiteralExpression); 4140N(SyntaxKind.NumericLiteralExpression); 4148N(SyntaxKind.NumericLiteralExpression); 4156N(SyntaxKind.NumericLiteralExpression); 4198N(SyntaxKind.NumericLiteralExpression); 4206N(SyntaxKind.NumericLiteralExpression); 4214N(SyntaxKind.NumericLiteralExpression); 4255N(SyntaxKind.NumericLiteralExpression); 4263N(SyntaxKind.NumericLiteralExpression); 4271N(SyntaxKind.NumericLiteralExpression); 4333N(SyntaxKind.NumericLiteralExpression); 4341N(SyntaxKind.NumericLiteralExpression); 4357N(SyntaxKind.NumericLiteralExpression); 4365N(SyntaxKind.NumericLiteralExpression); 4381N(SyntaxKind.NumericLiteralExpression); 4389N(SyntaxKind.NumericLiteralExpression); 4437N(SyntaxKind.NumericLiteralExpression); 4445N(SyntaxKind.NumericLiteralExpression); 4453N(SyntaxKind.NumericLiteralExpression); 4490N(SyntaxKind.NumericLiteralExpression); 4498N(SyntaxKind.NumericLiteralExpression); 4506N(SyntaxKind.NumericLiteralExpression); 4551N(SyntaxKind.NumericLiteralExpression); 4559N(SyntaxKind.NumericLiteralExpression); 4567N(SyntaxKind.NumericLiteralExpression); 4612N(SyntaxKind.NumericLiteralExpression); 4620N(SyntaxKind.NumericLiteralExpression); 4628N(SyntaxKind.NumericLiteralExpression); 4661N(SyntaxKind.NumericLiteralExpression); 4669N(SyntaxKind.NumericLiteralExpression); 4677N(SyntaxKind.NumericLiteralExpression); 4716N(SyntaxKind.NumericLiteralExpression); 4724N(SyntaxKind.NumericLiteralExpression); 4732N(SyntaxKind.NumericLiteralExpression); 4780N(SyntaxKind.NumericLiteralExpression); 4788N(SyntaxKind.NumericLiteralExpression); 4796N(SyntaxKind.NumericLiteralExpression); 4842N(SyntaxKind.NumericLiteralExpression); 4850N(SyntaxKind.NumericLiteralExpression); 4858N(SyntaxKind.NumericLiteralExpression); 4899N(SyntaxKind.NumericLiteralExpression); 4907N(SyntaxKind.NumericLiteralExpression); 4915N(SyntaxKind.NumericLiteralExpression); 4964N(SyntaxKind.NumericLiteralExpression); 4972N(SyntaxKind.NumericLiteralExpression); 4980N(SyntaxKind.NumericLiteralExpression); 5028N(SyntaxKind.NumericLiteralExpression); 5036N(SyntaxKind.NumericLiteralExpression); 5044N(SyntaxKind.NumericLiteralExpression); 5090N(SyntaxKind.NumericLiteralExpression); 5098N(SyntaxKind.NumericLiteralExpression); 5106N(SyntaxKind.NumericLiteralExpression); 5160N(SyntaxKind.NumericLiteralExpression); 5168N(SyntaxKind.NumericLiteralExpression); 5176N(SyntaxKind.NumericLiteralExpression); 5217N(SyntaxKind.NumericLiteralExpression); 5273N(SyntaxKind.NumericLiteralExpression); 5316N(SyntaxKind.NumericLiteralExpression); 5324N(SyntaxKind.NumericLiteralExpression); 5486N(SyntaxKind.NumericLiteralExpression); 5494N(SyntaxKind.NumericLiteralExpression); 5502N(SyntaxKind.NumericLiteralExpression); 5621N(SyntaxKind.NumericLiteralExpression); 5676N(SyntaxKind.NumericLiteralExpression); 5737N(SyntaxKind.NumericLiteralExpression); 6682N(SyntaxKind.NumericLiteralExpression); 6714N(SyntaxKind.NumericLiteralExpression); 6763N(SyntaxKind.NumericLiteralExpression); 6807N(SyntaxKind.NumericLiteralExpression); 6858N(SyntaxKind.NumericLiteralExpression); 8904N(SyntaxKind.NumericLiteralExpression); 9058N(SyntaxKind.NumericLiteralExpression); 9199N(SyntaxKind.NumericLiteralExpression); 9295N(SyntaxKind.NumericLiteralExpression); 9431N(SyntaxKind.NumericLiteralExpression); 9443N(SyntaxKind.NumericLiteralExpression); 9500N(SyntaxKind.NumericLiteralExpression); 9512N(SyntaxKind.NumericLiteralExpression); 9590N(SyntaxKind.NumericLiteralExpression); 9659N(SyntaxKind.NumericLiteralExpression); 9761N(SyntaxKind.NumericLiteralExpression); 9830N(SyntaxKind.NumericLiteralExpression); 10305N(SyntaxKind.NumericLiteralExpression); 10366N(SyntaxKind.NumericLiteralExpression); 11035N(SyntaxKind.NumericLiteralExpression); 11115N(SyntaxKind.NumericLiteralExpression); 11201N(SyntaxKind.NumericLiteralExpression); 11266N(SyntaxKind.NumericLiteralExpression); 14498N(SyntaxKind.NumericLiteralExpression); 14606N(SyntaxKind.NumericLiteralExpression); 15424N(SyntaxKind.NumericLiteralExpression); 15433N(SyntaxKind.NumericLiteralExpression); 15540N(SyntaxKind.NumericLiteralExpression); 15549N(SyntaxKind.NumericLiteralExpression); 16899N(SyntaxKind.NumericLiteralExpression); 16907N(SyntaxKind.NumericLiteralExpression); 16915N(SyntaxKind.NumericLiteralExpression); 16923N(SyntaxKind.NumericLiteralExpression); 16931N(SyntaxKind.NumericLiteralExpression); 16939N(SyntaxKind.NumericLiteralExpression); 16947N(SyntaxKind.NumericLiteralExpression); 16955N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationExpressionTests.cs (12)
634N(SyntaxKind.NumericLiteralExpression); 642N(SyntaxKind.NumericLiteralExpression); 946N(SyntaxKind.NumericLiteralExpression); 954N(SyntaxKind.NumericLiteralExpression); 995N(SyntaxKind.NumericLiteralExpression); 1003N(SyntaxKind.NumericLiteralExpression); 1091N(SyntaxKind.NumericLiteralExpression); 1099N(SyntaxKind.NumericLiteralExpression); 1266N(SyntaxKind.NumericLiteralExpression); 1282N(SyntaxKind.NumericLiteralExpression); 1319N(SyntaxKind.NumericLiteralExpression); 1327N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationParsingTests.cs (1)
8343N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (6)
1801N(SyntaxKind.NumericLiteralExpression); 1821N(SyntaxKind.NumericLiteralExpression); 1835N(SyntaxKind.NumericLiteralExpression); 1905N(SyntaxKind.NumericLiteralExpression); 1925N(SyntaxKind.NumericLiteralExpression); 1939N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationScopeParsingTests.cs (4)
13803N(SyntaxKind.NumericLiteralExpression); 13920N(SyntaxKind.NumericLiteralExpression); 14123N(SyntaxKind.NumericLiteralExpression); 14196N(SyntaxKind.NumericLiteralExpression);
Parsing\DeconstructionTests.cs (4)
1629N(SyntaxKind.NumericLiteralExpression); 1637N(SyntaxKind.NumericLiteralExpression); 1714N(SyntaxKind.NumericLiteralExpression); 1722N(SyntaxKind.NumericLiteralExpression);
Parsing\ExpressionParsingTests.cs (67)
72N(SyntaxKind.NumericLiteralExpression); 77N(SyntaxKind.NumericLiteralExpression); 105N(SyntaxKind.NumericLiteralExpression); 110N(SyntaxKind.NumericLiteralExpression); 144N(SyntaxKind.NumericLiteralExpression); 149N(SyntaxKind.NumericLiteralExpression); 179N(SyntaxKind.NumericLiteralExpression); 184N(SyntaxKind.NumericLiteralExpression); 381N(SyntaxKind.NumericLiteralExpression); 386N(SyntaxKind.NumericLiteralExpression); 391N(SyntaxKind.NumericLiteralExpression); 403N(SyntaxKind.NumericLiteralExpression); 556Assert.Equal(SyntaxKind.NumericLiteralExpression, expr.Kind()); 1481N(SyntaxKind.NumericLiteralExpression); 1525N(SyntaxKind.NumericLiteralExpression); 1743N(SyntaxKind.NumericLiteralExpression); 3094N(SyntaxKind.NumericLiteralExpression); N(SyntaxKind.NumericLiteralToken); 3096N(SyntaxKind.NumericLiteralExpression); N(SyntaxKind.NumericLiteralToken); 3099N(SyntaxKind.NumericLiteralExpression); N(SyntaxKind.NumericLiteralToken); 3471N(SyntaxKind.NumericLiteralExpression); 3800N(SyntaxKind.NumericLiteralExpression); 3887N(SyntaxKind.NumericLiteralExpression); 3978N(SyntaxKind.NumericLiteralExpression); 4068N(SyntaxKind.NumericLiteralExpression); 4165N(SyntaxKind.NumericLiteralExpression); 4257N(SyntaxKind.NumericLiteralExpression); 4362N(SyntaxKind.NumericLiteralExpression); 4468N(SyntaxKind.NumericLiteralExpression); 4552N(SyntaxKind.NumericLiteralExpression); 4644N(SyntaxKind.NumericLiteralExpression); 4736N(SyntaxKind.NumericLiteralExpression); 4915N(SyntaxKind.NumericLiteralExpression); 4947N(SyntaxKind.NumericLiteralExpression); 4981N(SyntaxKind.NumericLiteralExpression); 5009N(SyntaxKind.NumericLiteralExpression); 5275N(SyntaxKind.NumericLiteralExpression); 5293N(SyntaxKind.NumericLiteralExpression); 5298N(SyntaxKind.NumericLiteralExpression); 5312N(SyntaxKind.NumericLiteralExpression); 5317N(SyntaxKind.NumericLiteralExpression); 5334N(SyntaxKind.NumericLiteralExpression); 5343N(SyntaxKind.NumericLiteralExpression); 5360N(SyntaxKind.NumericLiteralExpression); 5367N(SyntaxKind.NumericLiteralExpression); 5372N(SyntaxKind.NumericLiteralExpression); 5379N(SyntaxKind.NumericLiteralExpression); 5395N(SyntaxKind.NumericLiteralExpression); 5402N(SyntaxKind.NumericLiteralExpression); 5407N(SyntaxKind.NumericLiteralExpression); 5414N(SyntaxKind.NumericLiteralExpression); 5430N(SyntaxKind.NumericLiteralExpression); 5437N(SyntaxKind.NumericLiteralExpression); 5442N(SyntaxKind.NumericLiteralExpression); 5449N(SyntaxKind.NumericLiteralExpression); 5742N(SyntaxKind.NumericLiteralExpression); 5760N(SyntaxKind.NumericLiteralExpression); 5775N(SyntaxKind.NumericLiteralExpression); 5793N(SyntaxKind.NumericLiteralExpression); 5822N(SyntaxKind.NumericLiteralExpression); 5833N(SyntaxKind.NumericLiteralExpression); 5854N(SyntaxKind.NumericLiteralExpression); 5892N(SyntaxKind.NumericLiteralExpression); 5912N(SyntaxKind.NumericLiteralExpression); 5938N(SyntaxKind.NumericLiteralExpression); 5947N(SyntaxKind.NumericLiteralExpression); 6240N(SyntaxKind.NumericLiteralExpression); 6361N(SyntaxKind.NumericLiteralExpression);
Parsing\FunctionPointerTests.cs (4)
2707N(SyntaxKind.NumericLiteralExpression); 2753N(SyntaxKind.NumericLiteralExpression); 2767N(SyntaxKind.NumericLiteralExpression); 4044N(SyntaxKind.NumericLiteralExpression);
Parsing\ImplicitObjectCreationParsingTests.cs (6)
210N(SyntaxKind.NumericLiteralExpression); 277N(SyntaxKind.NumericLiteralExpression); 496N(SyntaxKind.NumericLiteralExpression); 504N(SyntaxKind.NumericLiteralExpression); 610N(SyntaxKind.NumericLiteralExpression); 620N(SyntaxKind.NumericLiteralExpression);
Parsing\LambdaAttributeParsingTests.cs (3)
2552N(SyntaxKind.NumericLiteralExpression); 2557N(SyntaxKind.NumericLiteralExpression); 4472N(SyntaxKind.NumericLiteralExpression);
Parsing\LambdaParameterParsingTests.cs (32)
1273N(SyntaxKind.NumericLiteralExpression); 1332N(SyntaxKind.NumericLiteralExpression); 2302N(SyntaxKind.NumericLiteralExpression); 2593N(SyntaxKind.NumericLiteralExpression); 2986N(SyntaxKind.NumericLiteralExpression); 3064N(SyntaxKind.NumericLiteralExpression); 3114N(SyntaxKind.NumericLiteralExpression); 3123N(SyntaxKind.NumericLiteralExpression); 3156N(SyntaxKind.NumericLiteralExpression); 3170N(SyntaxKind.NumericLiteralExpression); 3205N(SyntaxKind.NumericLiteralExpression); 3210N(SyntaxKind.NumericLiteralExpression); 3277N(SyntaxKind.NumericLiteralExpression); 3330N(SyntaxKind.NumericLiteralExpression); 3367N(SyntaxKind.NumericLiteralExpression); 3411N(SyntaxKind.NumericLiteralExpression); 3449N(SyntaxKind.NumericLiteralExpression); 3516N(SyntaxKind.NumericLiteralExpression); 3592N(SyntaxKind.NumericLiteralExpression); 3601N(SyntaxKind.NumericLiteralExpression); 3612N(SyntaxKind.NumericLiteralExpression); 3618N(SyntaxKind.NumericLiteralExpression); 3629N(SyntaxKind.NumericLiteralExpression); 3635N(SyntaxKind.NumericLiteralExpression); 3713N(SyntaxKind.NumericLiteralExpression); 3843N(SyntaxKind.NumericLiteralExpression); 3867N(SyntaxKind.NumericLiteralExpression); 3891N(SyntaxKind.NumericLiteralExpression); 4001N(SyntaxKind.NumericLiteralExpression); 4136N(SyntaxKind.NumericLiteralExpression); 4634N(SyntaxKind.NumericLiteralExpression); 5044N(SyntaxKind.NumericLiteralExpression);
Parsing\LambdaReturnTypeParsingTests.cs (7)
368N(SyntaxKind.NumericLiteralExpression); 1188N(SyntaxKind.NumericLiteralExpression); 1238N(SyntaxKind.NumericLiteralExpression); 4301N(SyntaxKind.NumericLiteralExpression); 4317N(SyntaxKind.NumericLiteralExpression); 4379N(SyntaxKind.NumericLiteralExpression); 4460N(SyntaxKind.NumericLiteralExpression);
Parsing\LocalFunctionParsingTests.cs (11)
488N(SyntaxKind.NumericLiteralExpression); 1356Assert.Equal(SyntaxKind.NumericLiteralExpression, s1.ExpressionBody.Expression.Kind()); 1368Assert.Equal(SyntaxKind.NumericLiteralExpression, s2.Expression.Kind()); 2786N(SyntaxKind.NumericLiteralExpression); 2951N(SyntaxKind.NumericLiteralExpression); 2959N(SyntaxKind.NumericLiteralExpression); 3032N(SyntaxKind.NumericLiteralExpression); 3040N(SyntaxKind.NumericLiteralExpression); 3078N(SyntaxKind.NumericLiteralExpression); 3086N(SyntaxKind.NumericLiteralExpression); 3135N(SyntaxKind.NumericLiteralExpression);
Parsing\MemberDeclarationParsingTests.cs (19)
8693N(SyntaxKind.NumericLiteralExpression); 8934N(SyntaxKind.NumericLiteralExpression); 8996N(SyntaxKind.NumericLiteralExpression); 9058N(SyntaxKind.NumericLiteralExpression); 9104N(SyntaxKind.NumericLiteralExpression); 9154N(SyntaxKind.NumericLiteralExpression); 10461N(SyntaxKind.NumericLiteralExpression); 10645N(SyntaxKind.NumericLiteralExpression); 10753N(SyntaxKind.NumericLiteralExpression); 10878N(SyntaxKind.NumericLiteralExpression); 11053N(SyntaxKind.NumericLiteralExpression); 11227N(SyntaxKind.NumericLiteralExpression); 11586N(SyntaxKind.NumericLiteralExpression); 11704N(SyntaxKind.NumericLiteralExpression); 11809N(SyntaxKind.NumericLiteralExpression); 11888N(SyntaxKind.NumericLiteralExpression); 18237N(SyntaxKind.NumericLiteralExpression); 18338N(SyntaxKind.NumericLiteralExpression); 18436N(SyntaxKind.NumericLiteralExpression);
Parsing\NullableParsingTests.cs (19)
1482N(SyntaxKind.NumericLiteralExpression); 1487N(SyntaxKind.NumericLiteralExpression); 1521N(SyntaxKind.NumericLiteralExpression); 1526N(SyntaxKind.NumericLiteralExpression); 1538N(SyntaxKind.NumericLiteralExpression); 1550N(SyntaxKind.NumericLiteralExpression); 1649N(SyntaxKind.NumericLiteralExpression); 1654N(SyntaxKind.NumericLiteralExpression); 1666N(SyntaxKind.NumericLiteralExpression); 1740N(SyntaxKind.NumericLiteralExpression); 1752N(SyntaxKind.NumericLiteralExpression); 1757N(SyntaxKind.NumericLiteralExpression); 2070N(SyntaxKind.NumericLiteralExpression); 2078N(SyntaxKind.NumericLiteralExpression); 2126N(SyntaxKind.NumericLiteralExpression); 2134N(SyntaxKind.NumericLiteralExpression); 2143N(SyntaxKind.NumericLiteralExpression); 2190N(SyntaxKind.NumericLiteralExpression); 2201N(SyntaxKind.NumericLiteralExpression);
Parsing\ParsingErrorRecoveryTests.cs (4)
5275N(SyntaxKind.NumericLiteralExpression); 5425N(SyntaxKind.NumericLiteralExpression); 5666N(SyntaxKind.NumericLiteralExpression); 5793N(SyntaxKind.NumericLiteralExpression);
Parsing\PatternParsingTests.cs (178)
602N(SyntaxKind.NumericLiteralExpression); 607N(SyntaxKind.NumericLiteralExpression); 823N(SyntaxKind.NumericLiteralExpression); 828N(SyntaxKind.NumericLiteralExpression); 1757N(SyntaxKind.NumericLiteralExpression); 1809N(SyntaxKind.NumericLiteralExpression); 1910N(SyntaxKind.NumericLiteralExpression); 1998N(SyntaxKind.NumericLiteralExpression); 2081N(SyntaxKind.NumericLiteralExpression); 2100N(SyntaxKind.NumericLiteralExpression); 2123N(SyntaxKind.NumericLiteralExpression); 2464N(SyntaxKind.NumericLiteralExpression); 2501N(SyntaxKind.NumericLiteralExpression); 2575N(SyntaxKind.NumericLiteralExpression); 2657N(SyntaxKind.NumericLiteralExpression); 4380N(SyntaxKind.NumericLiteralExpression); 4399N(SyntaxKind.NumericLiteralExpression); 4422N(SyntaxKind.NumericLiteralExpression); 4486N(SyntaxKind.NumericLiteralExpression); 4505N(SyntaxKind.NumericLiteralExpression); 4528N(SyntaxKind.NumericLiteralExpression); 4596N(SyntaxKind.NumericLiteralExpression); 4660N(SyntaxKind.NumericLiteralExpression); 4728N(SyntaxKind.NumericLiteralExpression); 4747N(SyntaxKind.NumericLiteralExpression); 4811N(SyntaxKind.NumericLiteralExpression); 4830N(SyntaxKind.NumericLiteralExpression); 4943N(SyntaxKind.NumericLiteralExpression); 4962N(SyntaxKind.NumericLiteralExpression); 4985N(SyntaxKind.NumericLiteralExpression); 5045N(SyntaxKind.NumericLiteralExpression); 5064N(SyntaxKind.NumericLiteralExpression); 5087N(SyntaxKind.NumericLiteralExpression); 5151N(SyntaxKind.NumericLiteralExpression); 5211N(SyntaxKind.NumericLiteralExpression); 5275N(SyntaxKind.NumericLiteralExpression); 5294N(SyntaxKind.NumericLiteralExpression); 5354N(SyntaxKind.NumericLiteralExpression); 5373N(SyntaxKind.NumericLiteralExpression); 5475N(SyntaxKind.NumericLiteralExpression); 5734N(SyntaxKind.NumericLiteralExpression); 5751N(SyntaxKind.NumericLiteralExpression); 5773N(SyntaxKind.NumericLiteralExpression); 5790N(SyntaxKind.NumericLiteralExpression); 5804N(SyntaxKind.NumericLiteralExpression); 5821N(SyntaxKind.NumericLiteralExpression); 5835N(SyntaxKind.NumericLiteralExpression); 5852N(SyntaxKind.NumericLiteralExpression); 5867N(SyntaxKind.NumericLiteralExpression); 5892N(SyntaxKind.NumericLiteralExpression); 5902N(SyntaxKind.NumericLiteralExpression); 5923N(SyntaxKind.NumericLiteralExpression); 5933N(SyntaxKind.NumericLiteralExpression); 5997N(SyntaxKind.NumericLiteralExpression); 6033N(SyntaxKind.NumericLiteralExpression); 6074N(SyntaxKind.NumericLiteralExpression); 6106N(SyntaxKind.NumericLiteralExpression); 6124N(SyntaxKind.NumericLiteralExpression); 6156N(SyntaxKind.NumericLiteralExpression); 6174N(SyntaxKind.NumericLiteralExpression); 6206N(SyntaxKind.NumericLiteralExpression); 6225N(SyntaxKind.NumericLiteralExpression); 6265N(SyntaxKind.NumericLiteralExpression); 6279N(SyntaxKind.NumericLiteralExpression); 6315N(SyntaxKind.NumericLiteralExpression); 6329N(SyntaxKind.NumericLiteralExpression); 6599N(SyntaxKind.NumericLiteralExpression); 6624N(SyntaxKind.NumericLiteralExpression); 6650N(SyntaxKind.NumericLiteralExpression); 6676N(SyntaxKind.NumericLiteralExpression); 6703N(SyntaxKind.NumericLiteralExpression); 6713N(SyntaxKind.NumericLiteralExpression); 6719N(SyntaxKind.NumericLiteralExpression); 6746N(SyntaxKind.NumericLiteralExpression); 6801N(SyntaxKind.NumericLiteralExpression); 6885N(SyntaxKind.NumericLiteralExpression); 6986N(SyntaxKind.NumericLiteralExpression); 6992N(SyntaxKind.NumericLiteralExpression); 7051N(SyntaxKind.NumericLiteralExpression); 7119N(SyntaxKind.NumericLiteralExpression); 7142N(SyntaxKind.NumericLiteralExpression); 7166N(SyntaxKind.NumericLiteralExpression); 7223N(SyntaxKind.NumericLiteralExpression); 7233N(SyntaxKind.NumericLiteralExpression); 7287N(SyntaxKind.NumericLiteralExpression); 7292N(SyntaxKind.NumericLiteralExpression); 7300N(SyntaxKind.NumericLiteralExpression); 7347N(SyntaxKind.NumericLiteralExpression); 7357N(SyntaxKind.NumericLiteralExpression); 7409N(SyntaxKind.NumericLiteralExpression); 7414N(SyntaxKind.NumericLiteralExpression); 7422N(SyntaxKind.NumericLiteralExpression); 7450N(SyntaxKind.NumericLiteralExpression); 7460N(SyntaxKind.NumericLiteralExpression); 7466N(SyntaxKind.NumericLiteralExpression); 7479N(SyntaxKind.NumericLiteralExpression); 7485N(SyntaxKind.NumericLiteralExpression); 7520N(SyntaxKind.NumericLiteralExpression); 7526N(SyntaxKind.NumericLiteralExpression); 7547N(SyntaxKind.NumericLiteralExpression); 7553N(SyntaxKind.NumericLiteralExpression); 7593N(SyntaxKind.NumericLiteralExpression); 7635N(SyntaxKind.NumericLiteralExpression); 8024N(SyntaxKind.NumericLiteralExpression); 8054N(SyntaxKind.NumericLiteralExpression); 8060N(SyntaxKind.NumericLiteralExpression); 8070N(SyntaxKind.NumericLiteralExpression); 8076N(SyntaxKind.NumericLiteralExpression); 8106N(SyntaxKind.NumericLiteralExpression); 8112N(SyntaxKind.NumericLiteralExpression); 8122N(SyntaxKind.NumericLiteralExpression); 8128N(SyntaxKind.NumericLiteralExpression); 8555N(SyntaxKind.NumericLiteralExpression); 8582N(SyntaxKind.NumericLiteralExpression); 8602N(SyntaxKind.NumericLiteralExpression); 8622N(SyntaxKind.NumericLiteralExpression); 8709N(SyntaxKind.NumericLiteralExpression); 8715N(SyntaxKind.NumericLiteralExpression); 8726N(SyntaxKind.NumericLiteralExpression); 8732N(SyntaxKind.NumericLiteralExpression); 8743N(SyntaxKind.NumericLiteralExpression); 8749N(SyntaxKind.NumericLiteralExpression); 8760N(SyntaxKind.NumericLiteralExpression); 8766N(SyntaxKind.NumericLiteralExpression); 8777N(SyntaxKind.NumericLiteralExpression); 8783N(SyntaxKind.NumericLiteralExpression); 8794N(SyntaxKind.NumericLiteralExpression); 8800N(SyntaxKind.NumericLiteralExpression); 8883N(SyntaxKind.NumericLiteralExpression); 8896N(SyntaxKind.NumericLiteralExpression); 8913N(SyntaxKind.NumericLiteralExpression); 8924N(SyntaxKind.NumericLiteralExpression); 8937N(SyntaxKind.NumericLiteralExpression); 8954N(SyntaxKind.NumericLiteralExpression); 8965N(SyntaxKind.NumericLiteralExpression); 8978N(SyntaxKind.NumericLiteralExpression); 8995N(SyntaxKind.NumericLiteralExpression); 9044N(SyntaxKind.NumericLiteralExpression); 9049N(SyntaxKind.NumericLiteralExpression); 9056N(SyntaxKind.NumericLiteralExpression); 9069N(SyntaxKind.NumericLiteralExpression); 9074N(SyntaxKind.NumericLiteralExpression); 9081N(SyntaxKind.NumericLiteralExpression); 9094N(SyntaxKind.NumericLiteralExpression); 9099N(SyntaxKind.NumericLiteralExpression); 9106N(SyntaxKind.NumericLiteralExpression); 9146N(SyntaxKind.NumericLiteralExpression); 9186N(SyntaxKind.NumericLiteralExpression); 9193N(SyntaxKind.NumericLiteralExpression); 9232N(SyntaxKind.NumericLiteralExpression); 9237N(SyntaxKind.NumericLiteralExpression); 9342N(SyntaxKind.NumericLiteralExpression); 9502N(SyntaxKind.NumericLiteralExpression); 9568N(SyntaxKind.NumericLiteralExpression); 9630N(SyntaxKind.NumericLiteralExpression); 9677N(SyntaxKind.NumericLiteralExpression); 9693N(SyntaxKind.NumericLiteralExpression); 10361N(SyntaxKind.NumericLiteralExpression); 10785N(SyntaxKind.NumericLiteralExpression); 10943N(SyntaxKind.NumericLiteralExpression); 11113N(SyntaxKind.NumericLiteralExpression); 11170N(SyntaxKind.NumericLiteralExpression); 11234N(SyntaxKind.NumericLiteralExpression); 11384N(SyntaxKind.NumericLiteralExpression); 11430N(SyntaxKind.NumericLiteralExpression); 11438N(SyntaxKind.NumericLiteralExpression); 11582N(SyntaxKind.NumericLiteralExpression); 11594N(SyntaxKind.NumericLiteralExpression); 11922N(SyntaxKind.NumericLiteralExpression); 12011N(SyntaxKind.NumericLiteralExpression); 12081N(SyntaxKind.NumericLiteralExpression); 12106N(SyntaxKind.NumericLiteralExpression); 12157N(SyntaxKind.NumericLiteralExpression); 12257N(SyntaxKind.NumericLiteralExpression); 12358N(SyntaxKind.NumericLiteralExpression); 12458N(SyntaxKind.NumericLiteralExpression); 12572N(SyntaxKind.NumericLiteralExpression); 12740N(SyntaxKind.NumericLiteralExpression);
Parsing\PatternParsingTests_ListPatterns.cs (7)
120N(SyntaxKind.NumericLiteralExpression); 136N(SyntaxKind.NumericLiteralExpression); 367N(SyntaxKind.NumericLiteralExpression); 431N(SyntaxKind.NumericLiteralExpression); 1062N(SyntaxKind.NumericLiteralExpression); 1091N(SyntaxKind.NumericLiteralExpression); 1393N(SyntaxKind.NumericLiteralExpression);
Parsing\PatternParsingTests2.cs (6)
251N(SyntaxKind.NumericLiteralExpression); 412N(SyntaxKind.NumericLiteralExpression); 576N(SyntaxKind.NumericLiteralExpression); 625N(SyntaxKind.NumericLiteralExpression); 737N(SyntaxKind.NumericLiteralExpression); 798N(SyntaxKind.NumericLiteralExpression);
Parsing\RecordParsing.cs (10)
1341N(SyntaxKind.NumericLiteralExpression); 1435N(SyntaxKind.NumericLiteralExpression); 1468N(SyntaxKind.NumericLiteralExpression); 1495N(SyntaxKind.NumericLiteralExpression); 1531N(SyntaxKind.NumericLiteralExpression); 1546N(SyntaxKind.NumericLiteralExpression); 1631N(SyntaxKind.NumericLiteralExpression); 2091N(SyntaxKind.NumericLiteralExpression); 3926N(SyntaxKind.NumericLiteralExpression); 3982N(SyntaxKind.NumericLiteralExpression);
Parsing\RefFieldParsingTests.cs (7)
495N(SyntaxKind.NumericLiteralExpression); 528N(SyntaxKind.NumericLiteralExpression); 591N(SyntaxKind.NumericLiteralExpression); 631N(SyntaxKind.NumericLiteralExpression); 901N(SyntaxKind.NumericLiteralExpression); 962N(SyntaxKind.NumericLiteralExpression); 967N(SyntaxKind.NumericLiteralExpression);
Parsing\ScriptParsingTests.cs (19)
327N(SyntaxKind.NumericLiteralExpression); 366N(SyntaxKind.NumericLiteralExpression); 403N(SyntaxKind.NumericLiteralExpression); 1391N(SyntaxKind.NumericLiteralExpression); 2566N(SyntaxKind.NumericLiteralExpression); 2868N(SyntaxKind.NumericLiteralExpression); 3050N(SyntaxKind.NumericLiteralExpression); 4475N(SyntaxKind.NumericLiteralExpression); 4575N(SyntaxKind.NumericLiteralExpression); 6054N(SyntaxKind.NumericLiteralExpression); 6118N(SyntaxKind.NumericLiteralExpression); 6265N(SyntaxKind.NumericLiteralExpression); 6278N(SyntaxKind.NumericLiteralExpression); 6291N(SyntaxKind.NumericLiteralExpression); 6308N(SyntaxKind.NumericLiteralExpression); 7335N(SyntaxKind.NumericLiteralExpression); 7409N(SyntaxKind.NumericLiteralExpression); 7841N(SyntaxKind.NumericLiteralExpression); 7861N(SyntaxKind.NumericLiteralExpression);
Parsing\SeparatedSyntaxListParsingTests.cs (9)
607N(SyntaxKind.NumericLiteralExpression); 615N(SyntaxKind.NumericLiteralExpression); 871N(SyntaxKind.NumericLiteralExpression); 954N(SyntaxKind.NumericLiteralExpression); 959N(SyntaxKind.NumericLiteralExpression); 1047N(SyntaxKind.NumericLiteralExpression); 1096N(SyntaxKind.NumericLiteralExpression); 1135N(SyntaxKind.NumericLiteralExpression); 1140N(SyntaxKind.NumericLiteralExpression);
Parsing\StackAllocInitializerParsingTests.cs (5)
56N(SyntaxKind.NumericLiteralExpression); 93N(SyntaxKind.NumericLiteralExpression); 103N(SyntaxKind.NumericLiteralExpression); 136N(SyntaxKind.NumericLiteralExpression); 173N(SyntaxKind.NumericLiteralExpression);
Parsing\StatementAttributeParsingTests.cs (20)
686N(SyntaxKind.NumericLiteralExpression); 760N(SyntaxKind.NumericLiteralExpression); 2284N(SyntaxKind.NumericLiteralExpression); 2352N(SyntaxKind.NumericLiteralExpression); 2449N(SyntaxKind.NumericLiteralExpression); 2484N(SyntaxKind.NumericLiteralExpression); 2577N(SyntaxKind.NumericLiteralExpression); 3977N(SyntaxKind.NumericLiteralExpression); 4067N(SyntaxKind.NumericLiteralExpression); 4152N(SyntaxKind.NumericLiteralExpression); 4827N(SyntaxKind.NumericLiteralExpression); 4925N(SyntaxKind.NumericLiteralExpression); 5079N(SyntaxKind.NumericLiteralExpression); 5406N(SyntaxKind.NumericLiteralExpression); 6593N(SyntaxKind.NumericLiteralExpression); 6732N(SyntaxKind.NumericLiteralExpression); 6838N(SyntaxKind.NumericLiteralExpression); 6924N(SyntaxKind.NumericLiteralExpression); 7007N(SyntaxKind.NumericLiteralExpression); 7101N(SyntaxKind.NumericLiteralExpression);
Parsing\StatementParsingTests.cs (11)
3909N(SyntaxKind.NumericLiteralExpression); 3914N(SyntaxKind.NumericLiteralExpression); 3950N(SyntaxKind.NumericLiteralExpression); 3991N(SyntaxKind.NumericLiteralExpression); 4007N(SyntaxKind.NumericLiteralExpression); 4037N(SyntaxKind.NumericLiteralExpression); 4047N(SyntaxKind.NumericLiteralExpression); 4670N(SyntaxKind.NumericLiteralExpression); 5648N(SyntaxKind.NumericLiteralExpression); 5718N(SyntaxKind.NumericLiteralExpression); 5793N(SyntaxKind.NumericLiteralExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (3)
483N(SyntaxKind.NumericLiteralExpression); 689N(SyntaxKind.NumericLiteralExpression); 749N(SyntaxKind.NumericLiteralExpression);
Parsing\SwitchExpressionParsingTests.cs (116)
45N(SyntaxKind.NumericLiteralExpression); 51N(SyntaxKind.NumericLiteralExpression); 61N(SyntaxKind.NumericLiteralExpression); 67N(SyntaxKind.NumericLiteralExpression); 112N(SyntaxKind.NumericLiteralExpression); 118N(SyntaxKind.NumericLiteralExpression); 128N(SyntaxKind.NumericLiteralExpression); 134N(SyntaxKind.NumericLiteralExpression); 179N(SyntaxKind.NumericLiteralExpression); 185N(SyntaxKind.NumericLiteralExpression); 195N(SyntaxKind.NumericLiteralExpression); 201N(SyntaxKind.NumericLiteralExpression); 252N(SyntaxKind.NumericLiteralExpression); 258N(SyntaxKind.NumericLiteralExpression); 268N(SyntaxKind.NumericLiteralExpression); 274N(SyntaxKind.NumericLiteralExpression); 350N(SyntaxKind.NumericLiteralExpression); 401N(SyntaxKind.NumericLiteralExpression); 518N(SyntaxKind.NumericLiteralExpression); 603N(SyntaxKind.NumericLiteralExpression); 692N(SyntaxKind.NumericLiteralExpression); 775N(SyntaxKind.NumericLiteralExpression); 854N(SyntaxKind.NumericLiteralExpression); 942N(SyntaxKind.NumericLiteralExpression); 1037N(SyntaxKind.NumericLiteralExpression); 1119N(SyntaxKind.NumericLiteralExpression); 1198N(SyntaxKind.NumericLiteralExpression); 1292N(SyntaxKind.NumericLiteralExpression); 1399N(SyntaxKind.NumericLiteralExpression); 1425N(SyntaxKind.NumericLiteralExpression); 1494N(SyntaxKind.NumericLiteralExpression); 1573N(SyntaxKind.NumericLiteralExpression); 1656N(SyntaxKind.NumericLiteralExpression); 1733N(SyntaxKind.NumericLiteralExpression); 1807N(SyntaxKind.NumericLiteralExpression); 1883N(SyntaxKind.NumericLiteralExpression); 1959N(SyntaxKind.NumericLiteralExpression); 2039N(SyntaxKind.NumericLiteralExpression); 2125N(SyntaxKind.NumericLiteralExpression); 2202N(SyntaxKind.NumericLiteralExpression); 2208N(SyntaxKind.NumericLiteralExpression); 2218N(SyntaxKind.NumericLiteralExpression); 2224N(SyntaxKind.NumericLiteralExpression); 2269N(SyntaxKind.NumericLiteralExpression); 2275N(SyntaxKind.NumericLiteralExpression); 2285N(SyntaxKind.NumericLiteralExpression); 2291N(SyntaxKind.NumericLiteralExpression); 2327N(SyntaxKind.NumericLiteralExpression); 2333N(SyntaxKind.NumericLiteralExpression); 2349N(SyntaxKind.NumericLiteralExpression); 2391N(SyntaxKind.NumericLiteralExpression); 2397N(SyntaxKind.NumericLiteralExpression); 2413N(SyntaxKind.NumericLiteralExpression); 2449N(SyntaxKind.NumericLiteralExpression); 2455N(SyntaxKind.NumericLiteralExpression); 2477N(SyntaxKind.NumericLiteralExpression); 2519N(SyntaxKind.NumericLiteralExpression); 2525N(SyntaxKind.NumericLiteralExpression); 2547N(SyntaxKind.NumericLiteralExpression); 2591N(SyntaxKind.NumericLiteralExpression); 2601N(SyntaxKind.NumericLiteralExpression); 2607N(SyntaxKind.NumericLiteralExpression); 2623N(SyntaxKind.NumericLiteralExpression); 2684N(SyntaxKind.NumericLiteralExpression); 2694N(SyntaxKind.NumericLiteralExpression); 2700N(SyntaxKind.NumericLiteralExpression); 2716N(SyntaxKind.NumericLiteralExpression); 2754N(SyntaxKind.NumericLiteralExpression); 2760N(SyntaxKind.NumericLiteralExpression); 2782N(SyntaxKind.NumericLiteralExpression); 2822N(SyntaxKind.NumericLiteralExpression); 2828N(SyntaxKind.NumericLiteralExpression); 2850N(SyntaxKind.NumericLiteralExpression); 2924N(SyntaxKind.NumericLiteralExpression); 2968N(SyntaxKind.NumericLiteralExpression); 3047N(SyntaxKind.NumericLiteralExpression); 3091N(SyntaxKind.NumericLiteralExpression); 3170N(SyntaxKind.NumericLiteralExpression); 3214N(SyntaxKind.NumericLiteralExpression); 3299N(SyntaxKind.NumericLiteralExpression); 3343N(SyntaxKind.NumericLiteralExpression); 3443N(SyntaxKind.NumericLiteralExpression); 3502N(SyntaxKind.NumericLiteralExpression); 3608N(SyntaxKind.NumericLiteralExpression); 3667N(SyntaxKind.NumericLiteralExpression); 3710N(SyntaxKind.NumericLiteralExpression); 3724N(SyntaxKind.NumericLiteralExpression); 3773N(SyntaxKind.NumericLiteralExpression); 3787N(SyntaxKind.NumericLiteralExpression); 3841N(SyntaxKind.NumericLiteralExpression); 3860N(SyntaxKind.NumericLiteralExpression); 3920N(SyntaxKind.NumericLiteralExpression); 3939N(SyntaxKind.NumericLiteralExpression); 4004N(SyntaxKind.NumericLiteralExpression); 4028N(SyntaxKind.NumericLiteralExpression); 4099N(SyntaxKind.NumericLiteralExpression); 4123N(SyntaxKind.NumericLiteralExpression); 4184N(SyntaxKind.NumericLiteralExpression); 4210N(SyntaxKind.NumericLiteralExpression); 4267N(SyntaxKind.NumericLiteralExpression); 4312N(SyntaxKind.NumericLiteralExpression); 4376N(SyntaxKind.NumericLiteralExpression); 4439N(SyntaxKind.NumericLiteralExpression); 4491N(SyntaxKind.NumericLiteralExpression); 4498N(SyntaxKind.NumericLiteralExpression); 4552N(SyntaxKind.NumericLiteralExpression); 4559N(SyntaxKind.NumericLiteralExpression); 4614N(SyntaxKind.NumericLiteralExpression); 4621N(SyntaxKind.NumericLiteralExpression); 4679N(SyntaxKind.NumericLiteralExpression); 4686N(SyntaxKind.NumericLiteralExpression); 4746N(SyntaxKind.NumericLiteralExpression); 4753N(SyntaxKind.NumericLiteralExpression); 4816N(SyntaxKind.NumericLiteralExpression); 4823N(SyntaxKind.NumericLiteralExpression); 4879N(SyntaxKind.NumericLiteralExpression);
Parsing\TopLevelStatementsParsingTests.cs (4)
389N(SyntaxKind.NumericLiteralExpression); 627N(SyntaxKind.NumericLiteralExpression); 765N(SyntaxKind.NumericLiteralExpression); 1305N(SyntaxKind.NumericLiteralExpression);
Parsing\TypeArgumentListParsingTests.cs (2)
779N(SyntaxKind.NumericLiteralExpression); 792N(SyntaxKind.NumericLiteralExpression);
Parsing\UsingDirectiveParsingTests.cs (4)
1669N(SyntaxKind.NumericLiteralExpression); 1677N(SyntaxKind.NumericLiteralExpression); 2782N(SyntaxKind.NumericLiteralExpression); 2906N(SyntaxKind.NumericLiteralExpression);
Parsing\Utf8StringLiteralsParsingTests.cs (2)
318N(SyntaxKind.NumericLiteralExpression); 334N(SyntaxKind.NumericLiteralExpression);
Parsing\ValueTupleTests.cs (2)
82N(SyntaxKind.NumericLiteralExpression); 661N(SyntaxKind.NumericLiteralExpression);
Syntax\SeparatedSyntaxListTests.cs (2)
293Assert.Equal(2, list.IndexOf(SyntaxKind.NumericLiteralExpression)); 294Assert.True(list.Any(SyntaxKind.NumericLiteralExpression));
Syntax\SyntaxFactoryTests.cs (3)
103Assert.Throws<ArgumentException>(() => SyntaxFactory.Token(SyntaxKind.NumericLiteralExpression)); 590var lambda = SyntaxFactory.ParenthesizedLambdaExpression(body: SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1))); 596body: SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)));
Syntax\SyntaxListTests.cs (2)
280Assert.Equal(2, list.IndexOf(SyntaxKind.NumericLiteralExpression)); 281Assert.True(list.Any(SyntaxKind.NumericLiteralExpression));
Syntax\SyntaxTests.cs (1)
237[InlineData(SyntaxKind.NumericLiteralToken, SyntaxKind.NumericLiteralExpression)]
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3273SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal("0", 0));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
84public int NumericLiteralExpression => (int)SyntaxKind.NumericLiteralExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EnumMemberGenerator.cs (6)
123if (binaryExpression.Left.Kind() == SyntaxKind.NumericLiteralExpression) 134LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(numericLiteral.Token.Text, 1)), 135LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(shiftValue.ToString(), shiftValue))); 139else if (lastExpression is LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) numericLiteral) 147return LiteralExpression(SyntaxKind.NumericLiteralExpression, 152return LiteralExpression(SyntaxKind.NumericLiteralExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
273SyntaxKind.NumericLiteralExpression, tokenFactory(stringValue, nonNegativeValue));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
1267SyntaxKind.NumericLiteralExpression, 1348SyntaxKind.NumericLiteralExpression, 1372SyntaxKind.NumericLiteralExpression, 1398SyntaxKind.NumericLiteralExpression, 1429SyntaxKind.NumericLiteralExpression,
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\OperationTestAnalyzer.cs (1)
2146Microsoft.CodeAnalysis.CSharp.SyntaxKind.NumericLiteralExpression);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
BatchFixAllProviderTests.cs (1)
66context.RegisterSyntaxNodeAction(HandleNumericLiteralExpression, SyntaxKind.NumericLiteralExpression);
Microsoft.Interop.ComInterfaceGenerator (7)
ComClassGenerator.cs (2)
113SyntaxKind.NumericLiteralExpression, 174LiteralExpression(SyntaxKind.NumericLiteralExpression,
ComInterfaceGenerator.cs (2)
608LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(interfaceMethods.InheritedMethods.Count() + 3)))))))); 689literals[i] = ExpressionElement(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(bytes[i])));
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
83SyntaxKind.NumericLiteralExpression,
VirtualMethodPointerStubGenerator.cs (2)
75Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(methodStub.VtableIndexData.Index)))), 250.AddArgumentListArguments(Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(method.VtableIndexData.Index)))),
Microsoft.Interop.JavaScript.JSImportGenerator (7)
JSExportCodeGenerator.cs (3)
155Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(_signatureContext.TypesHash))), 187Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(0))))))))))))); 193Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(1)))))))))))));
JSImportCodeGenerator.cs (3)
175LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(2 + _marshallers.NativeParameterMarshallers.Length))))))))))))); 181Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(0))))))))))))); 191Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(1)))))))))))));
Marshaling\BaseJSGenerator.cs (1)
56Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(TypeInfo.ManagedIndex + 2))))))))))));
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
153LiteralExpression(SyntaxKind.NumericLiteralExpression,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
99LiteralExpression(SyntaxKind.NumericLiteralExpression,
Microsoft.Interop.SourceGeneration (14)
MarshalAsParser.cs (5)
50LiteralExpression(SyntaxKind.NumericLiteralExpression, 79LiteralExpression(SyntaxKind.NumericLiteralExpression, 89LiteralExpression(SyntaxKind.NumericLiteralExpression, 100LiteralExpression(SyntaxKind.NumericLiteralExpression, 108LiteralExpression(SyntaxKind.NumericLiteralExpression,
Marshalling\BoolMarshaller.cs (3)
70LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(_trueValue)), 71LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(_falseValue))))))); 90LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(comparand)))));
Marshalling\ElementsMarshalling.cs (2)
93return LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(size)); 617EqualsValueClause(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(0)))))))
Marshalling\MarshallerHelpers.cs (1)
49Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(errorCode))));
Marshalling\StatelessMarshallingStrategy.cs (1)
592LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(0))));
Utils\SyntaxFactoryExtensions.cs (2)
97public static LiteralExpressionSyntax IntLiteral(int number) => LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(number)); 130SyntaxKind.NumericLiteralExpression,
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\MethodXml\MethodXmlBuilder.cs (2)
170case SyntaxKind.NumericLiteralExpression: 264case SyntaxKind.NumericLiteralExpression: