24 references to Condition
Microsoft.CodeAnalysis.CSharp (10)
Binder\LocalBinderFactory.cs (1)
580
Visit(node.
Condition
, whileBinder);
Binder\WhileBinder.cs (2)
32
var condition = originalBinder.BindBooleanExpression(node.
Condition
, diagnostics);
56
condition = ((WhileStatementSyntax)_syntax).
Condition
;
Syntax.xml.Main.Generated.cs (1)
1885
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.WhileKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.
Condition
) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (6)
7460
if (attributeLists != this.AttributeLists || whileKeyword != this.WhileKeyword || openParenToken != this.OpenParenToken || condition != this.
Condition
|| closeParenToken != this.CloseParenToken || statement != this.Statement)
7471
public new WhileStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.WhileKeyword, this.OpenParenToken, this.
Condition
, this.CloseParenToken, this.Statement);
7472
public WhileStatementSyntax WithWhileKeyword(SyntaxToken whileKeyword) => Update(this.AttributeLists, whileKeyword, this.OpenParenToken, this.
Condition
, this.CloseParenToken, this.Statement);
7473
public WhileStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.AttributeLists, this.WhileKeyword, openParenToken, this.
Condition
, this.CloseParenToken, this.Statement);
7475
public WhileStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.WhileKeyword, this.OpenParenToken, this.
Condition
, closeParenToken, this.Statement);
7476
public WhileStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.WhileKeyword, this.OpenParenToken, this.
Condition
, this.CloseParenToken, statement);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
174
(nodeParent is WhileStatementSyntax whileStatement && whileStatement.
Condition
== node) ||
Microsoft.CodeAnalysis.CSharp.Features (7)
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
45
=> AddExpressionTerms(node.
Condition
, _expressions);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
834
return AreEquivalentIgnoringLambdaBodies(oldNode.
Condition
, newNode.
Condition
);
EditAndContinue\SyntaxComparer.cs (2)
870
distance = ComputeWeightedDistance(leftWhile.
Condition
, leftWhile.Statement, rightWhile.
Condition
, rightWhile.Statement);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
266
return node.WithCondition(VisitNode(node.
Condition
))
Snippets\CSharpWhileLoopSnippetProvider.cs (1)
31
=> node.
Condition
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
12612
Assert.NotNull(node.
Condition
);
12615
var newNode = node.WithAttributeLists(node.AttributeLists).WithWhileKeyword(node.WhileKeyword).WithOpenParenToken(node.OpenParenToken).WithCondition(node.
Condition
).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement);
Parsing\StatementParsingTests.cs (2)
1482
Assert.NotNull(ws.
Condition
);
1484
Assert.Equal("a", ws.
Condition
.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
174
(nodeParent is WhileStatementSyntax whileStatement && whileStatement.
Condition
== node) ||
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
174
(nodeParent is WhileStatementSyntax whileStatement && whileStatement.
Condition
== node) ||