7 [__DynamicallyInvokable]
10 internal bool bIsMicrosoftBestFitFallback;
16 private static object s_InternalSyncObject;
18 private static object InternalSyncObject
22 if (s_InternalSyncObject ==
null)
24 object value =
new object();
27 return s_InternalSyncObject;
33 [__DynamicallyInvokable]
36 [__DynamicallyInvokable]
39 if (replacementFallback ==
null)
41 lock (InternalSyncObject)
43 if (replacementFallback ==
null)
49 return replacementFallback;
55 [__DynamicallyInvokable]
58 [__DynamicallyInvokable]
61 if (exceptionFallback ==
null)
63 lock (InternalSyncObject)
65 if (exceptionFallback ==
null)
71 return exceptionFallback;
77 [__DynamicallyInvokable]
80 [__DynamicallyInvokable]
84 internal bool IsMicrosoftBestFitFallback => bIsMicrosoftBestFitFallback;
88 [__DynamicallyInvokable]
92 [__DynamicallyInvokable]
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that can...
static DecoderFallback ExceptionFallback
Gets an object that throws an exception when an input byte sequence cannot be decoded.
abstract int MaxCharCount
When overridden in a derived class, gets the maximum number of characters the current T:System....
static DecoderFallback ReplacementFallback
Gets an object that outputs a substitute string in place of an input byte sequence that cannot be dec...
Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it c...
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that can...
static int CompareExchange(ref int location1, int value, int comparand)
Compares two 32-bit signed integers for equality and, if they are equal, replaces the first value.
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that can...
abstract DecoderFallbackBuffer CreateFallbackBuffer()
When overridden in a derived class, initializes a new instance of the T:System.Text....
Specifies that the class can be serialized.
DecoderFallback()
Initializes a new instance of the T:System.Text.DecoderFallback class.
Provides atomic operations for variables that are shared by multiple threads.