PostSharp SDK 6.8 / / Class Reference / Post­Sharp.​Sdk.​Utilities Namespace / Msil­Writer­Utility Class

MsilWriterUtility Class

Provides methods that writes the MSIL code corresponding to an object to a TextWriter.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Utilities.MsilWriterUtility

Namespace:  PostSharp.Sdk.Utilities
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public static class MsilWriterUtility

The MsilWriterUtility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanWriteMsil
Determines whether it is possible to generate MSIL instructions for a given object.
Public methodStatic memberWriteMsil(Object, TextWriter)
Writes the MSIL code corresponding to a given object.
Public methodStatic memberWriteMsil(Object, TextWriter, MsilWriterLanguage, Boolean)
Writes the MSIL code corresponding to a given object.
See Also