OperationKind 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
所有類型的操作,包括語句和表達式。
public enum class OperationKind
public enum OperationKind
type OperationKind =
Public Enum OperationKind
- 繼承
-
OperationKind
欄位
| 名稱 | 值 | Description |
|---|---|---|
| None | 0 | 表示尚未 IOperation 實作的結構。 |
| Invalid | 1 | 表示一個 IInvalidOperation。 |
| Block | 2 | 表示一個 IBlockOperation。 |
| VariableDeclarationGroup | 3 | |
| Switch | 4 | 表示一個 ISwitchOperation。 |
| Loop | 5 | 表示一個 ILoopOperation。 這進一步由 區分。LoopKind |
| Labeled | 6 | 表示一個 ILabeledOperation。 |
| Branch | 7 | 表示一個 IBranchOperation。 |
| Empty | 8 | 表示一個 IEmptyOperation。 |
| Return | 9 | 表示一個 IReturnOperation。 |
| YieldBreak | 10 | 表示一個 IReturnOperation。 這涉及 yield break 語義。 |
| Lock | 11 | 表示一個 ILockOperation。 |
| Try | 12 | 表示一個 ITryOperation。 |
| Using | 13 | 表示一個 IUsingOperation。 |
| YieldReturn | 14 | 表示一個 IReturnOperation。 這具有產出報酬語意。 |
| ExpressionStatement | 15 | |
| LocalFunction | 16 | 表示一個 ILocalFunctionOperation。 |
| Stop | 17 | 表示一個 IStopOperation。 |
| End | 18 | 表示一個 IEndOperation。 |
| RaiseEvent | 19 | 表示一個 IRaiseEventOperation。 |
| Literal | 20 | 表示一個 ILiteralOperation。 |
| Conversion | 21 | 表示一個 IConversionOperation。 |
| Invocation | 22 | 表示一個 IInvocationOperation。 |
| ArrayElementReference | 23 | |
| LocalReference | 24 | 表示一個 ILocalReferenceOperation。 |
| ParameterReference | 25 | |
| FieldReference | 26 | 表示一個 IFieldReferenceOperation。 |
| MethodReference | 27 | |
| PropertyReference | 28 | |
| EventReference | 30 | 表示一個 IEventReferenceOperation。 |
| Unary | 31 | 表示一個 IUnaryOperation。 |
| UnaryOperator | 31 | 表示一個 IUnaryOperation。 請改用 Unary。 |
| Binary | 32 | 表示一個 IBinaryOperation。 |
| BinaryOperator | 32 | 表示一個 IBinaryOperation。 請改用 Binary。 |
| Conditional | 33 | 表示一個 IConditionalOperation。 |
| Coalesce | 34 | 表示一個 ICoalesceOperation。 |
| AnonymousFunction | 35 | |
| ObjectCreation | 36 | 表示一個 IObjectCreationOperation。 |
| TypeParameterObjectCreation | 37 | |
| ArrayCreation | 38 | 表示一個 IArrayCreationOperation。 |
| InstanceReference | 39 | |
| IsType | 40 | 表示一個 IIsTypeOperation。 |
| Await | 41 | 表示一個 IAwaitOperation。 |
| SimpleAssignment | 42 | |
| CompoundAssignment | 43 | |
| Parenthesized | 44 | 表示一個 IParenthesizedOperation。 |
| EventAssignment | 45 | |
| ConditionalAccess | 46 | |
| ConditionalAccessInstance | 47 | |
| InterpolatedString | 48 | |
| AnonymousObjectCreation | 49 | |
| ObjectOrCollectionInitializer | 50 | |
| MemberInitializer | 51 | |
| CollectionElementInitializer | 52 | |
| NameOf | 53 | 表示一個 INameOfOperation。 |
| Tuple | 54 | 表示一個 ITupleOperation。 |
| DynamicObjectCreation | 55 | |
| DynamicMemberReference | 56 | |
| DynamicInvocation | 57 | |
| DynamicIndexerAccess | 58 | |
| TranslatedQuery | 59 | |
| DelegateCreation | 60 | |
| DefaultValue | 61 | 表示一個 IDefaultValueOperation。 |
| TypeOf | 62 | 表示一個 ITypeOfOperation。 |
| SizeOf | 63 | 表示一個 ISizeOfOperation。 |
| AddressOf | 64 | 表示一個 IAddressOfOperation。 |
| IsPattern | 65 | 表示一個 IIsPatternOperation。 |
| Increment | 66 | 表示一個 IIncrementOrDecrementOperation。 此符號用作遞增運算子 |
| Throw | 67 | 表示一個 IThrowOperation。 |
| Decrement | 68 | 表示一個 IIncrementOrDecrementOperation。 此運算子被用作遞減運算子 |
| DeconstructionAssignment | 69 | |
| DeclarationExpression | 70 | |
| OmittedArgument | 71 | |
| FieldInitializer | 72 | |
| VariableInitializer | 73 | |
| PropertyInitializer | 74 | |
| ParameterInitializer | 75 | |
| ArrayInitializer | 76 | |
| VariableDeclarator | 77 | |
| VariableDeclaration | 78 | |
| Argument | 79 | 表示一個 IArgumentOperation。 |
| CatchClause | 80 | 表示一個 ICatchClauseOperation。 |
| SwitchCase | 81 | 表示一個 ISwitchCaseOperation。 |
| CaseClause | 82 | 表示一個 ICaseClauseOperation。 這進一步由 區分。CaseKind |
| InterpolatedStringText | 83 | |
| Interpolation | 84 | 表示一個 IInterpolationOperation。 |
| ConstantPattern | 85 | |
| DeclarationPattern | 86 | |
| TupleBinary | 87 | 表示一個 ITupleBinaryOperation。 |
| TupleBinaryOperator | 87 | 表示一個 ITupleBinaryOperation。 請改用 TupleBinary。 |
| MethodBody | 88 | 表示一個 IMethodBodyOperation。 |
| MethodBodyOperation | 88 | 表示一個 IMethodBodyOperation。 請改用 MethodBody。 |
| ConstructorBody | 89 | |
| ConstructorBodyOperation | 89 | 表示一個 IConstructorBodyOperation。 請改用 ConstructorBody。 |
| Discard | 90 | 表示一個 IDiscardOperation。 |
| FlowCapture | 91 | 表示一個 IFlowCaptureOperation。 |
| FlowCaptureReference | 92 | |
| IsNull | 93 | 表示一個 IIsNullOperation。 |
| CaughtException | 94 | |
| StaticLocalInitializationSemaphore | 95 | |
| FlowAnonymousFunction | 96 | |
| CoalesceAssignment | 97 | |
| Range | 99 | 表示一個 IRangeOperation。 |
| ReDim | 101 | 表示一個 IReDimOperation。 |
| ReDimClause | 102 | 表示一個 IReDimClauseOperation。 |
| RecursivePattern | 103 | |
| DiscardPattern | 104 | 表示一個 IDiscardPatternOperation。 |
| SwitchExpression | 105 | |
| SwitchExpressionArm | 106 | |
| PropertySubpattern | 107 | |
| UsingDeclaration | 108 | |
| NegatedPattern | 109 | 表示一個 INegatedPatternOperation。 |
| BinaryPattern | 110 | 表示一個 IBinaryPatternOperation。 |
| TypePattern | 111 | 表示一個 ITypePatternOperation。 |
| RelationalPattern | 112 | |
| With | 113 | 表示一個 IWithOperation。 |
| InterpolatedStringHandlerCreation | 114 | |
| InterpolatedStringAddition | 115 | |
| InterpolatedStringAppendLiteral | 116 | 表示一個 IInterpolatedStringAppendOperation。 此附加詞屬於字面成分 |
| InterpolatedStringAppendFormatted | 117 | 表示一個 IInterpolatedStringAppendOperation。 此附加部分屬於插值成分 |
| InterpolatedStringAppendInvalid | 118 | 表示一個 IInterpolatedStringAppendOperation。 此附加詞無效 |
| InterpolatedStringHandlerArgumentPlaceholder | 119 | 表示一個 IInterpolatedStringHandlerArgumentPlaceholderOperation。 |
| FunctionPointerInvocation | 120 | |
| ListPattern | 121 | 表示一個 IListPatternOperation。 |
| SlicePattern | 122 | 表示一個 ISlicePatternOperation。 |
| ImplicitIndexerReference | 123 | |
| Utf8String | 124 | 表示一個 IUtf8StringOperation。 |
| Attribute | 125 | 表示一個 IAttributeOperation。 |
| InlineArrayAccess | 126 | |
| CollectionExpression | 127 | |
| Spread | 128 | 表示一個 ISpreadOperation。 |
| CollectionExpressionElementsPlaceholder | 129 |