15 references to OpenParenToken
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1903
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.FixedKeyword), VisitToken(node.
OpenParenToken
), (VariableDeclarationSyntax?)Visit(node.Declaration) ?? throw new ArgumentNullException("declaration"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (6)
8068
if (attributeLists != this.AttributeLists || fixedKeyword != this.FixedKeyword || openParenToken != this.
OpenParenToken
|| declaration != this.Declaration || closeParenToken != this.CloseParenToken || statement != this.Statement)
8079
public new FixedStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.FixedKeyword, this.
OpenParenToken
, this.Declaration, this.CloseParenToken, this.Statement);
8080
public FixedStatementSyntax WithFixedKeyword(SyntaxToken fixedKeyword) => Update(this.AttributeLists, fixedKeyword, this.
OpenParenToken
, this.Declaration, this.CloseParenToken, this.Statement);
8082
public FixedStatementSyntax WithDeclaration(VariableDeclarationSyntax declaration) => Update(this.AttributeLists, this.FixedKeyword, this.
OpenParenToken
, declaration, this.CloseParenToken, this.Statement);
8083
public FixedStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.FixedKeyword, this.
OpenParenToken
, this.Declaration, closeParenToken, this.Statement);
8084
public FixedStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.FixedKeyword, this.
OpenParenToken
, this.Declaration, this.CloseParenToken, statement);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
714
FixedStatementSyntax n => (n.
OpenParenToken
, n.CloseParenToken),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
12717
Assert.Equal(SyntaxKind.OpenParenToken, node.
OpenParenToken
.Kind());
12721
var newNode = node.WithAttributeLists(node.AttributeLists).WithFixedKeyword(node.FixedKeyword).WithOpenParenToken(node.
OpenParenToken
).WithDeclaration(node.Declaration).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement);
Parsing\StatementParsingTests.cs (3)
878
Assert.NotEqual(default, fs.
OpenParenToken
);
905
Assert.NotEqual(default, fs.
OpenParenToken
);
935
Assert.NotEqual(default, fs.
OpenParenToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
714
FixedStatementSyntax n => (n.
OpenParenToken
, n.CloseParenToken),
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
714
FixedStatementSyntax n => (n.
OpenParenToken
, n.CloseParenToken),