OperationExtensions Class
internal static class OperationExtensionsNo documentation is available.
Methods
| Name | Description |
|---|---|
| Ancestors(IOperation) | |
| GetContainingMethod(IOperation, CancellationToken) | |
| InParameterOrder(ImmutableArray<IArgumentOperation>) | Returns the arguments sorted by the ordinal of their parameter. IInvocationOperation.Arguments keeps the source order, so named arguments such as string.Equals(comparisonType: StringComparison.Ordinal, a: x, b: y) are not in the order of the parameters. The arguments are returned unchanged when they are already in order, or when one of them has no parameter. |
| IsInNameofOperation(IOperation) | |
| UnwrapConversions(IOperation, bool) | |
| UnwrapImplicitConversions(IOperation, bool) | |
| UnwrapLabels(IOperation, bool) |
Ancestors(IOperation)
public static IEnumerable<IOperation> Ancestors(this IOperation operation)No documentation is available.
GetContainingMethod(IOperation, CancellationToken)
public static IMethodSymbol? GetContainingMethod(this IOperation operation, CancellationToken cancellationToken)No documentation is available.
InParameterOrder(ImmutableArray<IArgumentOperation>)
Returns the arguments sorted by the ordinal of their parameter. IInvocationOperation.Arguments keeps the source order, so named arguments such as string.Equals(comparisonType: StringComparison.Ordinal, a: x, b: y) are not in the order of the parameters. The arguments are returned unchanged when they are already in order, or when one of them has no parameter.
public static ImmutableArray<IArgumentOperation> InParameterOrder(this ImmutableArray<IArgumentOperation> arguments)IsInNameofOperation(IOperation)
public static bool IsInNameofOperation(this IOperation operation)No documentation is available.
UnwrapConversions(IOperation, bool)
public static IOperation UnwrapConversions(this IOperation operation, bool recursive = true)No documentation is available.
UnwrapImplicitConversions(IOperation, bool)
public static IOperation UnwrapImplicitConversions(this IOperation operation, bool recursive = true)No documentation is available.
UnwrapLabels(IOperation, bool)
public static IOperation? UnwrapLabels(this IOperation operation, bool recursive = true)No documentation is available.