577 references to NumericLiteralExpression
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (2)
670case SyntaxKind.NumericLiteralExpression: 6222if (node.Kind() is SyntaxKind.NumericLiteralExpression)
Binder\Binder_Operators.cs (1)
3041if (node.Operand != operand.Syntax || operand.Syntax.Kind() != SyntaxKind.NumericLiteralExpression)
Binder\Binder_Statements.cs (1)
2208if (sourceType.SpecialType == SpecialType.System_Double && syntax.Kind() == SyntaxKind.NumericLiteralExpression &&
Binder\EarlyWellKnownAttributeBinder.cs (1)
81case SyntaxKind.NumericLiteralExpression:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1613var greenNode = new Syntax.InternalSyntax.LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression, new Syntax.InternalSyntax.SyntaxToken(SyntaxKind.NumericLiteralToken));
Parser\DirectiveParser.cs (2)
593idExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, id); 610idExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, id);
Parser\LanguageParser.cs (1)
10176case SyntaxKind.NumericLiteralExpression:
Syntax\CSharpPragmaWarningStateMap.cs (1)
125if (currentErrorCode.Kind() == SyntaxKind.NumericLiteralExpression)
Syntax\LiteralExpressionSyntax.cs (1)
20SyntaxKind.NumericLiteralExpression => SyntaxKind.NumericLiteralToken,
Syntax\SyntaxKindFacts.cs (1)
552SyntaxKind.NumericLiteralToken => SyntaxKind.NumericLiteralExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxKinds.cs (1)
76public int NumericLiteralExpression => (int)SyntaxKind.NumericLiteralExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
EnumMemberGenerator.cs (6)
121if (binaryExpression.Left.Kind() == SyntaxKind.NumericLiteralExpression) 132SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(numericLiteral.Token.Text, 1)), 133SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(shiftValue.ToString(), shiftValue))); 137else if (lastExpression is LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) numericLiteral) 145return SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, 150return SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression,
ExpressionGenerator.cs (1)
272SyntaxKind.NumericLiteralExpression, tokenFactory(stringValue, nonNegativeValue));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\SyntaxComparerTests.cs (1)
20=> SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(n));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1658SyntaxKind.NumericLiteralExpression);
Diagnostics\GetDiagnosticsTests.cs (1)
906SyntaxKind.NumericLiteralExpression);
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
326SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0)), // count = 0
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
80case SyntaxKind.NumericLiteralExpression:
EditAndContinue\SyntaxComparer.cs (1)
520case SyntaxKind.NumericLiteralExpression:
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
82LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) literal
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 (14)
Semantics\NullableReferenceTypesTests.cs (1)
7763new[] { SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(3)) }),
Semantics\PrimaryConstructorTests.cs (4)
3169context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 4439context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 4674context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 5394context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression);
Semantics\RecordStructTests.cs (2)
5924context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 6671context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression);
Semantics\RecordTests.cs (2)
26207context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.NumericLiteralExpression); 27500context.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 (516)
LexicalAndXml\PreprocessorTests.cs (1)
338if (actualWarningNumber.Kind() == SyntaxKind.NumericLiteralExpression)
Parsing\AsyncParsingTests.cs (1)
492N(SyntaxKind.NumericLiteralExpression);
Parsing\AwaitParsingTests.cs (8)
196N(SyntaxKind.NumericLiteralExpression); 274N(SyntaxKind.NumericLiteralExpression); 950N(SyntaxKind.NumericLiteralExpression); 995N(SyntaxKind.NumericLiteralExpression); 1064N(SyntaxKind.NumericLiteralExpression); 1557N(SyntaxKind.NumericLiteralExpression); 1583N(SyntaxKind.NumericLiteralExpression); 1978N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationExpressionTests.cs (12)
597N(SyntaxKind.NumericLiteralExpression); 605N(SyntaxKind.NumericLiteralExpression); 909N(SyntaxKind.NumericLiteralExpression); 917N(SyntaxKind.NumericLiteralExpression); 958N(SyntaxKind.NumericLiteralExpression); 966N(SyntaxKind.NumericLiteralExpression); 1054N(SyntaxKind.NumericLiteralExpression); 1062N(SyntaxKind.NumericLiteralExpression); 1229N(SyntaxKind.NumericLiteralExpression); 1245N(SyntaxKind.NumericLiteralExpression); 1282N(SyntaxKind.NumericLiteralExpression); 1290N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationParsingTests.cs (1)
8343N(SyntaxKind.NumericLiteralExpression);
Parsing\DeclarationScopeParsingTests.cs (4)
14214N(SyntaxKind.NumericLiteralExpression); 14331N(SyntaxKind.NumericLiteralExpression); 14534N(SyntaxKind.NumericLiteralExpression); 14607N(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); 6261N(SyntaxKind.NumericLiteralExpression); 6382N(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 (2)
2567N(SyntaxKind.NumericLiteralExpression); 2572N(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); 4228N(SyntaxKind.NumericLiteralExpression); 4244N(SyntaxKind.NumericLiteralExpression); 4306N(SyntaxKind.NumericLiteralExpression); 4387N(SyntaxKind.NumericLiteralExpression);
Parsing\LocalFunctionParsingTests.cs (3)
488N(SyntaxKind.NumericLiteralExpression); 1356Assert.Equal(SyntaxKind.NumericLiteralExpression, s1.ExpressionBody.Expression.Kind()); 1368Assert.Equal(SyntaxKind.NumericLiteralExpression, s2.Expression.Kind());
Parsing\MemberDeclarationParsingTests.cs (7)
8699N(SyntaxKind.NumericLiteralExpression); 8940N(SyntaxKind.NumericLiteralExpression); 9002N(SyntaxKind.NumericLiteralExpression); 9064N(SyntaxKind.NumericLiteralExpression); 9110N(SyntaxKind.NumericLiteralExpression); 9160N(SyntaxKind.NumericLiteralExpression); 10467N(SyntaxKind.NumericLiteralExpression);
Parsing\NullableParsingTests.cs (12)
1480N(SyntaxKind.NumericLiteralExpression); 1485N(SyntaxKind.NumericLiteralExpression); 1519N(SyntaxKind.NumericLiteralExpression); 1524N(SyntaxKind.NumericLiteralExpression); 1536N(SyntaxKind.NumericLiteralExpression); 1548N(SyntaxKind.NumericLiteralExpression); 1647N(SyntaxKind.NumericLiteralExpression); 1652N(SyntaxKind.NumericLiteralExpression); 1664N(SyntaxKind.NumericLiteralExpression); 1738N(SyntaxKind.NumericLiteralExpression); 1750N(SyntaxKind.NumericLiteralExpression); 1755N(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); 2476N(SyntaxKind.NumericLiteralExpression); 2513N(SyntaxKind.NumericLiteralExpression); 2587N(SyntaxKind.NumericLiteralExpression); 2669N(SyntaxKind.NumericLiteralExpression); 4419N(SyntaxKind.NumericLiteralExpression); 4438N(SyntaxKind.NumericLiteralExpression); 4461N(SyntaxKind.NumericLiteralExpression); 4525N(SyntaxKind.NumericLiteralExpression); 4544N(SyntaxKind.NumericLiteralExpression); 4567N(SyntaxKind.NumericLiteralExpression); 4635N(SyntaxKind.NumericLiteralExpression); 4699N(SyntaxKind.NumericLiteralExpression); 4767N(SyntaxKind.NumericLiteralExpression); 4786N(SyntaxKind.NumericLiteralExpression); 4850N(SyntaxKind.NumericLiteralExpression); 4869N(SyntaxKind.NumericLiteralExpression); 4982N(SyntaxKind.NumericLiteralExpression); 5001N(SyntaxKind.NumericLiteralExpression); 5024N(SyntaxKind.NumericLiteralExpression); 5084N(SyntaxKind.NumericLiteralExpression); 5103N(SyntaxKind.NumericLiteralExpression); 5126N(SyntaxKind.NumericLiteralExpression); 5190N(SyntaxKind.NumericLiteralExpression); 5250N(SyntaxKind.NumericLiteralExpression); 5314N(SyntaxKind.NumericLiteralExpression); 5333N(SyntaxKind.NumericLiteralExpression); 5393N(SyntaxKind.NumericLiteralExpression); 5412N(SyntaxKind.NumericLiteralExpression); 5514N(SyntaxKind.NumericLiteralExpression); 5773N(SyntaxKind.NumericLiteralExpression); 5790N(SyntaxKind.NumericLiteralExpression); 5812N(SyntaxKind.NumericLiteralExpression); 5829N(SyntaxKind.NumericLiteralExpression); 5843N(SyntaxKind.NumericLiteralExpression); 5860N(SyntaxKind.NumericLiteralExpression); 5874N(SyntaxKind.NumericLiteralExpression); 5891N(SyntaxKind.NumericLiteralExpression); 5906N(SyntaxKind.NumericLiteralExpression); 5931N(SyntaxKind.NumericLiteralExpression); 5941N(SyntaxKind.NumericLiteralExpression); 5962N(SyntaxKind.NumericLiteralExpression); 5972N(SyntaxKind.NumericLiteralExpression); 6036N(SyntaxKind.NumericLiteralExpression); 6072N(SyntaxKind.NumericLiteralExpression); 6113N(SyntaxKind.NumericLiteralExpression); 6145N(SyntaxKind.NumericLiteralExpression); 6163N(SyntaxKind.NumericLiteralExpression); 6195N(SyntaxKind.NumericLiteralExpression); 6213N(SyntaxKind.NumericLiteralExpression); 6245N(SyntaxKind.NumericLiteralExpression); 6264N(SyntaxKind.NumericLiteralExpression); 6304N(SyntaxKind.NumericLiteralExpression); 6318N(SyntaxKind.NumericLiteralExpression); 6354N(SyntaxKind.NumericLiteralExpression); 6368N(SyntaxKind.NumericLiteralExpression); 6638N(SyntaxKind.NumericLiteralExpression); 6663N(SyntaxKind.NumericLiteralExpression); 6689N(SyntaxKind.NumericLiteralExpression); 6715N(SyntaxKind.NumericLiteralExpression); 6742N(SyntaxKind.NumericLiteralExpression); 6752N(SyntaxKind.NumericLiteralExpression); 6758N(SyntaxKind.NumericLiteralExpression); 6785N(SyntaxKind.NumericLiteralExpression); 6840N(SyntaxKind.NumericLiteralExpression); 6924N(SyntaxKind.NumericLiteralExpression); 7025N(SyntaxKind.NumericLiteralExpression); 7031N(SyntaxKind.NumericLiteralExpression); 7090N(SyntaxKind.NumericLiteralExpression); 7158N(SyntaxKind.NumericLiteralExpression); 7181N(SyntaxKind.NumericLiteralExpression); 7205N(SyntaxKind.NumericLiteralExpression); 7262N(SyntaxKind.NumericLiteralExpression); 7272N(SyntaxKind.NumericLiteralExpression); 7326N(SyntaxKind.NumericLiteralExpression); 7331N(SyntaxKind.NumericLiteralExpression); 7339N(SyntaxKind.NumericLiteralExpression); 7386N(SyntaxKind.NumericLiteralExpression); 7396N(SyntaxKind.NumericLiteralExpression); 7448N(SyntaxKind.NumericLiteralExpression); 7453N(SyntaxKind.NumericLiteralExpression); 7461N(SyntaxKind.NumericLiteralExpression); 7489N(SyntaxKind.NumericLiteralExpression); 7499N(SyntaxKind.NumericLiteralExpression); 7505N(SyntaxKind.NumericLiteralExpression); 7518N(SyntaxKind.NumericLiteralExpression); 7524N(SyntaxKind.NumericLiteralExpression); 7559N(SyntaxKind.NumericLiteralExpression); 7565N(SyntaxKind.NumericLiteralExpression); 7586N(SyntaxKind.NumericLiteralExpression); 7592N(SyntaxKind.NumericLiteralExpression); 7632N(SyntaxKind.NumericLiteralExpression); 7674N(SyntaxKind.NumericLiteralExpression); 8063N(SyntaxKind.NumericLiteralExpression); 8093N(SyntaxKind.NumericLiteralExpression); 8099N(SyntaxKind.NumericLiteralExpression); 8109N(SyntaxKind.NumericLiteralExpression); 8115N(SyntaxKind.NumericLiteralExpression); 8145N(SyntaxKind.NumericLiteralExpression); 8151N(SyntaxKind.NumericLiteralExpression); 8161N(SyntaxKind.NumericLiteralExpression); 8167N(SyntaxKind.NumericLiteralExpression); 8594N(SyntaxKind.NumericLiteralExpression); 8621N(SyntaxKind.NumericLiteralExpression); 8641N(SyntaxKind.NumericLiteralExpression); 8661N(SyntaxKind.NumericLiteralExpression); 8748N(SyntaxKind.NumericLiteralExpression); 8754N(SyntaxKind.NumericLiteralExpression); 8765N(SyntaxKind.NumericLiteralExpression); 8771N(SyntaxKind.NumericLiteralExpression); 8782N(SyntaxKind.NumericLiteralExpression); 8788N(SyntaxKind.NumericLiteralExpression); 8799N(SyntaxKind.NumericLiteralExpression); 8805N(SyntaxKind.NumericLiteralExpression); 8816N(SyntaxKind.NumericLiteralExpression); 8822N(SyntaxKind.NumericLiteralExpression); 8833N(SyntaxKind.NumericLiteralExpression); 8839N(SyntaxKind.NumericLiteralExpression); 8922N(SyntaxKind.NumericLiteralExpression); 8935N(SyntaxKind.NumericLiteralExpression); 8952N(SyntaxKind.NumericLiteralExpression); 8963N(SyntaxKind.NumericLiteralExpression); 8976N(SyntaxKind.NumericLiteralExpression); 8993N(SyntaxKind.NumericLiteralExpression); 9004N(SyntaxKind.NumericLiteralExpression); 9017N(SyntaxKind.NumericLiteralExpression); 9034N(SyntaxKind.NumericLiteralExpression); 9083N(SyntaxKind.NumericLiteralExpression); 9088N(SyntaxKind.NumericLiteralExpression); 9095N(SyntaxKind.NumericLiteralExpression); 9108N(SyntaxKind.NumericLiteralExpression); 9113N(SyntaxKind.NumericLiteralExpression); 9120N(SyntaxKind.NumericLiteralExpression); 9133N(SyntaxKind.NumericLiteralExpression); 9138N(SyntaxKind.NumericLiteralExpression); 9145N(SyntaxKind.NumericLiteralExpression); 9185N(SyntaxKind.NumericLiteralExpression); 9225N(SyntaxKind.NumericLiteralExpression); 9232N(SyntaxKind.NumericLiteralExpression); 9271N(SyntaxKind.NumericLiteralExpression); 9276N(SyntaxKind.NumericLiteralExpression); 9381N(SyntaxKind.NumericLiteralExpression); 9541N(SyntaxKind.NumericLiteralExpression); 9607N(SyntaxKind.NumericLiteralExpression); 9669N(SyntaxKind.NumericLiteralExpression); 9716N(SyntaxKind.NumericLiteralExpression); 9732N(SyntaxKind.NumericLiteralExpression); 10400N(SyntaxKind.NumericLiteralExpression); 10824N(SyntaxKind.NumericLiteralExpression); 10982N(SyntaxKind.NumericLiteralExpression); 11152N(SyntaxKind.NumericLiteralExpression); 11209N(SyntaxKind.NumericLiteralExpression); 11273N(SyntaxKind.NumericLiteralExpression); 11423N(SyntaxKind.NumericLiteralExpression); 11469N(SyntaxKind.NumericLiteralExpression); 11477N(SyntaxKind.NumericLiteralExpression); 11621N(SyntaxKind.NumericLiteralExpression); 11633N(SyntaxKind.NumericLiteralExpression); 11961N(SyntaxKind.NumericLiteralExpression); 12050N(SyntaxKind.NumericLiteralExpression); 12120N(SyntaxKind.NumericLiteralExpression); 12145N(SyntaxKind.NumericLiteralExpression); 12196N(SyntaxKind.NumericLiteralExpression); 12296N(SyntaxKind.NumericLiteralExpression); 12397N(SyntaxKind.NumericLiteralExpression); 12497N(SyntaxKind.NumericLiteralExpression); 12611N(SyntaxKind.NumericLiteralExpression); 12779N(SyntaxKind.NumericLiteralExpression);
Parsing\PatternParsingTests_ListPatterns.cs (6)
119N(SyntaxKind.NumericLiteralExpression); 135N(SyntaxKind.NumericLiteralExpression); 366N(SyntaxKind.NumericLiteralExpression); 430N(SyntaxKind.NumericLiteralExpression); 1061N(SyntaxKind.NumericLiteralExpression); 1090N(SyntaxKind.NumericLiteralExpression);
Parsing\PatternParsingTests2.cs (6)
250N(SyntaxKind.NumericLiteralExpression); 411N(SyntaxKind.NumericLiteralExpression); 575N(SyntaxKind.NumericLiteralExpression); 624N(SyntaxKind.NumericLiteralExpression); 736N(SyntaxKind.NumericLiteralExpression); 797N(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)
685N(SyntaxKind.NumericLiteralExpression); 759N(SyntaxKind.NumericLiteralExpression); 2283N(SyntaxKind.NumericLiteralExpression); 2351N(SyntaxKind.NumericLiteralExpression); 2448N(SyntaxKind.NumericLiteralExpression); 2483N(SyntaxKind.NumericLiteralExpression); 2576N(SyntaxKind.NumericLiteralExpression); 3976N(SyntaxKind.NumericLiteralExpression); 4066N(SyntaxKind.NumericLiteralExpression); 4151N(SyntaxKind.NumericLiteralExpression); 4826N(SyntaxKind.NumericLiteralExpression); 4924N(SyntaxKind.NumericLiteralExpression); 5078N(SyntaxKind.NumericLiteralExpression); 5405N(SyntaxKind.NumericLiteralExpression); 6581N(SyntaxKind.NumericLiteralExpression); 6720N(SyntaxKind.NumericLiteralExpression); 6826N(SyntaxKind.NumericLiteralExpression); 6912N(SyntaxKind.NumericLiteralExpression); 6995N(SyntaxKind.NumericLiteralExpression); 7089N(SyntaxKind.NumericLiteralExpression);
Parsing\StatementParsingTests.cs (8)
3908N(SyntaxKind.NumericLiteralExpression); 3913N(SyntaxKind.NumericLiteralExpression); 3949N(SyntaxKind.NumericLiteralExpression); 3990N(SyntaxKind.NumericLiteralExpression); 4006N(SyntaxKind.NumericLiteralExpression); 4036N(SyntaxKind.NumericLiteralExpression); 4046N(SyntaxKind.NumericLiteralExpression); 4642N(SyntaxKind.NumericLiteralExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (3)
492N(SyntaxKind.NumericLiteralExpression); 699N(SyntaxKind.NumericLiteralExpression); 759N(SyntaxKind.NumericLiteralExpression);
Parsing\SwitchExpressionParsingTests.cs (52)
44N(SyntaxKind.NumericLiteralExpression); 50N(SyntaxKind.NumericLiteralExpression); 60N(SyntaxKind.NumericLiteralExpression); 66N(SyntaxKind.NumericLiteralExpression); 111N(SyntaxKind.NumericLiteralExpression); 117N(SyntaxKind.NumericLiteralExpression); 127N(SyntaxKind.NumericLiteralExpression); 133N(SyntaxKind.NumericLiteralExpression); 178N(SyntaxKind.NumericLiteralExpression); 184N(SyntaxKind.NumericLiteralExpression); 194N(SyntaxKind.NumericLiteralExpression); 200N(SyntaxKind.NumericLiteralExpression); 251N(SyntaxKind.NumericLiteralExpression); 257N(SyntaxKind.NumericLiteralExpression); 267N(SyntaxKind.NumericLiteralExpression); 273N(SyntaxKind.NumericLiteralExpression); 349N(SyntaxKind.NumericLiteralExpression); 400N(SyntaxKind.NumericLiteralExpression); 485N(SyntaxKind.NumericLiteralExpression); 491N(SyntaxKind.NumericLiteralExpression); 501N(SyntaxKind.NumericLiteralExpression); 507N(SyntaxKind.NumericLiteralExpression); 552N(SyntaxKind.NumericLiteralExpression); 558N(SyntaxKind.NumericLiteralExpression); 568N(SyntaxKind.NumericLiteralExpression); 574N(SyntaxKind.NumericLiteralExpression); 610N(SyntaxKind.NumericLiteralExpression); 616N(SyntaxKind.NumericLiteralExpression); 632N(SyntaxKind.NumericLiteralExpression); 674N(SyntaxKind.NumericLiteralExpression); 680N(SyntaxKind.NumericLiteralExpression); 696N(SyntaxKind.NumericLiteralExpression); 732N(SyntaxKind.NumericLiteralExpression); 738N(SyntaxKind.NumericLiteralExpression); 760N(SyntaxKind.NumericLiteralExpression); 802N(SyntaxKind.NumericLiteralExpression); 808N(SyntaxKind.NumericLiteralExpression); 830N(SyntaxKind.NumericLiteralExpression); 874N(SyntaxKind.NumericLiteralExpression); 884N(SyntaxKind.NumericLiteralExpression); 890N(SyntaxKind.NumericLiteralExpression); 906N(SyntaxKind.NumericLiteralExpression); 967N(SyntaxKind.NumericLiteralExpression); 977N(SyntaxKind.NumericLiteralExpression); 983N(SyntaxKind.NumericLiteralExpression); 999N(SyntaxKind.NumericLiteralExpression); 1037N(SyntaxKind.NumericLiteralExpression); 1043N(SyntaxKind.NumericLiteralExpression); 1065N(SyntaxKind.NumericLiteralExpression); 1107N(SyntaxKind.NumericLiteralExpression); 1113N(SyntaxKind.NumericLiteralExpression); 1135N(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)
1719N(SyntaxKind.NumericLiteralExpression); 1727N(SyntaxKind.NumericLiteralExpression); 2832N(SyntaxKind.NumericLiteralExpression); 2956N(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)
286Assert.Equal(2, list.IndexOf(SyntaxKind.NumericLiteralExpression)); 287Assert.True(list.Any(SyntaxKind.NumericLiteralExpression));
Syntax\SyntaxFactoryTests.cs (3)
91Assert.Throws<ArgumentException>(() => SyntaxFactory.Token(SyntaxKind.NumericLiteralExpression)); 578var lambda = SyntaxFactory.ParenthesizedLambdaExpression(body: SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1))); 584body: SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)));
Syntax\SyntaxListTests.cs (2)
272Assert.Equal(2, list.IndexOf(SyntaxKind.NumericLiteralExpression)); 273Assert.True(list.Any(SyntaxKind.NumericLiteralExpression));
Syntax\SyntaxTests.cs (1)
233[InlineData(SyntaxKind.NumericLiteralToken, SyntaxKind.NumericLiteralExpression)]
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3272SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal("0", 0));
CSharpSyntaxKinds.cs (1)
76public int NumericLiteralExpression => (int)SyntaxKind.NumericLiteralExpression;
EnumMemberGenerator.cs (6)
121if (binaryExpression.Left.Kind() == SyntaxKind.NumericLiteralExpression) 132SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(numericLiteral.Token.Text, 1)), 133SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(shiftValue.ToString(), shiftValue))); 137else if (lastExpression is LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression) numericLiteral) 145return SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, 150return SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression,
ExpressionGenerator.cs (1)
272SyntaxKind.NumericLiteralExpression, tokenFactory(stringValue, nonNegativeValue));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
1258SyntaxKind.NumericLiteralExpression, 1343SyntaxKind.NumericLiteralExpression, 1368SyntaxKind.NumericLiteralExpression, 1395SyntaxKind.NumericLiteralExpression, 1427SyntaxKind.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.VisualStudio.LanguageServices.CSharp (2)
CodeModel\MethodXml\MethodXmlBuilder.cs (2)
170case SyntaxKind.NumericLiteralExpression: 264case SyntaxKind.NumericLiteralExpression: