Base:
property
Condition
Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalDirectiveTriviaSyntax.Condition
10 references to Condition
Microsoft.CodeAnalysis.CSharp (9)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2200
=> 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);
_generated\2\Syntax.xml.Syntax.Generated.cs (7)
15725
if (hashToken != this.HashToken || elifKeyword != this.ElifKeyword || condition != this.
Condition
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15736
public new ElifDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15737
public ElifDirectiveTriviaSyntax WithElifKeyword(SyntaxToken elifKeyword) => Update(this.HashToken, elifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15741
public new ElifDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, endOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15742
public ElifDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, isActive, this.BranchTaken, this.ConditionValue);
15743
public ElifDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, branchTaken, this.ConditionValue);
15744
public ElifDirectiveTriviaSyntax WithConditionValue(bool conditionValue) => Update(this.HashToken, this.ElifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, conditionValue);
Compilation\CSharpSemanticModel.cs (1)
4911
return parentElif.
Condition
.FullSpan.Contains(node.FullSpan);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
167
ClassifyPreprocessorExpression(node.
Condition
);