10 references to Update
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1975
=> node.
Update
(VisitToken(node.GlobalKeyword), VisitToken(node.UsingKeyword), VisitToken(node.StaticKeyword), VisitToken(node.UnsafeKeyword), (NameEqualsSyntax?)Visit(node.Alias), (TypeSyntax?)Visit(node.NamespaceOrType) ?? throw new ArgumentNullException("namespaceOrType"), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (7)
9498
public UsingDirectiveSyntax WithGlobalKeyword(SyntaxToken globalKeyword) =>
Update
(globalKeyword, this.UsingKeyword, this.StaticKeyword, this.UnsafeKeyword, this.Alias, this.NamespaceOrType, this.SemicolonToken);
9499
public UsingDirectiveSyntax WithUsingKeyword(SyntaxToken usingKeyword) =>
Update
(this.GlobalKeyword, usingKeyword, this.StaticKeyword, this.UnsafeKeyword, this.Alias, this.NamespaceOrType, this.SemicolonToken);
9500
public UsingDirectiveSyntax WithStaticKeyword(SyntaxToken staticKeyword) =>
Update
(this.GlobalKeyword, this.UsingKeyword, staticKeyword, this.UnsafeKeyword, this.Alias, this.NamespaceOrType, this.SemicolonToken);
9501
public UsingDirectiveSyntax WithUnsafeKeyword(SyntaxToken unsafeKeyword) =>
Update
(this.GlobalKeyword, this.UsingKeyword, this.StaticKeyword, unsafeKeyword, this.Alias, this.NamespaceOrType, this.SemicolonToken);
9502
public UsingDirectiveSyntax WithAlias(NameEqualsSyntax? alias) =>
Update
(this.GlobalKeyword, this.UsingKeyword, this.StaticKeyword, this.UnsafeKeyword, alias, this.NamespaceOrType, this.SemicolonToken);
9503
public UsingDirectiveSyntax WithNamespaceOrType(TypeSyntax namespaceOrType) =>
Update
(this.GlobalKeyword, this.UsingKeyword, this.StaticKeyword, this.UnsafeKeyword, this.Alias, namespaceOrType, this.SemicolonToken);
9504
public UsingDirectiveSyntax WithSemicolonToken(SyntaxToken semicolonToken) =>
Update
(this.GlobalKeyword, this.UsingKeyword, this.StaticKeyword, this.UnsafeKeyword, this.Alias, this.NamespaceOrType, semicolonToken);
Syntax\UsingDirectiveSyntax.cs (2)
22
=> this.
Update
(this.GlobalKeyword, usingKeyword, staticKeyword, this.UnsafeKeyword, alias, namespaceOrType: name, semicolonToken);
25
=> this.
Update
(globalKeyword, usingKeyword, staticKeyword, this.UnsafeKeyword, alias, namespaceOrType: name, semicolonToken);