9 references to UnsafeKeyword
Microsoft.CodeAnalysis.CSharp (7)
_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 (3)
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);
8258
public UnsafeStatementSyntax WithBlock(BlockSyntax block) => Update(this.AttributeLists, this.
UnsafeKeyword
, block);
Binder\Binder_Statements.cs (2)
176
Error(diagnostics, ErrorCode.ERR_IllegalUnsafe, node.
UnsafeKeyword
);
180
CheckFeatureAvailability(node.
UnsafeKeyword
, MessageID.IDS_FeatureRefUnsafeInIteratorAsync, diagnostics);
Syntax\LookupPosition.cs (1)
357
return ((UnsafeStatementSyntax)statement).
UnsafeKeyword
;
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1833
return ((UnsafeStatementSyntax)node).
UnsafeKeyword
.Span;
Highlighting\KeywordHighlighters\UnsafeStatementHighlighter.cs (1)
28
=> highlights.Add(unsafeStatement.
UnsafeKeyword
.Span);