52 references to BoolKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (1)
2304case SyntaxKind.BoolKeyword:
Syntax\SyntaxKindExtensions.cs (1)
17case SyntaxKind.BoolKeyword:
Syntax\SyntaxKindFacts.cs (5)
20for (int i = (int)SyntaxKind.BoolKeyword; i <= (int)SyntaxKind.ImplicitKeyword; i++) 42return kind >= SyntaxKind.BoolKeyword && kind <= SyntaxKind.ImplicitKeyword; 319case SyntaxKind.BoolKeyword: 853return SyntaxKind.BoolKeyword; 1501case SyntaxKind.BoolKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
15public static readonly SyntaxToken BoolKeyword = Token(SyntaxKind.BoolKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
327SyntaxKind.BoolKeyword => PredefinedType.Boolean,
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\BoolKeywordRecommender.cs (1)
17: base(SyntaxKind.BoolKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
Generated\Syntax.Test.xml.Generated.cs (4)
29=> InternalSyntaxFactory.PredefinedType(InternalSyntaxFactory.Token(SyntaxKind.BoolKeyword)); 809Assert.Equal(SyntaxKind.BoolKeyword, node.Keyword.Kind); 10245=> SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword)); 11025Assert.Equal(SyntaxKind.BoolKeyword, node.Keyword.Kind());
Parsing\CollectionExpressionParsingTests.cs (1)
17052N(SyntaxKind.BoolKeyword);
Parsing\DeclarationParsingTests.cs (6)
2078TestDelegateWithBuiltInReturnType(SyntaxKind.BoolKeyword); 2124TestDelegateWithBuiltInParameterType(SyntaxKind.BoolKeyword); 3217TestClassMethodWithBuiltInReturnType(SyntaxKind.BoolKeyword); 3282TestClassMethodWithBuiltInParameterType(SyntaxKind.BoolKeyword); 3640TestClassFieldWithBuiltInType(SyntaxKind.BoolKeyword); 4269TestClassPropertyWithBuiltInType(SyntaxKind.BoolKeyword);
Parsing\DeclarationScopeParsingTests.cs (2)
11641N(SyntaxKind.BoolKeyword); 11697N(SyntaxKind.BoolKeyword);
Parsing\FileModifierParsingTests.cs (2)
3247N(SyntaxKind.BoolKeyword); 3326N(SyntaxKind.BoolKeyword);
Parsing\LambdaParameterParsingTests.cs (1)
861N(SyntaxKind.BoolKeyword);
Parsing\MemberDeclarationParsingTests.cs (1)
2279N(SyntaxKind.BoolKeyword);
Parsing\NameParsingTests.cs (1)
455ParseKnownTypeName(SyntaxKind.BoolKeyword);
Parsing\PatternParsingTests.cs (3)
489N(SyntaxKind.BoolKeyword); 9823N(SyntaxKind.BoolKeyword); 11462N(SyntaxKind.BoolKeyword);
Parsing\ScriptParsingTests.cs (5)
681NewModifier_PartialMethod_ReturnsPredefined("bool", SyntaxKind.BoolKeyword); 1534N(SyntaxKind.BoolKeyword); 1575N(SyntaxKind.BoolKeyword); 1616N(SyntaxKind.BoolKeyword); 1663N(SyntaxKind.BoolKeyword);
Parsing\StatementParsingTests.cs (1)
4650N(SyntaxKind.BoolKeyword);
Parsing\TypeArgumentListParsingTests.cs (3)
805N(SyntaxKind.BoolKeyword); 875N(SyntaxKind.BoolKeyword); 935N(SyntaxKind.BoolKeyword);
Syntax\SyntaxTests.cs (2)
300[InlineData(nameof(SyntaxFacts.GetPunctuationKinds), SyntaxKind.TildeToken, SyntaxKind.BoolKeyword)] 301[InlineData(nameof(SyntaxFacts.GetReservedKeywordKinds), SyntaxKind.BoolKeyword, SyntaxKind.YieldKeyword)]
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
751SyntaxKind.BoolKeyword => "Boolean",
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
41SpecialType.System_Boolean => SyntaxKind.BoolKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
15public static readonly SyntaxToken BoolKeyword = Token(SyntaxKind.BoolKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
327SyntaxKind.BoolKeyword => PredefinedType.Boolean,
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportCodeGenerator.cs (1)
79setupStatements.Add(SyntaxFactoryExtensions.Declare(PredefinedType(Token(SyntaxKind.BoolKeyword)), InvokeSucceededIdentifier, initializeToDefault: true));
JSExportGenerator.cs (1)
237FieldDeclarationSyntax field = FieldDeclaration(VariableDeclaration(PredefinedType(Token(SyntaxKind.BoolKeyword)))
JSImportCodeGenerator.cs (1)
87setupStatements.Add(SyntaxFactoryExtensions.Declare(PredefinedType(Token(SyntaxKind.BoolKeyword)), InvokeSucceededIdentifier, initializeToDefault: true));
JSManagedTypeInfo.cs (1)
27Syntax = SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword))
Microsoft.Interop.SourceGeneration (2)
ManagedToNativeStubGenerator.cs (1)
128setupStatements.Add(Declare(PredefinedType(Token(SyntaxKind.BoolKeyword)), InvokeSucceededIdentifier, initializeToDefault: true));
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
62PredefinedType(Token(SyntaxKind.BoolKeyword)),