21 references to Expression
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1924=> node.Update(VisitList(node.AttributeLists), VisitToken(node.LockKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
_generated\2\Syntax.xml.Syntax.Generated.cs (6)
8318if (attributeLists != this.AttributeLists || lockKeyword != this.LockKeyword || openParenToken != this.OpenParenToken || expression != this.Expression || closeParenToken != this.CloseParenToken || statement != this.Statement) 8329public new LockStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, this.Statement); 8330public LockStatementSyntax WithLockKeyword(SyntaxToken lockKeyword) => Update(this.AttributeLists, lockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, this.Statement); 8331public LockStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.AttributeLists, this.LockKeyword, openParenToken, this.Expression, this.CloseParenToken, this.Statement); 8333public LockStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, closeParenToken, this.Statement); 8334public LockStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.Expression, this.CloseParenToken, statement);
Binder\ExpressionVariableFinder.cs (1)
200VisitNodeToBind(node.Expression);
Binder\LocalBinderFactory.cs (1)
717Visit(node.Expression, lockBinder);
Binder\LockBinder.cs (1)
30return _syntax.Expression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
177(nodeParent is LockStatementSyntax lockStatement && lockStatement.Expression == node) ||
Microsoft.CodeAnalysis.CSharp.Features (8)
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
42=> AddExpressionTerms(node.Expression, _expressions);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
859return AreEquivalentIgnoringLambdaBodies(oldNode.Expression, newNode.Expression); 3015getTypedNodes: static n => OneOrMany.OneOrNone<SyntaxNode>(n.Expression),
EditAndContinue\SyntaxComparer.cs (2)
858distance = ComputeWeightedDistance(leftLock.Expression, leftLock.Statement, rightLock.Expression, rightLock.Statement);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
185return node.WithExpression(VisitNode(node.Expression))
Snippets\CSharpLockSnippetProvider.cs (1)
31var expression = node.Expression;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
177(nodeParent is LockStatementSyntax lockStatement && lockStatement.Expression == node) ||
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
177(nodeParent is LockStatementSyntax lockStatement && lockStatement.Expression == node) ||