SignatureTypeEncoder Struct
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.
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
SignatureTypeEncoder(BlobBuilder) |
Creates a SignatureTypeEncoder. |
Properties
Builder |
The BlobBuilder where the signature is written to. |
Methods
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기