15 references to StackAllocArrayCreationExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (3)
611case SyntaxKind.StackAllocArrayCreationExpression: 4555typeSyntax: node.Kind() == SyntaxKind.StackAllocArrayCreationExpression 4611Debug.Assert(node.IsKind(SyntaxKind.ImplicitStackAllocArrayCreationExpression) || node.IsKind(SyntaxKind.StackAllocArrayCreationExpression));
Parser\LanguageParser.cs (1)
10803case SyntaxKind.StackAllocArrayCreationExpression:
Syntax\SyntaxFactory.cs (1)
2220case SyntaxKind.StackAllocArrayCreationExpression:
Syntax\SyntaxFacts.cs (1)
119case StackAllocArrayCreationExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForStackAllocDiagnosticAnalyzer.cs (1)
37context.RegisterSyntaxNodeAction(context => AnalyzeExplicitStackAllocExpression(context, expressionType), SyntaxKind.StackAllocArrayCreationExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
467if (expression.IsKind(SyntaxKind.StackAllocArrayCreationExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
137.Any(node => node.IsKind(SyntaxKind.StackAllocArrayCreationExpression));
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
65variableDeclarator.Initializer.Value.IsKind(SyntaxKind.StackAllocArrayCreationExpression))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForStackAllocDiagnosticAnalyzer.cs (1)
37context.RegisterSyntaxNodeAction(context => AnalyzeExplicitStackAllocExpression(context, expressionType), SyntaxKind.StackAllocArrayCreationExpression);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\StackAllocInitializerParsingTests.cs (2)
34N(SyntaxKind.StackAllocArrayCreationExpression); 81N(SyntaxKind.StackAllocArrayCreationExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
467if (expression.IsKind(SyntaxKind.StackAllocArrayCreationExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
137.Any(node => node.IsKind(SyntaxKind.StackAllocArrayCreationExpression));