Base:
property
IsActive
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.IsActive
7 references to IsActive
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
2191
=> node.Update(VisitToken(node.HashToken), VisitToken(node.ElseKeyword), VisitToken(node.EndOfDirectiveToken), node.
IsActive
, node.BranchTaken);
Syntax.xml.Syntax.Generated.cs (4)
15741
public new ElseDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ElseKeyword, this.EndOfDirectiveToken, this.
IsActive
, this.BranchTaken);
15742
public ElseDirectiveTriviaSyntax WithElseKeyword(SyntaxToken elseKeyword) => Update(this.HashToken, elseKeyword, this.EndOfDirectiveToken, this.
IsActive
, this.BranchTaken);
15744
public new ElseDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.ElseKeyword, endOfDirectiveToken, this.
IsActive
, this.BranchTaken);
15746
public ElseDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.ElseKeyword, this.EndOfDirectiveToken, this.
IsActive
, branchTaken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14022
Assert.Equal(new bool(), node.
IsActive
);
14024
var newNode = node.WithHashToken(node.HashToken).WithElseKeyword(node.ElseKeyword).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.
IsActive
).WithBranchTaken(node.BranchTaken);