PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Writer­Extensions Class / Instruction­Writer­Extensions Methods / Instruction­Writer­Extensions.​Emit­Type­Of Method

InstructionWriterExtensions.EmitTypeOf Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.InstructionWriterExtensions.EmitTypeOf(PostSharp.Sdk.CodeModel.BaseInstructionWriter,PostSharp.Sdk.CodeModel.ITypeSignature)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static void EmitTypeOf(
	this BaseInstructionWriter writer,
	ITypeSignature type
)

Parameters

writer
Type: PostSharp.Sdk.CodeModel.BaseInstructionWriter

[Missing <param name="writer"/> documentation for "M:PostSharp.Sdk.CodeModel.InstructionWriterExtensions.EmitTypeOf(PostSharp.Sdk.CodeModel.BaseInstructionWriter,PostSharp.Sdk.CodeModel.ITypeSignature)"]

type
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="type"/> documentation for "M:PostSharp.Sdk.CodeModel.InstructionWriterExtensions.EmitTypeOf(PostSharp.Sdk.CodeModel.BaseInstructionWriter,PostSharp.Sdk.CodeModel.ITypeSignature)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseInstructionWriter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also