1 instantiation of WithElementSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
6831internal 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)
237public virtual TResult? VisitWithElement(WithElementSyntax node) => this.DefaultVisit(node); 993public virtual void VisitWithElement(WithElementSyntax node) => this.DefaultVisit(node); 1748public override SyntaxNode? VisitWithElement(WithElementSyntax node) 3493public static WithElementSyntax WithElement(SyntaxToken withKeyword, ArgumentListSyntax argumentList) 3497return (WithElementSyntax)Syntax.InternalSyntax.SyntaxFactory.WithElement((Syntax.InternalSyntax.SyntaxToken)withKeyword.Node!, (Syntax.InternalSyntax.ArgumentListSyntax)argumentList.Green).CreateRed(); 3502public static WithElementSyntax WithElement(ArgumentListSyntax? argumentList = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
4359public WithElementSyntax Update(SyntaxToken withKeyword, ArgumentListSyntax argumentList) 4363var newNode = SyntaxFactory.WithElement(withKeyword, argumentList); 4371public WithElementSyntax WithWithKeyword(SyntaxToken withKeyword) => Update(withKeyword, this.ArgumentList); 4372public WithElementSyntax WithArgumentList(ArgumentListSyntax argumentList) => Update(this.WithKeyword, argumentList); 4374public WithElementSyntax AddArgumentListArguments(params ArgumentSyntax[] items) => WithArgumentList(this.ArgumentList.WithArguments(this.ArgumentList.Arguments.AddRange(items)));
Binder\Binder_Expressions.cs (2)
5366if (element is WithElementSyntax withElementSyntax) 5462WithElementSyntax withElementSyntax,
BoundTree\BoundExpression.cs (1)
26or WithElementSyntax
Compilation\CSharpSemanticModel.cs (3)
125or WithElementSyntax 660internal SymbolInfo GetSymbolInfo(WithElementSyntax withElement, CancellationToken cancellationToken = default(CancellationToken)) 5031case WithElementSyntax withElement:
Compilation\MemberSemanticModel.cs (1)
2305!(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)