共用方式為


OperationExtensions.DescendantsAndSelf(IOperation) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::IOperation ^> ^ DescendantsAndSelf(Microsoft::CodeAnalysis::IOperation ^ operation);
public static System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.IOperation> DescendantsAndSelf (this Microsoft.CodeAnalysis.IOperation operation);
public static System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.IOperation> DescendantsAndSelf (this Microsoft.CodeAnalysis.IOperation? operation);
static member DescendantsAndSelf : Microsoft.CodeAnalysis.IOperation -> seq<Microsoft.CodeAnalysis.IOperation>
<Extension()>
Public Function DescendantsAndSelf (operation As IOperation) As IEnumerable(Of IOperation)

Parameters

operation
IOperation

Operation whose descendants are to be fetched.

Returns

Applies to