Base:
property
IsActive
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.IsActive
8 references to IsActive
Microsoft.CodeAnalysis.CSharp (6)
Compilation\SyntaxAndDeclarationManager.cs (1)
211
Debug.Assert(!directive.
IsActive
|| tree.GetDiagnostics().Any(d => d.Severity == DiagnosticSeverity.Error));
Syntax.xml.Main.Generated.cs (1)
2236
=> node.Update(VisitToken(node.HashToken), VisitToken(node.LoadKeyword), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.
IsActive
);
Syntax.xml.Syntax.Generated.cs (4)
16592
public new LoadDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.LoadKeyword, this.File, this.EndOfDirectiveToken, this.
IsActive
);
16593
public LoadDirectiveTriviaSyntax WithLoadKeyword(SyntaxToken loadKeyword) => Update(this.HashToken, loadKeyword, this.File, this.EndOfDirectiveToken, this.
IsActive
);
16594
public LoadDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.LoadKeyword, file, this.EndOfDirectiveToken, this.
IsActive
);
16596
public new LoadDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.LoadKeyword, this.File, endOfDirectiveToken, this.
IsActive
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14237
Assert.Equal(new bool(), node.
IsActive
);
14238
var newNode = node.WithHashToken(node.HashToken).WithLoadKeyword(node.LoadKeyword).WithFile(node.File).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.
IsActive
);