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)
8318
if (attributeLists != this.AttributeLists || lockKeyword != this.LockKeyword || openParenToken != this.OpenParenToken || expression != this.
Expression
|| closeParenToken != this.CloseParenToken || statement != this.Statement)
8329
public new LockStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.LockKeyword, this.OpenParenToken, this.
Expression
, this.CloseParenToken, this.Statement);
8330
public LockStatementSyntax WithLockKeyword(SyntaxToken lockKeyword) => Update(this.AttributeLists, lockKeyword, this.OpenParenToken, this.
Expression
, this.CloseParenToken, this.Statement);
8331
public LockStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.AttributeLists, this.LockKeyword, openParenToken, this.
Expression
, this.CloseParenToken, this.Statement);
8333
public LockStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.
Expression
, closeParenToken, this.Statement);
8334
public LockStatementSyntax WithStatement(StatementSyntax statement) => Update(this.AttributeLists, this.LockKeyword, this.OpenParenToken, this.
Expression
, this.CloseParenToken, statement);
Binder\ExpressionVariableFinder.cs (1)
200
VisitNodeToBind(node.
Expression
);
Binder\LocalBinderFactory.cs (1)
717
Visit(node.
Expression
, lockBinder);
Binder\LockBinder.cs (1)
30
return _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)
859
return AreEquivalentIgnoringLambdaBodies(oldNode.
Expression
, newNode.
Expression
);
3015
getTypedNodes: static n => OneOrMany.OneOrNone<SyntaxNode>(n.
Expression
),
EditAndContinue\SyntaxComparer.cs (2)
858
distance = ComputeWeightedDistance(leftLock.
Expression
, leftLock.Statement, rightLock.
Expression
, rightLock.Statement);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
185
return node.WithExpression(VisitNode(node.
Expression
))
Snippets\CSharpLockSnippetProvider.cs (1)
31
var 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) ||