Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 18.104.22.168 (22.214.171.124)
public sealed class UnsafeString
Thetype exposes the following members.
Initializes a new Char.backed by an array of
Initializes a new String.backed by a
Gets an unmanaged pointer to the string.
Determines whether the current false, if still bound to a mutable. Call the MakeImmutable() method to make the immutable.is immutable or, when the value of this property is
Gets the number of characters in the string.
Gets an ArraySegment<T> representing the current .
Returns a string that represents the current object.(Overrides Object.ToString().)
Because an UnsafeStringBuilder, which is a mutable type, and is generally pooled and reused for different purposes, it is generally not safe to evaluate an at a different moment than the one designed by the API that exposes the . To make it safe to evaluate the at any moment, call the MakeImmutable() method, which unbounds the from its parent UnsafeStringBuilder.can be backed by a