1 instantiation of WithElementSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
6732internal override SyntaxNode CreateRed(SyntaxNode? parent, int position) => new CSharp.Syntax.WithElementSyntax(this, parent, position);
30 references to WithElementSyntax
Microsoft.CodeAnalysis.CSharp (18)
_generated\0\Syntax.xml.Main.Generated.cs (6)
233public virtual TResult? VisitWithElement(WithElementSyntax node) => this.DefaultVisit(node); 981public virtual void VisitWithElement(WithElementSyntax node) => this.DefaultVisit(node); 1728public override SyntaxNode? VisitWithElement(WithElementSyntax node) 3453public static WithElementSyntax WithElement(SyntaxToken withKeyword, ArgumentListSyntax argumentList) 3457return (WithElementSyntax)Syntax.InternalSyntax.SyntaxFactory.WithElement((Syntax.InternalSyntax.SyntaxToken)withKeyword.Node!, (Syntax.InternalSyntax.ArgumentListSyntax)argumentList.Green).CreateRed(); 3462public static WithElementSyntax WithElement(ArgumentListSyntax? argumentList = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
4303public WithElementSyntax Update(SyntaxToken withKeyword, ArgumentListSyntax argumentList) 4307var newNode = SyntaxFactory.WithElement(withKeyword, argumentList); 4315public WithElementSyntax WithWithKeyword(SyntaxToken withKeyword) => Update(withKeyword, this.ArgumentList); 4316public WithElementSyntax WithArgumentList(ArgumentListSyntax argumentList) => Update(this.WithKeyword, argumentList); 4318public WithElementSyntax AddArgumentListArguments(params ArgumentSyntax[] items) => WithArgumentList(this.ArgumentList.WithArguments(this.ArgumentList.Arguments.AddRange(items)));
Binder\Binder_Expressions.cs (2)
5351if (element is WithElementSyntax withElementSyntax) 5446WithElementSyntax withElementSyntax,
BoundTree\BoundExpression.cs (1)
26or WithElementSyntax
Compilation\CSharpSemanticModel.cs (3)
125or WithElementSyntax 660internal SymbolInfo GetSymbolInfo(WithElementSyntax withElement, CancellationToken cancellationToken = default(CancellationToken)) 5037case WithElementSyntax withElement:
Compilation\MemberSemanticModel.cs (1)
2294!(node is WithElementSyntax) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\WithElementSyntaxExtensions.cs (1)
18this WithElementSyntax? withElement, SemanticModel semanticModel, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.CSharp.Features (9)
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (2)
142WithElementSyntax withElement => GetWithElementParameterLists(semanticModel, withElement, cancellationToken), 249WithElementSyntax withElement,
SignatureHelp\WithElementSignatureHelpProvider.cs (7)
29private async Task<WithElementSyntax?> TryGetWithElementAsync( 35var withElement = await CommonSignatureHelpUtilities.TryGetSyntaxAsync<WithElementSyntax>( 42=> SignatureHelpUtilities.IsTriggerParenOrComma<WithElementSyntax>(token, TriggerCharacters); 44private static bool IsArgumentListToken(WithElementSyntax expression, SyntaxToken token) 54var withElement = await TryGetWithElementAsync( 102var expression = await TryGetWithElementAsync(
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\WithElementSyntaxExtensions.cs (1)
18this WithElementSyntax? withElement, SemanticModel semanticModel, CancellationToken cancellationToken)
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\WithElementSyntaxExtensions.cs (1)
18this WithElementSyntax? withElement, SemanticModel semanticModel, CancellationToken cancellationToken)