21 references to ComplexElementInitializerExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (3)
764case SyntaxKind.ComplexElementInitializerExpression: 6288if (elementInitializer.Kind() == SyntaxKind.ComplexElementInitializerExpression) 6354Debug.Assert(node.Kind() == SyntaxKind.ComplexElementInitializerExpression);
Compilation\CSharpSemanticModel.cs (1)
83case SyntaxKind.ComplexElementInitializerExpression:
Compilation\MemberSemanticModel.cs (1)
2328case { RawKind: (int)SyntaxKind.ComplexElementInitializerExpression }:
Parser\LanguageParser.cs (1)
13059SyntaxKind.ComplexElementInitializerExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
35=> expression.IsKind(SyntaxKind.ComplexElementInitializerExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
480or SyntaxKind.ComplexElementInitializerExpression) 586case SyntaxKind.ComplexElementInitializerExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
135SyntaxKind.ComplexElementInitializerExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1303if (initializerExpression.IsKind(SyntaxKind.ComplexElementInitializerExpression)) 1345foreach (var sibling in initializerExpression.Expressions.Where(e => e.Kind() != SyntaxKind.ComplexElementInitializerExpression))
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
35=> expression.IsKind(SyntaxKind.ComplexElementInitializerExpression);
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
135SyntaxKind.ComplexElementInitializerExpression,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ExpressionParsingTests.cs (1)
6237N(SyntaxKind.ComplexElementInitializerExpression);
Parsing\RefFieldParsingTests.cs (2)
819N(SyntaxKind.ComplexElementInitializerExpression); 959N(SyntaxKind.ComplexElementInitializerExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
480or SyntaxKind.ComplexElementInitializerExpression) 586case SyntaxKind.ComplexElementInitializerExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1303if (initializerExpression.IsKind(SyntaxKind.ComplexElementInitializerExpression)) 1345foreach (var sibling in initializerExpression.Expressions.Where(e => e.Kind() != SyntaxKind.ComplexElementInitializerExpression))