OperationKind Enum
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
所有类型的操作,包括 语句和表达式。
public enum class OperationKind
public enum OperationKind
type OperationKind =
Public Enum OperationKind
- 继承
-
OperationKind
字段
| 名称 | 值 | 说明 |
|---|---|---|
| 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。 这具有 yield break 语义。 |
| YieldReturn | 14 | 指示 IReturnOperation。 这具有 yield 返回语义。 |