8 references to Update
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (1)
1912
=> node.
Update
(VisitList(node.AttributeLists), VisitToken(node.LockKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (6)
8283
public new LockStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) =>
Update
(attributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, this.Statement);
8284
public LockStatementSyntax WithLockKeyword(SyntaxToken lockKeyword) =>
Update
(this.AttributeLists, lockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, this.Statement);
8285
public LockStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) =>
Update
(this.AttributeLists, this.LockKeyword, openParenToken, this.Expression, this.CloseParenToken, this.Statement);
8286
public LockStatementSyntax WithExpression(ExpressionSyntax expression) =>
Update
(this.AttributeLists, this.LockKeyword, this.OpenParenToken, expression, this.CloseParenToken, this.Statement);
8287
public LockStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) =>
Update
(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, closeParenToken, this.Statement);
8288
public LockStatementSyntax WithStatement(StatementSyntax statement) =>
Update
(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, statement);
Syntax\LockStatementSyntax.cs (1)
12
=>
Update
(AttributeLists, lockKeyword, openParenToken, expression, closeParenToken, statement);