13 references to OpenParenToken
Microsoft.CodeAnalysis.CSharp (7)
_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);
8332
public LockStatementSyntax WithExpression(ExpressionSyntax expression) => Update(this.AttributeLists, this.LockKeyword, this.
OpenParenToken
, expression, this.CloseParenToken, this.Statement);
8333
public LockStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.LockKeyword, this.
OpenParenToken
, this.Expression, closeParenToken, this.Statement);
8334
public LockStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.LockKeyword, this.
OpenParenToken
, this.Expression, this.CloseParenToken, statement);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
715
LockStatementSyntax n => (n.
OpenParenToken
, n.CloseParenToken),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1676
if (previousToken.HasValue && previousToken.Value != lockStatement.
OpenParenToken
)
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\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1676
if (previousToken.HasValue && previousToken.Value != lockStatement.
OpenParenToken
)
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\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1676
if (previousToken.HasValue && previousToken.Value != lockStatement.
OpenParenToken
)