23 references to Statement
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1915
=> 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"));
_generated\2\Syntax.xml.Syntax.Generated.cs (6)
8114
if (attributeLists != this.AttributeLists || fixedKeyword != this.FixedKeyword || openParenToken != this.OpenParenToken || declaration != this.Declaration || closeParenToken != this.CloseParenToken || statement != this.
Statement
)
8125
public new FixedStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.FixedKeyword, this.OpenParenToken, this.Declaration, this.CloseParenToken, this.
Statement
);
8126
public FixedStatementSyntax WithFixedKeyword(SyntaxToken fixedKeyword) => Update(this.AttributeLists, fixedKeyword, this.OpenParenToken, this.Declaration, this.CloseParenToken, this.
Statement
);
8127
public FixedStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.AttributeLists, this.FixedKeyword, openParenToken, this.Declaration, this.CloseParenToken, this.
Statement
);
8128
public FixedStatementSyntax WithDeclaration(VariableDeclarationSyntax declaration) => Update(this.AttributeLists, this.FixedKeyword, this.OpenParenToken, declaration, this.CloseParenToken, this.
Statement
);
8129
public FixedStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.FixedKeyword, this.OpenParenToken, this.Declaration, closeParenToken, this.
Statement
);
Binder\Binder_Statements.cs (1)
207
BoundStatement boundBody = BindPossibleEmbeddedStatement(node.
Statement
, diagnostics);
Binder\LocalBinderFactory.cs (1)
709
VisitPossibleEmbeddedStatement(node.
Statement
, binder);
Syntax\LookupPosition.cs (1)
395
return GetFirstExcludedToken(((FixedStatementSyntax)statement).
Statement
);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
135
FixedStatementSyntax n => n.
Statement
,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
321
node is FixedStatementSyntax {
Statement
: FixedStatementSyntax })
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (2)
864
distance = ComputeWeightedDistance(leftFixed.Declaration, leftFixed.
Statement
, rightFixed.Declaration, rightFixed.
Statement
);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
197
.WithStatement(ReplaceStatementIfNeeded(node.
Statement
));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
135
FixedStatementSyntax n => n.
Statement
,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
321
node is FixedStatementSyntax {
Statement
: FixedStatementSyntax })
Microsoft.Interop.SourceGeneration (4)
SyntaxExtensions.cs (4)
18
if (fixedStatement.
Statement
.IsKind(SyntaxKind.EmptyStatement))
24
if (fixedStatement.
Statement
.IsKind(SyntaxKind.Block))
26
block = (BlockSyntax)fixedStatement.
Statement
;
34
block = SyntaxFactory.Block(fixedStatement.
Statement
);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
135
FixedStatementSyntax n => n.
Statement
,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
321
node is FixedStatementSyntax {
Statement
: FixedStatementSyntax })