16 references to Block
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Statements.cs (1)
183return BindEmbeddedBlock(node.Block, diagnostics);
Binder\LocalBinderFactory.cs (1)
690Visit(node.Block, binder); // This will create the block binder for the block.
Compilation\MemberSemanticModel.cs (1)
2203node = n.Block;
Syntax.xml.Main.Generated.cs (1)
1909=> node.Update(VisitList(node.AttributeLists), VisitToken(node.UnsafeKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"));
Syntax.xml.Syntax.Generated.cs (7)
8199if (attributeLists != this.AttributeLists || unsafeKeyword != this.UnsafeKeyword || block != this.Block) 8210public new UnsafeStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.UnsafeKeyword, this.Block); 8211public UnsafeStatementSyntax WithUnsafeKeyword(SyntaxToken unsafeKeyword) => Update(this.AttributeLists, unsafeKeyword, this.Block); 8216public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.AttributeLists.AddRange(items))); 8217public UnsafeStatementSyntax AddBlockStatements(params StatementSyntax[] items) => WithBlock(this.Block.WithStatements(this.Block.Statements.AddRange(items)));
Syntax\LookupPosition.cs (1)
433return ((UnsafeStatementSyntax)statement).Block.CloseBraceToken;
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\BreakpointSpans.cs (1)
716return TryCreateSpanForStatement(unsafeStatement.Block, position);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.cs (2)
12744Assert.NotNull(node.Block); 12745var newNode = node.WithAttributeLists(node.AttributeLists).WithUnsafeKeyword(node.UnsafeKeyword).WithBlock(node.Block);
Parsing\StatementParsingTests.cs (1)
1464Assert.NotNull(us.Block);