5 [__DynamicallyInvokable]
8 private string strDefault;
12 [__DynamicallyInvokable]
15 [__DynamicallyInvokable]
24 [__DynamicallyInvokable]
27 [__DynamicallyInvokable]
30 return strDefault.Length;
35 [__DynamicallyInvokable]
47 [__DynamicallyInvokable]
50 if (replacement ==
null)
55 for (
int i = 0; i < replacement.Length; i++)
57 if (
char.IsSurrogate(replacement, i))
59 if (
char.IsHighSurrogate(replacement, i))
84 strDefault = replacement;
89 [__DynamicallyInvokable]
99 [__DynamicallyInvokable]
100 public override bool Equals(
object value)
103 if (decoderReplacementFallback !=
null)
105 return strDefault == decoderReplacementFallback.strDefault;
112 [__DynamicallyInvokable]
115 return strDefault.GetHashCode();
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that can...
Represents a substitute output string that is emitted when the original input byte sequence cannot be...
override int GetHashCode()
Retrieves the hash code for the value of the T:System.Text.DecoderReplacementFallback object.
string DefaultString
Gets the replacement string that is the value of the T:System.Text.DecoderReplacementFallback object.
override DecoderFallbackBuffer CreateFallbackBuffer()
Creates a T:System.Text.DecoderFallbackBuffer object that is initialized with the replacement string ...
Provides information about, and means to manipulate, the current environment and platform....
Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it c...
override int MaxCharCount
Gets the number of characters in the replacement string for the T:System.Text.DecoderReplacementFallb...
DecoderReplacementFallback(string replacement)
Initializes a new instance of the T:System.Text.DecoderReplacementFallback class using a specified re...
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that can...
override bool Equals(object value)
Indicates whether the value of a specified object is equal to the T:System.Text.DecoderReplacementFal...
The exception that is thrown when one of the arguments provided to a method is not valid.
Specifies that the class can be serialized.
DecoderReplacementFallback()
Initializes a new instance of the T:System.Text.DecoderReplacementFallback class.