PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Formatters Namespace/Ref­Struct­Surrogate Structure

RefStructSurrogate Structure

Struct that is passed to SetParameter<T>(Int32, String, ParameterKind, String, T) when the parameter is of a ref struct type. This struct wraps the return value of the ToString() method of the ref struct.

Namespace:  PostSharp.Patterns.Diagnostics.Formatters
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public struct RefStructSurrogate : IFormattable

The RefStructSurrogate type exposes the following members.

Constructors
  NameDescription
Public methodRefStructSurrogate
Initializes a new RefStructSurrogate.
Methods
  NameDescription
Public methodFormat
Appends a description of the current object to a given UnsafeStringBuilder.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
See Also