Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SignatureTypeEncoder Struct
Definition
- Namespace:
- System.Reflection.Metadata.Ecma335
- Assembly:
- System.Reflection.Metadata.dll
- Package:
- System.Reflection.Metadata v11.0.0-preview.5.26302.115
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
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.
Encodes a type in a signature.
public value class SignatureTypeEncoder
public readonly struct SignatureTypeEncoder
public struct SignatureTypeEncoder
type SignatureTypeEncoder = struct
Public Structure SignatureTypeEncoder
- Inheritance
Constructors
| Name | Description |
|---|---|
| SignatureTypeEncoder(BlobBuilder) |
Creates a SignatureTypeEncoder. |
Properties
| Name | Description |
|---|---|
| Builder |
The BlobBuilder where the signature is written to. |
Methods
| Name | Description |
|---|---|
| Array(Action<SignatureTypeEncoder>, Action<ArrayShapeEncoder>) |
Encodes an array type. |
| Array(SignatureTypeEncoder, ArrayShapeEncoder) |
Encodes an array type. Returns a pair of encoders that must be used in the order they appear in the parameter list. |
| Boolean() |
Encodes Boolean. |
| Byte() |
Encodes Byte. |
| Char() |
Encodes Char. |
| CustomModifiers() |
Starts a signature of a type with custom modifiers. |
| Double() |
Encodes Double. |
| FunctionPointer(SignatureCallingConvention, FunctionPointerAttributes, Int32) |
Starts a function pointer signature. |
| GenericInstantiation(EntityHandle, Int32, Boolean) |
Starts a generic instantiation signature. |
| GenericMethodTypeParameter(Int32) |
Encodes a reference to type parameter of a containing generic method. |
| GenericTypeParameter(Int32) |
Encodes a reference to type parameter of a containing generic type. |
| Int16() |
Encodes Int16. |
| Int32() |
Encodes Int32. |
| Int64() |
Encodes Int64. |
| IntPtr() |
Encodes IntPtr. |
| Object() |
Encodes Object. |
| Pointer() |
Starts pointer signature. |
| PrimitiveType(PrimitiveTypeCode) |
Writes primitive type code. |
| SByte() |
Encodes SByte. |
| Single() |
Encodes Single. |
| String() |
Encodes String. |
| SZArray() |
Starts SZ array (vector) signature. |
| Type(EntityHandle, Boolean) |
Encodes a reference to a type. |
| TypedReference() |
Encodes TypedReference. |
| UInt16() |
Encodes UInt16. |
| UInt32() |
Encodes UInt32. |
| UInt64() |
Encodes UInt64. |
| UIntPtr() |
Encodes UIntPtr. |
| VoidPointer() |
Encodes a void pointer ( |
Applies to
Feedback
Was this page helpful?
