DiscardStatementSyntax
csharp
public sealed class DiscardStatementSyntaxThrows the fragment away: nothing is written to any render target or to the depth buffer, and the invocation ends where the keyword is.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
This node is associated with the following syntax kinds:
DiscardStatement
Fields and properties (2)
public override SyntaxList<AttributeListSyntax> AttributeListspublic SyntaxToken Keyword
Methods (6)
public override SyntaxNode? GetSlot(int index)public override void Accept(SyntaxVisitor visitor)public override TResult Accept<TResult>(SyntaxVisitor<TResult> visitor)public DiscardStatementSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken keyword)public DiscardStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists)public DiscardStatementSyntax WithKeyword(SyntaxToken keyword)
Used by (7)
- BinderVixen.Raven
- DiscardStatementSyntaxVixen.Raven
- DiscardTestsVixen.Raven.Tests
- SyntaxFactoryVixen.Raven
- SyntaxRewriterVixen.Raven
- SyntaxVisitorVixen.Raven
- SyntaxVisitorVixen.Raven