1 implementation of IDeclarationExpressionOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7428internal sealed partial class DeclarationExpressionOperation : Operation, IDeclarationExpressionOperation
14 references to IDeclarationExpressionOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
156 } else if (operation.Parent is IDeclarationExpressionOperation declarationExpression) {
Microsoft.CodeAnalysis (6)
Generated\OperationKind.Generated.cs (1)
163/// <summary>Indicates an <see cref="IDeclarationExpressionOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11111public override IOperation VisitDeclarationExpression(IDeclarationExpressionOperation operation, object? argument) 11484public virtual void VisitDeclarationExpression(IDeclarationExpressionOperation operation) => DefaultVisit(operation); 11623public virtual TResult? VisitDeclarationExpression(IDeclarationExpressionOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
2080IDeclarationExpressionOperation declaration when i < lastIndexForSpilling => declaration.Expression, 6711public override IOperation VisitDeclarationExpression(IDeclarationExpressionOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
105if (operation is IDeclarationExpressionOperation { Expression: ILocalReferenceOperation localReference })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
204else if (operation.Parent is IDeclarationExpressionOperation declarationExpression)
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
105if (operation is IDeclarationExpressionOperation { Expression: ILocalReferenceOperation localReference })
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1681public override void VisitDeclarationExpression(IDeclarationExpressionOperation operation) 1683LogString(nameof(IDeclarationExpressionOperation));
Compilation\TestOperationVisitor.cs (1)
1599public override void VisitDeclarationExpression(IDeclarationExpressionOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
204else if (operation.Parent is IDeclarationExpressionOperation declarationExpression)