Base:
property
Condition
Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalDirectiveTriviaSyntax.Condition
11 references to Condition
Microsoft.CodeAnalysis.CSharp (9)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2197
=> node.Update(VisitToken(node.HashToken), VisitToken(node.IfKeyword), (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)
15665
if (hashToken != this.HashToken || ifKeyword != this.IfKeyword || condition != this.
Condition
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15676
public new IfDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.IfKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15677
public IfDirectiveTriviaSyntax WithIfKeyword(SyntaxToken ifKeyword) => Update(this.HashToken, ifKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15681
public new IfDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.IfKeyword, this.
Condition
, endOfDirectiveToken, this.IsActive, this.BranchTaken, this.ConditionValue);
15682
public IfDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.IfKeyword, this.
Condition
, this.EndOfDirectiveToken, isActive, this.BranchTaken, this.ConditionValue);
15683
public IfDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.IfKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, branchTaken, this.ConditionValue);
15684
public IfDirectiveTriviaSyntax WithConditionValue(bool conditionValue) => Update(this.HashToken, this.IfKeyword, this.
Condition
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken, conditionValue);
Compilation\CSharpSemanticModel.cs (1)
4906
return parentIf.
Condition
.FullSpan.Contains(node.FullSpan);
Microsoft.CodeAnalysis.CSharp.Features (1)
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
48
=> ifNode.
Condition
;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
159
ClassifyPreprocessorExpression(node.
Condition
);