OperationKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
All of the kinds of operations, including statements and expressions.
public enum class OperationKind
public enum OperationKind
type OperationKind =
Public Enum OperationKind
- Inheritance
-
OperationKind
Fields
AddressOf | 64 | Indicates an IAddressOfOperation. |
AnonymousFunction | 35 | Indicates an IAnonymousFunctionOperation. |
AnonymousObjectCreation | 49 | Indicates an IAnonymousObjectCreationOperation. |
Argument | 79 | Indicates an IArgumentOperation. |
ArrayCreation | 38 | Indicates an IArrayCreationOperation. |
ArrayElementReference | 23 | Indicates an IArrayElementReferenceOperation. |
ArrayInitializer | 76 | Indicates an IArrayInitializerOperation. |
Attribute | 125 | Indicates an IAttributeOperation. |
Await | 41 | Indicates an IAwaitOperation. |
Binary | 32 | Indicates an IBinaryOperation. |
BinaryOperator | 32 | Indicates an IBinaryOperation. Use Binary instead. |
BinaryPattern | 110 | Indicates an IBinaryPatternOperation. |
Block | 2 | Indicates an IBlockOperation. |
Branch | 7 | Indicates an IBranchOperation. |
CaseClause | 82 | Indicates an ICaseClauseOperation. This is further differentiated by CaseKind. |
CatchClause | 80 | Indicates an ICatchClauseOperation. |
CaughtException | 94 | Indicates an ICaughtExceptionOperation. |
Coalesce | 34 | Indicates an ICoalesceOperation. |
CoalesceAssignment | 97 | Indicates an ICoalesceAssignmentOperation. |
CollectionElementInitializer | 52 | Indicates an ICollectionElementInitializerOperation. |
CollectionExpression | 127 | Indicates an ICollectionExpressionOperation. |
CompoundAssignment | 43 | Indicates an ICompoundAssignmentOperation. |
Conditional | 33 | Indicates an IConditionalOperation. |
ConditionalAccess | 46 | Indicates an IConditionalAccessOperation. |
ConditionalAccessInstance | 47 | Indicates an IConditionalAccessInstanceOperation. |
ConstantPattern | 85 | Indicates an IConstantPatternOperation. |
ConstructorBody | 89 | Indicates an IConstructorBodyOperation. |
ConstructorBodyOperation | 89 | Indicates an IConstructorBodyOperation. Use ConstructorBody instead. |
Conversion | 21 | Indicates an IConversionOperation. |
DeclarationExpression | 70 | Indicates an IDeclarationExpressionOperation. |
DeclarationPattern | 86 | Indicates an IDeclarationPatternOperation. |
DeconstructionAssignment | 69 | Indicates an IDeconstructionAssignmentOperation. |
Decrement | 68 | Indicates an IIncrementOrDecrementOperation. This is used as a decrement operator |
DefaultValue | 61 | Indicates an IDefaultValueOperation. |
DelegateCreation | 60 | Indicates an IDelegateCreationOperation. |
Discard | 90 | Indicates an IDiscardOperation. |
DiscardPattern | 104 | Indicates an IDiscardPatternOperation. |
DynamicIndexerAccess | 58 | Indicates an IDynamicIndexerAccessOperation. |
DynamicInvocation | 57 | Indicates an IDynamicInvocationOperation. |
DynamicMemberReference | 56 | Indicates an IDynamicMemberReferenceOperation. |
DynamicObjectCreation | 55 | Indicates an IDynamicObjectCreationOperation. |
Empty | 8 | Indicates an IEmptyOperation. |
End | 18 | Indicates an IEndOperation. |
EventAssignment | 45 | Indicates an IEventAssignmentOperation. |
EventReference | 30 | Indicates an IEventReferenceOperation. |
ExpressionStatement | 15 | Indicates an IExpressionStatementOperation. |
FieldInitializer | 72 | Indicates an IFieldInitializerOperation. |
FieldReference | 26 | Indicates an IFieldReferenceOperation. |
FlowAnonymousFunction | 96 | Indicates an IFlowAnonymousFunctionOperation. |
FlowCapture | 91 | Indicates an IFlowCaptureOperation. |
FlowCaptureReference | 92 | Indicates an IFlowCaptureReferenceOperation. |
FunctionPointerInvocation | 120 | Indicates an IFunctionPointerInvocationOperation. |
ImplicitIndexerReference | 123 | Indicates an IImplicitIndexerReferenceOperation. |
Increment | 66 | Indicates an IIncrementOrDecrementOperation. This is used as an increment operator |
InlineArrayAccess | 126 | Indicates an IInlineArrayAccessOperation. |
InstanceReference | 39 | Indicates an IInstanceReferenceOperation. |
InterpolatedString | 48 | Indicates an IInterpolatedStringOperation. |
InterpolatedStringAddition | 115 | Indicates an IInterpolatedStringAdditionOperation. |
InterpolatedStringAppendFormatted | 117 | Indicates an IInterpolatedStringAppendOperation. This append is of an interpolation component |
InterpolatedStringAppendInvalid | 118 | Indicates an IInterpolatedStringAppendOperation. This append is invalid |
InterpolatedStringAppendLiteral | 116 | Indicates an IInterpolatedStringAppendOperation. This append is of a literal component |
InterpolatedStringHandlerArgumentPlaceholder | 119 | Indicates an IInterpolatedStringHandlerArgumentPlaceholderOperation. |
InterpolatedStringHandlerCreation | 114 | Indicates an IInterpolatedStringHandlerCreationOperation. |
InterpolatedStringText | 83 | Indicates an IInterpolatedStringTextOperation. |
Interpolation | 84 | Indicates an IInterpolationOperation. |
Invalid | 1 | Indicates an IInvalidOperation. |
Invocation | 22 | Indicates an IInvocationOperation. |
IsNull | 93 | Indicates an IIsNullOperation. |
IsPattern | 65 | Indicates an IIsPatternOperation. |
IsType | 40 | Indicates an IIsTypeOperation. |
Labeled | 6 | Indicates an ILabeledOperation. |
ListPattern | 121 | Indicates an IListPatternOperation. |
Literal | 20 | Indicates an ILiteralOperation. |
LocalFunction | 16 | Indicates an ILocalFunctionOperation. |
LocalReference | 24 | Indicates an ILocalReferenceOperation. |
Lock | 11 | Indicates an ILockOperation. |
Loop | 5 | Indicates an ILoopOperation. This is further differentiated by LoopKind. |
MemberInitializer | 51 | Indicates an IMemberInitializerOperation. |
MethodBody | 88 | Indicates an IMethodBodyOperation. |
MethodBodyOperation | 88 | Indicates an IMethodBodyOperation. Use MethodBody instead. |
MethodReference | 27 | Indicates an IMethodReferenceOperation. |
NameOf | 53 | Indicates an INameOfOperation. |
NegatedPattern | 109 | Indicates an INegatedPatternOperation. |
None | 0 | Indicates an IOperation for a construct that is not implemented yet. |
ObjectCreation | 36 | Indicates an IObjectCreationOperation. |
ObjectOrCollectionInitializer | 50 | Indicates an IObjectOrCollectionInitializerOperation. |
OmittedArgument | 71 | Indicates an IOmittedArgumentOperation. |
ParameterInitializer | 75 | Indicates an IParameterInitializerOperation. |
ParameterReference | 25 | Indicates an IParameterReferenceOperation. |
Parenthesized | 44 | Indicates an IParenthesizedOperation. |
PropertyInitializer | 74 | Indicates an IPropertyInitializerOperation. |
PropertyReference | 28 | Indicates an IPropertyReferenceOperation. |
PropertySubpattern | 107 | Indicates an IPropertySubpatternOperation. |
RaiseEvent | 19 | Indicates an IRaiseEventOperation. |
Range | 99 | Indicates an IRangeOperation. |
RecursivePattern | 103 | Indicates an IRecursivePatternOperation. |
ReDim | 101 | Indicates an IReDimOperation. |
ReDimClause | 102 | Indicates an IReDimClauseOperation. |
RelationalPattern | 112 | Indicates an IRelationalPatternOperation. |
Return | 9 | Indicates an IReturnOperation. |
SimpleAssignment | 42 | Indicates an ISimpleAssignmentOperation. |
SizeOf | 63 | Indicates an ISizeOfOperation. |
SlicePattern | 122 | Indicates an ISlicePatternOperation. |
Spread | 128 | Indicates an ISpreadOperation. |
StaticLocalInitializationSemaphore | 95 | Indicates an IStaticLocalInitializationSemaphoreOperation. |
Stop | 17 | Indicates an IStopOperation. |
Switch | 4 | Indicates an ISwitchOperation. |
SwitchCase | 81 | Indicates an ISwitchCaseOperation. |
SwitchExpression | 105 | Indicates an ISwitchExpressionOperation. |
SwitchExpressionArm | 106 | Indicates an ISwitchExpressionArmOperation. |
Throw | 67 | Indicates an IThrowOperation. |
TranslatedQuery | 59 | Indicates an ITranslatedQueryOperation. |
Try | 12 | Indicates an ITryOperation. |
Tuple | 54 | Indicates an ITupleOperation. |
TupleBinary | 87 | Indicates an ITupleBinaryOperation. |
TupleBinaryOperator | 87 | Indicates an ITupleBinaryOperation. Use TupleBinary instead. |
TypeOf | 62 | Indicates an ITypeOfOperation. |
TypeParameterObjectCreation | 37 | Indicates an ITypeParameterObjectCreationOperation. |
TypePattern | 111 | Indicates an ITypePatternOperation. |
Unary | 31 | Indicates an IUnaryOperation. |
UnaryOperator | 31 | Indicates an IUnaryOperation. Use Unary instead. |
Using | 13 | Indicates an IUsingOperation. |
UsingDeclaration | 108 | Indicates an IUsingDeclarationOperation. |
Utf8String | 124 | Indicates an IUtf8StringOperation. |
VariableDeclaration | 78 | Indicates an IVariableDeclarationOperation. |
VariableDeclarationGroup | 3 | Indicates an IVariableDeclarationGroupOperation. |
VariableDeclarator | 77 | Indicates an IVariableDeclaratorOperation. |
VariableInitializer | 73 | Indicates an IVariableInitializerOperation. |
With | 113 | Indicates an IWithOperation. |
YieldBreak | 10 | Indicates an IReturnOperation. This has yield break semantics. |
YieldReturn | 14 | Indicates an IReturnOperation. This has yield return semantics. |