15 references to Block
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1921=> node.Update(VisitList(node.AttributeLists), VisitToken(node.UnsafeKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"));
_generated\2\Syntax.xml.Syntax.Generated.cs (7)
8245if (attributeLists != this.AttributeLists || unsafeKeyword != this.UnsafeKeyword || block != this.Block) 8256public new UnsafeStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.UnsafeKeyword, this.Block); 8257public UnsafeStatementSyntax WithUnsafeKeyword(SyntaxToken unsafeKeyword) => Update(this.AttributeLists, unsafeKeyword, this.Block); 8262public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.AttributeLists.AddRange(items))); 8263public UnsafeStatementSyntax AddBlockStatements(params StatementSyntax[] items) => WithBlock(this.Block.WithStatements(this.Block.Statements.AddRange(items)));
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)
2240node = n.Block;
Syntax\LookupPosition.cs (1)
433return ((UnsafeStatementSyntax)statement).Block.CloseBraceToken;
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
716return TryCreateSpanForStatement(unsafeStatement.Block, position);
Snippets\CSharpUnsafeSnippetProvider.cs (2)
32static s => s.Block, 39static s => s.Block,