98 references to TrueLiteralExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
705case SyntaxKind.TrueLiteralExpression:
Binder\EarlyWellKnownAttributeBinder.cs (1)
86case SyntaxKind.TrueLiteralExpression:
Parser\DirectiveParser.cs (1)
851case SyntaxKind.TrueLiteralExpression:
Parser\LanguageParser.cs (1)
10808case SyntaxKind.TrueLiteralExpression:
Syntax\LiteralExpressionSyntax.cs (1)
24SyntaxKind.TrueLiteralExpression => SyntaxKind.TrueKeyword,
Syntax\SyntaxKindFacts.cs (1)
582SyntaxKind.TrueKeyword => SyntaxKind.TrueLiteralExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
86public int TrueLiteralExpression => (int)SyntaxKind.TrueLiteralExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
102? SyntaxKind.TrueLiteralExpression
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\FormattingEngineTests.cs (1)
2223var entry = SyntaxFactory.BinaryExpression(SyntaxKind.EqualsExpression, SyntaxFactory.LiteralExpression(SyntaxKind.TrueLiteralExpression), SyntaxFactory.LiteralExpression(SyntaxKind.FalseLiteralExpression));
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
35private static readonly PatternSyntax s_trueConstantPattern = ConstantPattern(LiteralExpression(TrueLiteralExpression));
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
82case SyntaxKind.TrueLiteralExpression:
EditAndContinue\SyntaxComparer.cs (1)
524case SyntaxKind.TrueLiteralExpression:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
4753Assert.Equal(SyntaxKind.TrueLiteralExpression, trueLiteral.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (69)
IncrementalParsing\IncrementalParsingTests.cs (2)
700N(SyntaxKind.TrueLiteralExpression); 715N(SyntaxKind.TrueLiteralExpression);
Parsing\AwaitParsingTests.cs (1)
2172N(SyntaxKind.TrueLiteralExpression);
Parsing\CollectionExpressionParsingTests.cs (1)
17073N(SyntaxKind.TrueLiteralExpression);
Parsing\DeclarationExpressionTests.cs (2)
118N(SyntaxKind.TrueLiteralExpression); 254N(SyntaxKind.TrueLiteralExpression);
Parsing\DeclarationScopeParsingTests.cs (2)
11659N(SyntaxKind.TrueLiteralExpression); 11718N(SyntaxKind.TrueLiteralExpression);
Parsing\ExpressionParsingTests.cs (2)
4874N(SyntaxKind.TrueLiteralExpression); 4956N(SyntaxKind.TrueLiteralExpression);
Parsing\FileModifierParsingTests.cs (2)
3268N(SyntaxKind.TrueLiteralExpression); 3344N(SyntaxKind.TrueLiteralExpression);
Parsing\LambdaParameterParsingTests.cs (2)
3434N(SyntaxKind.TrueLiteralExpression); 3515N(SyntaxKind.TrueLiteralExpression);
Parsing\MemberDeclarationParsingTests.cs (1)
2299N(SyntaxKind.TrueLiteralExpression);
Parsing\ParsingErrorRecoveryTests.cs (2)
5524N(SyntaxKind.TrueLiteralExpression); 5637N(SyntaxKind.TrueLiteralExpression);
Parsing\PatternParsingTests.cs (5)
1712N(SyntaxKind.TrueLiteralExpression); 1823N(SyntaxKind.TrueLiteralExpression); 5586N(SyntaxKind.TrueLiteralExpression); 7587N(SyntaxKind.TrueLiteralExpression); 7629N(SyntaxKind.TrueLiteralExpression);
Parsing\StatementAttributeParsingTests.cs (6)
373N(SyntaxKind.TrueLiteralExpression); 458N(SyntaxKind.TrueLiteralExpression); 912N(SyntaxKind.TrueLiteralExpression); 993N(SyntaxKind.TrueLiteralExpression); 2208N(SyntaxKind.TrueLiteralExpression); 3215N(SyntaxKind.TrueLiteralExpression);
Parsing\SwitchExpressionParsingTests.cs (8)
870N(SyntaxKind.TrueLiteralExpression); 958N(SyntaxKind.TrueLiteralExpression); 1047N(SyntaxKind.TrueLiteralExpression); 1823N(SyntaxKind.TrueLiteralExpression); 1899N(SyntaxKind.TrueLiteralExpression); 1975N(SyntaxKind.TrueLiteralExpression); 2055N(SyntaxKind.TrueLiteralExpression); 2141N(SyntaxKind.TrueLiteralExpression);
Parsing\TypeArgumentListParsingTests.cs (1)
924N(SyntaxKind.TrueLiteralExpression);
Parsing\UsingDirectiveParsingTests.cs (3)
1775N(SyntaxKind.TrueLiteralExpression); 3710N(SyntaxKind.TrueLiteralExpression); 3872N(SyntaxKind.TrueLiteralExpression);
Syntax\SyntaxNodeTests.cs (28)
137Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[0].Kind()); 142Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 143Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 147Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[0].Kind()); 152Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 157Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[0].Kind()); 162Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 163Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 167Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[0].Kind()); 172Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 184Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 190Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 191Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[3].Kind()); 196Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 202Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 208Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 214Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 215Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[3].Kind()); 220Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[1].Kind()); 226Assert.Equal(SyntaxKind.TrueLiteralExpression, nodes[2].Kind()); 238Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[1].Kind()); 247Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[3].Kind()); 251Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[7].Kind()); 259Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[1].Kind()); 274Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[2].Kind()); 284Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[4].Kind()); 288Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[8].Kind()); 297Assert.Equal(SyntaxKind.TrueLiteralExpression, nodesAndTokens[2].Kind());
Syntax\SyntaxTests.cs (1)
239[InlineData(SyntaxKind.TrueKeyword, SyntaxKind.TrueLiteralExpression)]
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
86public int TrueLiteralExpression => (int)SyntaxKind.TrueLiteralExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
102? SyntaxKind.TrueLiteralExpression
Microsoft.DotNet.CodeAnalysis (1)
Analyzers\AppContextDefaultsAnalyzer.cs (1)
74if (args.Expression.Kind() != SyntaxKind.TrueLiteralExpression)
Microsoft.Interop.JavaScript.JSImportGenerator (3)
JSExportCodeGenerator.cs (2)
95LiteralExpression(SyntaxKind.TrueLiteralExpression)))); 146LiteralExpression(SyntaxKind.TrueLiteralExpression))),
JSImportCodeGenerator.cs (1)
103LiteralExpression(SyntaxKind.TrueLiteralExpression))));
Microsoft.Interop.LibraryImportGenerator (3)
LibraryImportGenerator.cs (3)
469LiteralExpression(SyntaxKind.TrueLiteralExpression)) 494LiteralExpression(SyntaxKind.TrueLiteralExpression)) 521? SyntaxKind.TrueLiteralExpression
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
344LiteralExpression(SyntaxKind.TrueLiteralExpression)) 369LiteralExpression(SyntaxKind.TrueLiteralExpression)) 399? SyntaxKind.TrueLiteralExpression
Microsoft.Interop.SourceGeneration (2)
ManagedToNativeStubGenerator.cs (1)
159LiteralExpression(SyntaxKind.TrueLiteralExpression))));
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
45LiteralExpression(SyntaxKind.TrueLiteralExpression)));
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\MethodXml\MethodXmlBuilder.cs (2)
172case SyntaxKind.TrueLiteralExpression: 272case SyntaxKind.TrueLiteralExpression: