42 references to BoolKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (1)
1988
case SyntaxKind.
BoolKeyword
:
Syntax\SyntaxKindExtensions.cs (1)
17
case SyntaxKind.
BoolKeyword
:
Syntax\SyntaxKindFacts.cs (5)
18
for (int i = (int)SyntaxKind.
BoolKeyword
; i <= (int)SyntaxKind.ImplicitKeyword; i++)
39
return kind >= SyntaxKind.
BoolKeyword
&& kind <= SyntaxKind.ImplicitKeyword;
291
case SyntaxKind.
BoolKeyword
:
825
return SyntaxKind.
BoolKeyword
;
1465
case SyntaxKind.
BoolKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxFacts.cs (1)
331
SyntaxKind.
BoolKeyword
=> PredefinedType.Boolean,
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\BoolKeywordRecommender.cs (1)
17
: base(SyntaxKind.
BoolKeyword
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (29)
Generated\Syntax.Test.xml.Generated.cs (4)
29
=> InternalSyntaxFactory.PredefinedType(InternalSyntaxFactory.Token(SyntaxKind.
BoolKeyword
));
791
Assert.Equal(SyntaxKind.
BoolKeyword
, node.Keyword.Kind);
10005
=> SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.
BoolKeyword
));
10767
Assert.Equal(SyntaxKind.
BoolKeyword
, node.Keyword.Kind());
Parsing\DeclarationParsingTests.cs (6)
2078
TestDelegateWithBuiltInReturnType(SyntaxKind.
BoolKeyword
);
2124
TestDelegateWithBuiltInParameterType(SyntaxKind.
BoolKeyword
);
3217
TestClassMethodWithBuiltInReturnType(SyntaxKind.
BoolKeyword
);
3282
TestClassMethodWithBuiltInParameterType(SyntaxKind.
BoolKeyword
);
3640
TestClassFieldWithBuiltInType(SyntaxKind.
BoolKeyword
);
4269
TestClassPropertyWithBuiltInType(SyntaxKind.
BoolKeyword
);
Parsing\DeclarationScopeParsingTests.cs (2)
11975
N(SyntaxKind.
BoolKeyword
);
12031
N(SyntaxKind.
BoolKeyword
);
Parsing\FileModifierParsingTests.cs (2)
3247
N(SyntaxKind.
BoolKeyword
);
3326
N(SyntaxKind.
BoolKeyword
);
Parsing\LambdaParameterParsingTests.cs (1)
863
N(SyntaxKind.
BoolKeyword
);
Parsing\MemberDeclarationParsingTests.cs (1)
2285
N(SyntaxKind.
BoolKeyword
);
Parsing\NameParsingTests.cs (1)
457
ParseKnownTypeName(SyntaxKind.
BoolKeyword
);
Parsing\PatternParsingTests.cs (3)
489
N(SyntaxKind.
BoolKeyword
);
9862
N(SyntaxKind.
BoolKeyword
);
11501
N(SyntaxKind.
BoolKeyword
);
Parsing\ScriptParsingTests.cs (5)
681
NewModifier_PartialMethod_ReturnsPredefined("bool", SyntaxKind.
BoolKeyword
);
1534
N(SyntaxKind.
BoolKeyword
);
1575
N(SyntaxKind.
BoolKeyword
);
1616
N(SyntaxKind.
BoolKeyword
);
1663
N(SyntaxKind.
BoolKeyword
);
Parsing\StatementParsingTests.cs (1)
4622
N(SyntaxKind.
BoolKeyword
);
Parsing\TypeArgumentListParsingTests.cs (3)
807
N(SyntaxKind.
BoolKeyword
);
877
N(SyntaxKind.
BoolKeyword
);
937
N(SyntaxKind.
BoolKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3446
SpecialType.System_Boolean => SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.
BoolKeyword
)),
CSharpSyntaxFacts.cs (1)
331
SyntaxKind.
BoolKeyword
=> PredefinedType.Boolean,
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
752
SyntaxKind.
BoolKeyword
=> "Boolean",
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
43
SpecialType.System_Boolean => SyntaxKind.
BoolKeyword
,