Base:
property
Condition
Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalDirectiveTriviaSyntax.Condition
11 references to Condition
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (1)
2188
=> node.Update(VisitToken(node.HashToken), VisitToken(node.ElifKeyword), (ExpressionSyntax?)Visit(node.
Condition
) ?? throw new ArgumentNullException("condition"), VisitToken(node.EndOfDirectiveToken), node.IsActive, node.BranchTaken, node.ConditionValue);
Syntax.xml.Syntax.Generated.cs (7)
15675
if (hashToken != this.HashToken || elifKeyword != this.ElifKeyword || condition != this.
Condition
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15686
public new ElifDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15687
public ElifDirectiveTriviaSyntax WithElifKeyword(SyntaxToken elifKeyword) => Update(this.HashToken, elifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15691
public new ElifDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, endOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15692
public ElifDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, isActive, this.BranchTaken, this.ConditionValue);
15693
public ElifDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, branchTaken, this.ConditionValue);
15694
public ElifDirectiveTriviaSyntax WithConditionValue(bool conditionValue) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, conditionValue);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14005
Assert.NotNull(node.
Condition
);
14010
var newNode = node.WithHashToken(node.HashToken).WithElifKeyword(node.ElifKeyword).WithCondition(node.
Condition
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive).WithBranchTaken(node.BranchTaken).WithConditionValue(node.ConditionValue);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
166
ClassifyPreprocessorExpression(node.
Condition
);