InstructionWriter.EmitConvertFromObject Method |
Emits MSIL instructions that cast an object (of type Object)
to a given type, performing unboxing when needed.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public void EmitConvertFromObject( ITypeSignature targetType )
Parameters
- targetType
- Type: PostSharp.Sdk.CodeModel.ITypeSignature
Type into which the object has to be converted.