22 references to ShortKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\LanguageParser.cs (1)
2412case SyntaxKind.ShortKeyword:
Syntax\SyntaxKindExtensions.cs (1)
23case SyntaxKind.ShortKeyword:
Syntax\SyntaxKindFacts.cs (3)
325case SyntaxKind.ShortKeyword: 889return SyntaxKind.ShortKeyword; 1584case SyntaxKind.ShortKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
91public static readonly SyntaxToken ShortKeyword = Token(SyntaxKind.ShortKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
331SyntaxKind.ShortKeyword => PredefinedType.Int16,
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\ShortKeywordRecommender.cs (1)
14internal sealed class ShortKeywordRecommender() : AbstractSpecialTypePreselectingKeywordRecommender(SyntaxKind.ShortKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Parsing\DeclarationParsingTests.cs (6)
2082TestDelegateWithBuiltInReturnType(SyntaxKind.ShortKeyword); 2128TestDelegateWithBuiltInParameterType(SyntaxKind.ShortKeyword); 3275TestClassMethodWithBuiltInReturnType(SyntaxKind.ShortKeyword); 3340TestClassMethodWithBuiltInParameterType(SyntaxKind.ShortKeyword); 3698TestClassFieldWithBuiltInType(SyntaxKind.ShortKeyword); 4327TestClassPropertyWithBuiltInType(SyntaxKind.ShortKeyword);
Parsing\NameParsingTests.cs (1)
458ParseKnownTypeName(SyntaxKind.ShortKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
715SyntaxKind.ShortKeyword => "Int16",
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
46SpecialType.System_Int16 => SyntaxKind.ShortKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
91public static readonly SyntaxToken ShortKeyword = Token(SyntaxKind.ShortKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
331SyntaxKind.ShortKeyword => PredefinedType.Int16,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSManagedTypeInfo.cs (1)
42Syntax = SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.ShortKeyword))
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
91public static readonly SyntaxToken ShortKeyword = Token(SyntaxKind.ShortKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
331SyntaxKind.ShortKeyword => PredefinedType.Int16,