6 references to Update
Microsoft.CodeAnalysis.CSharp (6)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2224
=> node.
Update
(VisitToken(node.HashToken), VisitToken(node.DefineKeyword), VisitToken(node.Name), VisitToken(node.EndOfDirectiveToken), node.IsActive);
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
16137
public new DefineDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) =>
Update
(hashToken, this.DefineKeyword, this.Name, this.EndOfDirectiveToken, this.IsActive);
16138
public DefineDirectiveTriviaSyntax WithDefineKeyword(SyntaxToken defineKeyword) =>
Update
(this.HashToken, defineKeyword, this.Name, this.EndOfDirectiveToken, this.IsActive);
16139
public DefineDirectiveTriviaSyntax WithName(SyntaxToken name) =>
Update
(this.HashToken, this.DefineKeyword, name, this.EndOfDirectiveToken, this.IsActive);
16141
public new DefineDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) =>
Update
(this.HashToken, this.DefineKeyword, this.Name, endOfDirectiveToken, this.IsActive);
16142
public DefineDirectiveTriviaSyntax WithIsActive(bool isActive) =>
Update
(this.HashToken, this.DefineKeyword, this.Name, this.EndOfDirectiveToken, isActive);