Open sandboxFocus

Struct RefStructSurrogate

Struct that is passed to SetParameter<T>(int, 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.

Implements
Namespace: PostSharp.Patterns.Diagnostics.Formatters
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public struct RefStructSurrogate : IFormattable

Constructors

Name Description
RefStructSurrogate(string)

Initializes a new RefStructSurrogate.

Methods

Name Description
Format(UnsafeStringBuilder, FormattingRole)

Appends a description of the current object to a given UnsafeStringBuilder.

ToString()