64 references to FixedStatementSyntax
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Statements.cs (3)
104result = BindFixedStatement((FixedStatementSyntax)node, diagnostics); 186private BoundStatement BindFixedStatement(FixedStatementSyntax node, BindingDiagnosticBag diagnostics) 196private BoundStatement BindFixedStatementParts(FixedStatementSyntax node, BindingDiagnosticBag diagnostics)
Binder\FixedStatementBinder.cs (2)
20private readonly FixedStatementSyntax _syntax; 22public FixedStatementBinder(Binder enclosing, FixedStatementSyntax syntax)
Binder\LocalBinderFactory.cs (1)
694public override void VisitFixedStatement(FixedStatementSyntax node)
Parser\LanguageParser.cs (1)
8800private FixedStatementSyntax ParseFixedStatement(SyntaxList<AttributeListSyntax> attributes)
Symbols\LocalDeclarationKind.cs (1)
33/// User defined local variable declared by <see cref="VariableDeclarationSyntax"/> in <see cref="FixedStatementSyntax"/>.
Syntax\FixedStatementSyntax.cs (2)
11public FixedStatementSyntax Update(SyntaxToken fixedKeyword, SyntaxToken openParenToken, VariableDeclarationSyntax declaration, SyntaxToken closeParenToken, StatementSyntax statement) 20public static FixedStatementSyntax FixedStatement(SyntaxToken fixedKeyword, SyntaxToken openParenToken, VariableDeclarationSyntax declaration, SyntaxToken closeParenToken, StatementSyntax statement)
Syntax\LookupPosition.cs (2)
332return ((FixedStatementSyntax)statement).FixedKeyword; 395return GetFirstExcludedToken(((FixedStatementSyntax)statement).Statement);
Syntax\SyntaxNormalizer.cs (2)
1365if (node is FixedStatementSyntax { Parent: FixedStatementSyntax })
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (3)
118FixedStatementSyntax or 133FixedStatementSyntax n => n.Statement, 712FixedStatementSyntax n => (n.OpenParenToken, n.CloseParenToken),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (2)
299FixedStatementSyntax fixedStatement => fixedStatement.CloseParenToken.Equals(token), 369FixedStatementSyntax or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (2)
331if (node is FixedStatementSyntax fixedStatement && fixedStatement.Statement != null && !(fixedStatement.Statement is BlockSyntax || fixedStatement.Statement is FixedStatementSyntax))
Microsoft.CodeAnalysis.CSharp.Features (13)
EditAndContinue\BreakpointSpans.cs (2)
705var fixedStatement = (FixedStatementSyntax)statement;
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (5)
886private static bool AreEquivalentActiveStatements(FixedStatementSyntax oldNode, FixedStatementSyntax newNode) 1771var fixedStatement = (FixedStatementSyntax)node; 3012ReportUnmatchedStatements<FixedStatementSyntax>(
EditAndContinue\SyntaxComparer.cs (4)
857var leftFixed = (FixedStatementSyntax)leftNode; 858var rightFixed = (FixedStatementSyntax)rightNode;
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
192public override SyntaxNode VisitFixedStatement(FixedStatementSyntax node)
ExtractMethod\CSharpSelectionValidator.Validator.cs (1)
61FixedStatementSyntax or
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
IOperation\IOperationTests_IFixedStatement.cs (5)
87VerifyOperationTreeAndDiagnosticsForTest<FixedStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, 167VerifyOperationTreeAndDiagnosticsForTest<FixedStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, 256VerifyOperationTreeAndDiagnosticsForTest<FixedStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, 314VerifyOperationTreeAndDiagnosticsForTest<FixedStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, 382VerifyOperationTreeAndDiagnosticsForTest<FixedStatementSyntax>(source, expectedOperationTree, expectedDiagnostics,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Generated\Syntax.Test.xml.Generated.cs (5)
10625private static FixedStatementSyntax GenerateFixedStatement() 12570var node = GenerateFixedStatement(); 12578var newNode = node.WithAttributeLists(node.AttributeLists).WithFixedKeyword(node.FixedKeyword).WithOpenParenToken(node.OpenParenToken).WithDeclaration(node.Declaration).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement); 17531var oldNode = GenerateFixedStatement(); 17547var oldNode = GenerateFixedStatement();
Parsing\StatementParsingTests.cs (6)
875var fs = (FixedStatementSyntax)statement; 902var fs = (FixedStatementSyntax)statement; 932var fs = (FixedStatementSyntax)statement;
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (3)
118FixedStatementSyntax or 133FixedStatementSyntax n => n.Statement, 712FixedStatementSyntax n => (n.OpenParenToken, n.CloseParenToken),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (2)
299FixedStatementSyntax fixedStatement => fixedStatement.CloseParenToken.Equals(token), 369FixedStatementSyntax or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (2)
331if (node is FixedStatementSyntax fixedStatement && fixedStatement.Statement != null && !(fixedStatement.Statement is BlockSyntax || fixedStatement.Statement is FixedStatementSyntax))
Microsoft.Interop.SourceGeneration (7)
GeneratedStatements.cs (2)
18public ImmutableArray<FixedStatementSyntax> Pin { get; init; } 35Pin = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.Pin }).Cast<FixedStatementSyntax>().ToImmutableArray(),
Marshalling\MarshallingGenerator.cs (2)
121/// <see cref="FixedStatementSyntax"/> will be ignored. 230/// <see cref="FixedStatementSyntax"/> will be ignored.
SyntaxExtensions.cs (3)
16private static FixedStatementSyntax AddStatementWithoutEmptyStatements(this FixedStatementSyntax fixedStatement, StatementSyntax childStatement) 49public static StatementSyntax NestFixedStatements(this ImmutableArray<FixedStatementSyntax> fixedStatements, StatementSyntax innerStatement)