Megosztás a következőn keresztül:


OperationExtensions Class

Definition

public ref class OperationExtensions abstract sealed
public static class OperationExtensions
type OperationExtensions = class
Public Module OperationExtensions
Inheritance
OperationExtensions

Methods

Descendants(IOperation)

Returns all the descendant operations of the given operation in evaluation order.

DescendantsAndSelf(IOperation)

Returns all the descendant operations of the given operation including the given operation in evaluation order.

GetArgumentName(IDynamicIndexerAccessOperation, Int32)

Get an optional argument name for a named argument to the given dynamicOperation at the given index.

GetArgumentName(IDynamicInvocationOperation, Int32)

Get an optional argument name for a named argument to the given dynamicOperation at the given index.

GetArgumentName(IDynamicObjectCreationOperation, Int32)

Get an optional argument name for a named argument to the given dynamicOperation at the given index.

GetArgumentRefKind(IDynamicIndexerAccessOperation, Int32)

Get an optional argument RefKind for an argument at the given index to the given dynamicOperation. Returns a non-null argument RefKind for C#. Always returns null for VB as RefKind cannot be specified for an argument in VB.

GetArgumentRefKind(IDynamicInvocationOperation, Int32)

Get an optional argument RefKind for an argument at the given index to the given dynamicOperation. Returns a non-null argument RefKind for C#. Always returns null for VB as RefKind cannot be specified for an argument in VB.

GetArgumentRefKind(IDynamicObjectCreationOperation, Int32)

Get an optional argument RefKind for an argument at the given index to the given dynamicOperation. Returns a non-null argument RefKind for C#. Always returns null for VB as RefKind cannot be specified for an argument in VB.

GetCorrespondingOperation(IBranchOperation)

Gets either a loop or a switch operation that corresponds to the given branch operation.

GetDeclaredVariables(IVariableDeclarationGroupOperation)

Gets all the declared local variables in the given declarationGroup.

GetDeclaredVariables(IVariableDeclarationOperation)

Gets all the declared local variables in the given declaration.

GetFunctionPointerSignature(IFunctionPointerInvocationOperation)

Helper function to simplify the access to the function pointer signature of an FunctionPointerInvocationOperation

GetVariableInitializer(IVariableDeclaratorOperation)

Gets the variable initializer for the given declarationOperation, checking to see if there is a parent initializer if the single variable initializer is null.

Applies to