34 references to StackAllocKeyword
Microsoft.CodeAnalysis.CSharp (16)
_generated\0\Syntax.xml.Main.Generated.cs (5)
3433
if (stackAllocKeyword.Kind() != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
3440
=> SyntaxFactory.StackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), type, initializer);
3444
=> SyntaxFactory.StackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), type, default);
3449
if (stackAllocKeyword.Kind() != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
3458
=> SyntaxFactory.ImplicitStackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), SyntaxFactory.Token(SyntaxKind.OpenBracketToken), SyntaxFactory.Token(SyntaxKind.CloseBracketToken), initializer);
_generated\1\Syntax.xml.Internal.Generated.cs (4)
30206
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
30227
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
35628
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
35649
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
Parser\LanguageParser.cs (5)
11189
case SyntaxKind.
StackAllocKeyword
:
12125
case SyntaxKind.
StackAllocKeyword
:
13676
Debug.Assert(this.CurrentToken.Kind is SyntaxKind.NewKeyword or SyntaxKind.
StackAllocKeyword
);
13758
var @stackalloc = this.EatToken(SyntaxKind.
StackAllocKeyword
);
13790
this.EatToken(SyntaxKind.
StackAllocKeyword
),
Syntax\SyntaxKindFacts.cs (2)
981
return SyntaxKind.
StackAllocKeyword
;
1682
case SyntaxKind.
StackAllocKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
742
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Features (14)
Completion\KeywordRecommenders\BoolKeywordRecommender.cs (1)
38
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\ByteKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\CharKeywordRecommender.cs (1)
38
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\DecimalKeywordRecommender.cs (1)
38
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\DoubleKeywordRecommender.cs (1)
38
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\FloatKeywordRecommender.cs (1)
38
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\IntKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\LongKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\SByteKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\ShortKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\StackAllocKeywordRecommender.cs (1)
10
internal sealed class StackAllocKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.
StackAllocKeyword
)
Completion\KeywordRecommenders\UIntKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\ULongKeywordRecommender.cs (1)
39
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
46
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
742
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
65
CSharpSyntaxKind.
StackAllocKeyword
,
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
742
syntaxTree.IsAfterKeyword(position, SyntaxKind.
StackAllocKeyword
, cancellationToken) ||