10 references to Update
Microsoft.CodeAnalysis.CSharp (10)
Syntax.xml.Main.Generated.cs (1)
2224
=> node.
Update
(VisitToken(node.HashToken), VisitToken(node.LineKeyword), (LineDirectivePositionSyntax?)Visit(node.Start) ?? throw new ArgumentNullException("start"), VisitToken(node.MinusToken), (LineDirectivePositionSyntax?)Visit(node.End) ?? throw new ArgumentNullException("end"), VisitToken(node.CharacterOffset), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (9)
16353
public new LineSpanDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) =>
Update
(hashToken, this.LineKeyword, this.Start, this.MinusToken, this.End, this.CharacterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16355
public new LineSpanDirectiveTriviaSyntax WithLineKeyword(SyntaxToken lineKeyword) =>
Update
(this.HashToken, lineKeyword, this.Start, this.MinusToken, this.End, this.CharacterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16356
public LineSpanDirectiveTriviaSyntax WithStart(LineDirectivePositionSyntax start) =>
Update
(this.HashToken, this.LineKeyword, start, this.MinusToken, this.End, this.CharacterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16357
public LineSpanDirectiveTriviaSyntax WithMinusToken(SyntaxToken minusToken) =>
Update
(this.HashToken, this.LineKeyword, this.Start, minusToken, this.End, this.CharacterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16358
public LineSpanDirectiveTriviaSyntax WithEnd(LineDirectivePositionSyntax end) =>
Update
(this.HashToken, this.LineKeyword, this.Start, this.MinusToken, end, this.CharacterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16359
public LineSpanDirectiveTriviaSyntax WithCharacterOffset(SyntaxToken characterOffset) =>
Update
(this.HashToken, this.LineKeyword, this.Start, this.MinusToken, this.End, characterOffset, this.File, this.EndOfDirectiveToken, this.IsActive);
16361
public new LineSpanDirectiveTriviaSyntax WithFile(SyntaxToken file) =>
Update
(this.HashToken, this.LineKeyword, this.Start, this.MinusToken, this.End, this.CharacterOffset, file, this.EndOfDirectiveToken, this.IsActive);
16363
public new LineSpanDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) =>
Update
(this.HashToken, this.LineKeyword, this.Start, this.MinusToken, this.End, this.CharacterOffset, this.File, endOfDirectiveToken, this.IsActive);
16364
public LineSpanDirectiveTriviaSyntax WithIsActive(bool isActive) =>
Update
(this.HashToken, this.LineKeyword, this.Start, this.MinusToken, this.End, this.CharacterOffset, this.File, this.EndOfDirectiveToken, isActive);