1 implementation of ITupleOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6862internal sealed partial class TupleOperation : Operation, ITupleOperation
37 references to ITupleOperation
Microsoft.CodeAnalysis (9)
Generated\OperationKind.Generated.cs (1)
131/// <summary>Indicates an <see cref="ITupleOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11051public override IOperation VisitTuple(ITupleOperation operation, object? argument) 11469public virtual void VisitTuple(ITupleOperation operation) => DefaultVisit(operation); 11608public virtual TResult? VisitTuple(ITupleOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (5)
6675var tuple = (ITupleOperation)value; 6695var tuple = (ITupleOperation)value; 6740public override IOperation VisitTuple(ITupleOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
150if (value is ITupleOperation tupleOperation)
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (6)
95if (TryGetPartsOfTupleAssignmentOperation(statement, out var targetTuple, out var valueTuple)) 118[NotNullWhen(true)] out ITupleOperation? targetTuple, 119[NotNullWhen(true)] out ITupleOperation? valueTuple) 125Target: ITupleOperation targetTupleTemp, 126Value: IConversionOperation { Operand: ITupleOperation valueTupleTemp },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NullableHelpers.cs (1)
148ITupleOperation tupleOperation => tupleOperation.Elements.Any(IsSymbolReferencedByOperation),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (4)
82ITupleOperation tupleLeft, ITupleOperation tupleRight, IParameterSymbol sibling, out int index) 100private static IEnumerable<(ITupleOperation targetTuple, ITupleOperation valueTuple)> TryGetAssignmentExpressions(IBlockOperation blockOperation)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
426case ITupleOperation { NaturalType: null }:
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (4)
82ITupleOperation tupleLeft, ITupleOperation tupleRight, IParameterSymbol sibling, out int index) 100private static IEnumerable<(ITupleOperation targetTuple, ITupleOperation valueTuple)> TryGetAssignmentExpressions(IBlockOperation blockOperation)
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
150if (value is ITupleOperation tupleOperation)
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1868public override void VisitTuple(ITupleOperation operation) 1870LogString(nameof(ITupleOperation));
Compilation\TestOperationVisitor.cs (1)
1274public override void VisitTuple(ITupleOperation operation)
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (6)
95if (TryGetPartsOfTupleAssignmentOperation(statement, out var targetTuple, out var valueTuple)) 118[NotNullWhen(true)] out ITupleOperation? targetTuple, 119[NotNullWhen(true)] out ITupleOperation? valueTuple) 125Target: ITupleOperation targetTupleTemp, 126Value: IConversionOperation { Operand: ITupleOperation valueTupleTemp },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NullableHelpers.cs (1)
148ITupleOperation tupleOperation => tupleOperation.Elements.Any(IsSymbolReferencedByOperation),