34 references to StackAllocKeyword
Microsoft.CodeAnalysis.CSharp (16)
_generated\0\Syntax.xml.Main.Generated.cs (5)
3405
if (stackAllocKeyword.Kind() != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
3412
=> SyntaxFactory.StackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), type, initializer);
3416
=> SyntaxFactory.StackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), type, default);
3421
if (stackAllocKeyword.Kind() != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
3430
=> SyntaxFactory.ImplicitStackAllocArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
StackAllocKeyword
), SyntaxFactory.Token(SyntaxKind.OpenBracketToken), SyntaxFactory.Token(SyntaxKind.CloseBracketToken), initializer);
_generated\1\Syntax.xml.Internal.Generated.cs (4)
30051
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
30072
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
35478
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
35499
if (stackAllocKeyword.Kind != SyntaxKind.
StackAllocKeyword
) throw new ArgumentException(nameof(stackAllocKeyword));
Parser\LanguageParser.cs (5)
11165
case SyntaxKind.
StackAllocKeyword
:
12098
case SyntaxKind.
StackAllocKeyword
:
13640
Debug.Assert(this.CurrentToken.Kind is SyntaxKind.NewKeyword or SyntaxKind.
StackAllocKeyword
);
13722
var @stackalloc = this.EatToken(SyntaxKind.
StackAllocKeyword
);
13754
this.EatToken(SyntaxKind.
StackAllocKeyword
),
Syntax\SyntaxKindFacts.cs (2)
979
return SyntaxKind.
StackAllocKeyword
;
1680
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) ||