33 references to WithInitializerExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
69assignment.Parent?.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.WithInitializerExpression)
Binder\Binder_Expressions.cs (3)
4776case SyntaxKind.WithInitializerExpression: 4802Debug.Assert(syntax.Parent.Parent.Kind() != SyntaxKind.WithInitializerExpression); 4824initializerSyntax.Kind() == SyntaxKind.WithInitializerExpression);
Compiler\MethodCompiler.cs (1)
2122assignment.Parent?.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.WithInitializerExpression)
Parser\LanguageParser.cs (1)
12011SyntaxKind.WithInitializerExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxFacts.cs (1)
647if (identifier.Parent.IsParentKind(SyntaxKind.WithInitializerExpression))
NewLineUserSettingFormattingRule.cs (2)
136SyntaxKind.WithInitializerExpression or 324currentToken.Parent.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.CollectionInitializerExpression or SyntaxKind.WithInitializerExpression or SyntaxKind.PropertyPatternClause)
Microsoft.CodeAnalysis.CSharp.Features (2)
BraceCompletion\CurlyBraceCompletionService.cs (1)
150SyntaxKind.WithInitializerExpression or
Completion\CompletionProviders\ObjectAndWithInitializerCompletionProvider.cs (1)
132token.Parent.Kind() is not (SyntaxKind.ObjectInitializerExpression or SyntaxKind.WithInitializerExpression))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (18)
Parsing\LambdaAttributeParsingTests.cs (1)
3156N(SyntaxKind.WithInitializerExpression);
Parsing\RecordParsing.cs (17)
1346N(SyntaxKind.WithInitializerExpression); 1428N(SyntaxKind.WithInitializerExpression); 1473N(SyntaxKind.WithInitializerExpression); 1500N(SyntaxKind.WithInitializerExpression); 1536N(SyntaxKind.WithInitializerExpression); 1587N(SyntaxKind.WithInitializerExpression); 1624N(SyntaxKind.WithInitializerExpression); 1665N(SyntaxKind.WithInitializerExpression); 1698N(SyntaxKind.WithInitializerExpression); 1705N(SyntaxKind.WithInitializerExpression); 1739N(SyntaxKind.WithInitializerExpression); 1803N(SyntaxKind.WithInitializerExpression); 1879N(SyntaxKind.WithInitializerExpression); 1900N(SyntaxKind.WithInitializerExpression); 1972N(SyntaxKind.WithInitializerExpression); 2011N(SyntaxKind.WithInitializerExpression); 2076N(SyntaxKind.WithInitializerExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CSharpSyntaxFacts.cs (1)
647if (identifier.Parent.IsParentKind(SyntaxKind.WithInitializerExpression))
NewLineUserSettingFormattingRule.cs (2)
136SyntaxKind.WithInitializerExpression or 324currentToken.Parent.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.CollectionInitializerExpression or SyntaxKind.WithInitializerExpression or SyntaxKind.PropertyPatternClause)
Simplification\CSharpSimplificationService.Expander.cs (1)
872if (parent.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.WithInitializerExpression)