2 implementations of ISpreadOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10727internal sealed partial class SpreadOperation : Operation, ISpreadOperation
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
27074class MySpreadOperation : ISpreadOperation
22 references to ISpreadOperation
Microsoft.CodeAnalysis (7)
Generated\OperationKind.Generated.cs (1)
286/// <summary>Indicates an <see cref="ISpreadOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11401public override IOperation VisitSpread(ISpreadOperation operation, object? argument) 11547public virtual void VisitSpread(ISpreadOperation operation) => DefaultVisit(operation); 11686public virtual TResult? VisitSpread(ISpreadOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (3)
6549return element is ISpreadOperation spread ? 6555return elements[index] is ISpreadOperation spread ? 6575public override IOperation? VisitSpread(ISpreadOperation operation, int? argument)
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (2)
856/// Gets the underlying element <see cref="Conversion"/> information from this <see cref="ISpreadOperation"/>. 861public static Conversion GetElementConversion(this ISpreadOperation spread)
Operations\CSharpOperationFactory.cs (1)
1265private ISpreadOperation CreateBoundCollectionExpressionSpreadElement(BoundCollectionExpression expr, BoundCollectionExpressionSpreadElement element)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\CollectionExpressionTests.cs (9)
27032var spread = (ISpreadOperation)operation; 27055var spread = (ISpreadOperation)operation; 27063ISpreadOperation spread = null; 27070ISpreadOperation spread = new MySpreadOperation(); 27076IOperation ISpreadOperation.Operand => throw null; 27078ITypeSymbol ISpreadOperation.ElementType => throw null; 27080CommonConversion ISpreadOperation.ElementConversion => throw null;
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1639public override void VisitSpread(ISpreadOperation operation) 1641LogString(nameof(ISpreadOperation));
Compilation\TestOperationVisitor.cs (1)
493public override void VisitSpread(ISpreadOperation operation)