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)
8245
if (attributeLists != this.AttributeLists || unsafeKeyword != this.UnsafeKeyword || block != this.
Block
)
8256
public new UnsafeStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.UnsafeKeyword, this.
Block
);
8257
public UnsafeStatementSyntax WithUnsafeKeyword(SyntaxToken unsafeKeyword) => Update(this.AttributeLists, unsafeKeyword, this.
Block
);
8262
public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.
Block
.WithAttributeLists(this.
Block
.AttributeLists.AddRange(items)));
8263
public UnsafeStatementSyntax AddBlockStatements(params StatementSyntax[] items) => WithBlock(this.
Block
.WithStatements(this.
Block
.Statements.AddRange(items)));
Binder\Binder_Statements.cs (1)
183
return BindEmbeddedBlock(node.
Block
, diagnostics);
Binder\LocalBinderFactory.cs (1)
690
Visit(node.
Block
, binder); // This will create the block binder for the block.
Compilation\MemberSemanticModel.cs (1)
2240
node = n.
Block
;
Syntax\LookupPosition.cs (1)
433
return ((UnsafeStatementSyntax)statement).
Block
.CloseBraceToken;
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
716
return TryCreateSpanForStatement(unsafeStatement.
Block
, position);
Snippets\CSharpUnsafeSnippetProvider.cs (2)
32
static s => s.
Block
,
39
static s => s.
Block
,