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 (encoderReplacementFallback !=
null)
105 return strDefault == encoderReplacementFallback.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...
override EncoderFallbackBuffer CreateFallbackBuffer()
Creates a T:System.Text.EncoderFallbackBuffer object that is initialized with the replacement string ...
EncoderReplacementFallback()
Initializes a new instance of the T:System.Text.EncoderReplacementFallback class.
override int GetHashCode()
Retrieves the hash code for the value of the T:System.Text.EncoderReplacementFallback object.
Provides a failure-handling mechanism, called a fallback, for an input character that cannot be conve...
override bool Equals(object value)
Indicates whether the value of a specified object is equal to the T:System.Text.EncoderReplacementFal...
Provides a failure handling mechanism, called a fallback, for an input character that cannot be conve...
Provides information about, and means to manipulate, the current environment and platform....
string DefaultString
Gets the replacement string that is the value of the T:System.Text.EncoderReplacementFallback object.
EncoderReplacementFallback(string replacement)
Initializes a new instance of the T:System.Text.EncoderReplacementFallback class using a specified re...
The exception that is thrown when one of the arguments provided to a method is not valid.
override int MaxCharCount
Gets the number of characters in the replacement string for the T:System.Text.EncoderReplacementFallb...
Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it ...
Specifies that the class can be serialized.
Represents a substitute input string that is used when the original input character cannot be encoded...