1 implementation of Elements
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6871public ImmutableArray<IOperation> Elements { get; }
25 references to Elements
Microsoft.CodeAnalysis (3)
Operations\ControlFlowGraphBuilder.cs (3)
6677foreach (IOperation element in tuple.Elements) 6696var numElements = tuple.Elements.Length; 6700elementBuilder.Add(PopTargetAndWrapTupleIfNecessary(tuple.Elements[i]));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
152foreach (var element in tupleOperation.Elements)
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (5)
97for (int i = 0, n = targetTuple.Elements.Length; i < n; i++) 99var target = targetTuple.Elements[i]; 100var value = valueTuple.Elements[i]; 129targetTupleTemp.Elements.Length == valueTupleTemp.Elements.Length)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NullableHelpers.cs (1)
148ITupleOperation tupleOperation => tupleOperation.Elements.Any(IsSymbolReferencedByOperation),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (3)
84for (int i = 0, n = tupleLeft.Elements.Length; i < n; i++) 88if (tupleRight.Elements[i] is IParameterReferenceOperation parameterReference && sibling.Equals(parameterReference.Parameter) && 89IsFieldOrPropertyReference(tupleLeft.Elements[i], sibling.ContainingType, out _))
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (3)
84for (int i = 0, n = tupleLeft.Elements.Length; i < n; i++) 88if (tupleRight.Elements[i] is IParameterReferenceOperation parameterReference && sibling.Equals(parameterReference.Parameter) && 89IsFieldOrPropertyReference(tupleLeft.Elements[i], sibling.ContainingType, out _))
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
152foreach (var element in tupleOperation.Elements)
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1877VisitArray(operation.Elements, "Elements", logElementCount: true);
Compilation\TestOperationVisitor.cs (1)
1278AssertEx.Equal(operation.Elements, operation.ChildOperations);
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (5)
97for (int i = 0, n = targetTuple.Elements.Length; i < n; i++) 99var target = targetTuple.Elements[i]; 100var value = valueTuple.Elements[i]; 129targetTupleTemp.Elements.Length == valueTupleTemp.Elements.Length)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NullableHelpers.cs (1)
148ITupleOperation tupleOperation => tupleOperation.Elements.Any(IsSymbolReferencedByOperation),