SignatureDecoder<TType,TGenericContext>.DecodeType Method
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.
Decodes a type embedded in a signature and advances the reader past the type.
public TType DecodeType (ref System.Reflection.Metadata.BlobReader blobReader, bool allowTypeSpecifications = false);
member this.DecodeType : BlobReader * bool -> 'ype
Public Function DecodeType (ByRef blobReader As BlobReader, Optional allowTypeSpecifications As Boolean = false) As TType
Parameters
- blobReader
- BlobReader
The blob reader positioned at the leading SignatureTypeCode.
- allowTypeSpecifications
- Boolean
true
to allow a TypeSpecificationHandle to follow a (CLASS | VALUETYPE) in the signature; false
otherwise.
Returns
The decoded type.
Exceptions
The reader was not positioned at a valid signature type.
Remarks
At present, the only context where allowTypeSpecifications
might be true
is in a LocalConstantSig as defined by the Portable PDB specification.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示