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

InstructionWriterExtensions.EmitWriteLine Method

Emits instructions that write a line using WriteLine(String).

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 EmitWriteLine(
	this BaseInstructionWriter writer,
	string format,
	params Object[] parameters
)

Parameters

writer
Type: PostSharp.Sdk.CodeModel.BaseInstructionWriter
An BaseInstructionWriter.
format
Type: System.String
Formatting string.
parameters
Type: System.Object[]
Arguments of the formatting string.

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