89 references to TrueKeyword
Microsoft.CodeAnalysis.CSharp (20)
Binder\Semantics\Operators\OperatorFacts.cs (1)
111
case SyntaxKind.
TrueKeyword
: return WellKnownMemberNames.TrueOperatorName;
Parser\DirectiveParser.cs (1)
801
case SyntaxKind.
TrueKeyword
:
Parser\LanguageParser.cs (3)
10607
case SyntaxKind.
TrueKeyword
:
10907
case SyntaxKind.
TrueKeyword
:
11518
case SyntaxKind.
TrueKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (3)
675
return SyntaxKind.
TrueKeyword
;
694
if (operatorKind == SyntaxKind.
TrueKeyword
)
696
AddKeyword(SyntaxKind.
TrueKeyword
);
Syntax\InternalSyntax\SyntaxToken.cs (1)
288
case SyntaxKind.
TrueKeyword
:
Syntax\LiteralExpressionSyntax.cs (1)
24
SyntaxKind.TrueLiteralExpression => SyntaxKind.
TrueKeyword
,
Syntax\SyntaxKindFacts.cs (10)
83
case SyntaxKind.
TrueKeyword
:
127
case SyntaxKind.
TrueKeyword
:
145
yield return SyntaxKind.
TrueKeyword
;
480
token == SyntaxKind.
TrueKeyword
||
526
case SyntaxKind.
TrueKeyword
:
582
SyntaxKind.
TrueKeyword
=> SyntaxKind.TrueLiteralExpression,
891
return SyntaxKind.
TrueKeyword
;
1077
case WellKnownMemberNames.TrueOperatorName: return SyntaxKind.
TrueKeyword
;
1113
return SyntaxKind.
TrueKeyword
;
1539
case SyntaxKind.
TrueKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
133
case SyntaxKind.
TrueKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
488
case SyntaxKind.
TrueKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
73
public int TrueKeyword => (int)SyntaxKind.
TrueKeyword
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
58
{ SyntaxKind.
TrueKeyword
, 20 },
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\TrueKeywordRecommender.cs (1)
13
: base(SyntaxKind.
TrueKeyword
, isValidInPreprocessorContext: true)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
5914
var expr = tokens.Single(t => t.Kind() == SyntaxKind.
TrueKeyword
).Parent;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (59)
IncrementalParsing\IncrementalParsingTests.cs (2)
702
N(SyntaxKind.
TrueKeyword
);
717
N(SyntaxKind.
TrueKeyword
);
LexicalAndXml\CrefLexerTests.cs (3)
46
AssertTokens("true", Token(SyntaxKind.
TrueKeyword
));
55
AssertTokens("true", Token(SyntaxKind.
TrueKeyword
, "true", "true"));
64
AssertTokens("true", Token(SyntaxKind.
TrueKeyword
, "true", "true"));
Parsing\AwaitParsingTests.cs (1)
2174
N(SyntaxKind.
TrueKeyword
);
Parsing\CollectionExpressionParsingTests.cs (2)
16999
N(SyntaxKind.
TrueKeyword
);
17075
N(SyntaxKind.
TrueKeyword
);
Parsing\DeclarationExpressionTests.cs (2)
120
N(SyntaxKind.
TrueKeyword
);
256
N(SyntaxKind.
TrueKeyword
);
Parsing\DeclarationParsingTests.cs (1)
5522
TestClassUnaryOperatorMethod(SyntaxKind.
TrueKeyword
);
Parsing\DeclarationScopeParsingTests.cs (2)
11661
N(SyntaxKind.
TrueKeyword
);
11720
N(SyntaxKind.
TrueKeyword
);
Parsing\ExpressionParsingTests.cs (3)
468
TestLiteralExpression(SyntaxKind.
TrueKeyword
);
4876
N(SyntaxKind.
TrueKeyword
);
4958
N(SyntaxKind.
TrueKeyword
);
Parsing\FileModifierParsingTests.cs (2)
3270
N(SyntaxKind.
TrueKeyword
);
3346
N(SyntaxKind.
TrueKeyword
);
Parsing\LambdaParameterParsingTests.cs (2)
3436
N(SyntaxKind.
TrueKeyword
);
3517
N(SyntaxKind.
TrueKeyword
);
Parsing\MemberDeclarationParsingTests.cs (4)
2301
N(SyntaxKind.
TrueKeyword
);
9665
[InlineData("true", SyntaxKind.
TrueKeyword
)]
9713
[InlineData("true", SyntaxKind.
TrueKeyword
)]
10001
[InlineData("true", SyntaxKind.
TrueKeyword
)]
Parsing\ParsingErrorRecoveryTests.cs (2)
5526
N(SyntaxKind.
TrueKeyword
);
5639
N(SyntaxKind.
TrueKeyword
);
Parsing\PatternParsingTests.cs (5)
1714
N(SyntaxKind.
TrueKeyword
);
1825
N(SyntaxKind.
TrueKeyword
);
5588
N(SyntaxKind.
TrueKeyword
);
7589
N(SyntaxKind.
TrueKeyword
);
7631
N(SyntaxKind.
TrueKeyword
);
Parsing\StatementAttributeParsingTests.cs (6)
375
N(SyntaxKind.
TrueKeyword
);
460
N(SyntaxKind.
TrueKeyword
);
914
N(SyntaxKind.
TrueKeyword
);
995
N(SyntaxKind.
TrueKeyword
);
2210
N(SyntaxKind.
TrueKeyword
);
3217
N(SyntaxKind.
TrueKeyword
);
Parsing\SwitchExpressionParsingTests.cs (8)
872
N(SyntaxKind.
TrueKeyword
);
960
N(SyntaxKind.
TrueKeyword
);
1049
N(SyntaxKind.
TrueKeyword
);
1825
N(SyntaxKind.
TrueKeyword
);
1901
N(SyntaxKind.
TrueKeyword
);
1977
N(SyntaxKind.
TrueKeyword
);
2057
N(SyntaxKind.
TrueKeyword
);
2143
N(SyntaxKind.
TrueKeyword
);
Parsing\TypeArgumentListParsingTests.cs (1)
924
N(SyntaxKind.
TrueKeyword
);
Parsing\UsingDirectiveParsingTests.cs (3)
1777
N(SyntaxKind.
TrueKeyword
);
3712
N(SyntaxKind.
TrueKeyword
);
3874
N(SyntaxKind.
TrueKeyword
);
Syntax\SyntaxNodeTests.cs (8)
239
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[2].Kind());
248
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[4].Kind());
252
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[8].Kind());
260
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[2].Kind());
275
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[3].Kind());
285
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[5].Kind());
289
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[9].Kind());
298
Assert.Equal(SyntaxKind.
TrueKeyword
, nodesAndTokens[3].Kind());
Syntax\SyntaxTests.cs (2)
239
[InlineData(SyntaxKind.
TrueKeyword
, SyntaxKind.TrueLiteralExpression)]
333
Assert.True(returnedKindsInts.Remove((int)SyntaxKind.
TrueKeyword
));
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
133
case SyntaxKind.
TrueKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
488
case SyntaxKind.
TrueKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
73
public int TrueKeyword => (int)SyntaxKind.
TrueKeyword
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
58
{ SyntaxKind.
TrueKeyword
, 20 },