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