PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Unsafe­String Class/Unsafe­String Methods

UnsafeString Methods

The UnsafeString type exposes the following members.

Public methodMakeImmutable
If the current UnsafeString is bound to its origin UnsafeStringBuilder, evaluates the UnsafeStringBuilder and breaks the binding, so that later changes in the UnsafeStringBuilder do not cause changes in the current UnsafeString. This method also prevents the UnsafeString form being recycled.
Public methodToCharArray
Gets an ArraySegment<T> representing the current UnsafeString.
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Extension Methods
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also