UnsafeString.MakeImmutable Method |
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.
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public void MakeImmutable()