16 references to CloseParenToken
Microsoft.CodeAnalysis.CSharp (8)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1924
=> 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"));
_generated\2\Syntax.xml.Syntax.Generated.cs (6)
8318
if (attributeLists != this.AttributeLists || lockKeyword != this.LockKeyword || openParenToken != this.OpenParenToken || expression != this.Expression || closeParenToken != this.
CloseParenToken
|| statement != this.Statement)
8329
public new LockStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.
CloseParenToken
, this.Statement);
8330
public LockStatementSyntax WithLockKeyword(SyntaxToken lockKeyword) => Update(this.AttributeLists, lockKeyword, this.OpenParenToken, this.Expression, this.
CloseParenToken
, this.Statement);
8331
public LockStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.AttributeLists, this.LockKeyword, openParenToken, this.Expression, this.
CloseParenToken
, this.Statement);
8332
public LockStatementSyntax WithExpression(ExpressionSyntax expression) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, expression, this.
CloseParenToken
, this.Statement);
8334
public LockStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.
CloseParenToken
, statement);
Lowering\Instrumentation\DebugInfoInjector.cs (1)
399
TextSpan.FromBounds(lockSyntax.LockKeyword.SpanStart, lockSyntax.
CloseParenToken
.Span.End));
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
715
LockStatementSyntax n => (n.OpenParenToken, n.
CloseParenToken
),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
300
LockStatementSyntax lockStatement => lockStatement.
CloseParenToken
.Equals(token),
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\BreakpointSpans.cs (1)
723
return CreateSpan(lockStatement, lockStatement.
CloseParenToken
);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1771
return TextSpan.FromBounds(lockStatement.LockKeyword.SpanStart, lockStatement.
CloseParenToken
.Span.End);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
715
LockStatementSyntax n => (n.OpenParenToken, n.
CloseParenToken
),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
300
LockStatementSyntax lockStatement => lockStatement.
CloseParenToken
.Equals(token),
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
715
LockStatementSyntax n => (n.OpenParenToken, n.
CloseParenToken
),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
300
LockStatementSyntax lockStatement => lockStatement.
CloseParenToken
.Equals(token),