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)
8245if (attributeLists != this.AttributeLists || unsafeKeyword != this.UnsafeKeyword || block != this.Block) 8256public new UnsafeStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.UnsafeKeyword, this.Block); 8258public UnsafeStatementSyntax WithBlock(BlockSyntax block) => Update(this.AttributeLists, this.UnsafeKeyword, block);
Binder\Binder_Statements.cs (2)
176Error(diagnostics, ErrorCode.ERR_IllegalUnsafe, node.UnsafeKeyword); 180CheckFeatureAvailability(node.UnsafeKeyword, MessageID.IDS_FeatureRefUnsafeInIteratorAsync, diagnostics);
Syntax\LookupPosition.cs (1)
357return ((UnsafeStatementSyntax)statement).UnsafeKeyword;
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1833return ((UnsafeStatementSyntax)node).UnsafeKeyword.Span;
Highlighting\KeywordHighlighters\UnsafeStatementHighlighter.cs (1)
28=> highlights.Add(unsafeStatement.UnsafeKeyword.Span);