42 references to ReplacementChar
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (2)
368/// Invalid sequences will be represented in the enumeration by <see cref="Rune.ReplacementChar"/>. 379/// Invalid sequences will be represented in the enumeration by <see cref="Rune.ReplacementChar"/>.
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.Utf8.cs (1)
20Debug.Assert(!Rune.IsWhiteSpace(Rune.ReplacementChar));
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
337r = Rune.ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
608/// Invalid sequences will be represented in the enumeration by <see cref="Rune.ReplacementChar"/>.
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
818value = Rune.ReplacementChar; 827value = Rune.ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (1)
698value = Rune.ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (15)
315/// and outs via <paramref name="result"/> <see cref="ReplacementChar"/> and via <paramref name="charsConsumed"/> the length of the input buffer. 319/// and outs via <paramref name="result"/> <see cref="ReplacementChar"/> and via <paramref name="charsConsumed"/> the number of 326/// will contain the real scalar value if successfully decoded, or it will contain <see cref="ReplacementChar"/> if 378result = ReplacementChar; 384result = ReplacementChar; 399/// and outs via <paramref name="result"/> <see cref="ReplacementChar"/> and via <paramref name="bytesConsumed"/> the length of the input buffer. 403/// and outs via <paramref name="result"/> <see cref="ReplacementChar"/> and via <paramref name="bytesConsumed"/> the number of 410/// will contain the real scalar value if successfully decoded, or it will contain <see cref="ReplacementChar"/> if 562result = ReplacementChar; 569result = ReplacementChar; 619result = ReplacementChar; 629result = ReplacementChar; 705value = ReplacementChar; 744value = ReplacementChar; 982result = ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\RunePosition.cs (6)
15/// Invalid Unicode symbols will be represented by the <see cref="System.Text.Rune.ReplacementChar"/> value. 28/// Invalid Unicode symbols will be represented by <see cref="System.Text.Rune.ReplacementChar"/> 42/// Invalid Unicode symbols will be represented by <see cref="Rune.ReplacementChar"/> value. 48/// Invalid Unicode symbols will be represented by <see cref="System.Text.Rune.ReplacementChar"/> value. 67/// replaced by <see cref="System.Text.Rune.ReplacementChar"/> value. 233Current = new RunePosition(Rune.ReplacementChar, Current.StartIndex + Current.Length, 1, true);
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
40scalarValue = Rune.ReplacementChar.Value;
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
654/// Invalid sequences will be represented in the enumeration by <see cref="Rune.ReplacementChar"/>.
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilderRuneEnumerator.cs (1)
55_current = Rune.ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
39_current = Rune.ReplacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.Sealed.cs (1)
14/// perform <see cref="Rune.ReplacementChar"/> substitution instead" semantics. This type allows for devirtualization
System.Private.Uri (2)
System\IriHelper.cs (1)
155rune = Rune.ReplacementChar;
System\UriHelper.cs (1)
266r = Rune.ReplacementChar;
System.Text.Encodings.Web (4)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (2)
202scalarValue = Rune.ReplacementChar; // fallback char 312Debug.Assert(scalarValue == Rune.ReplacementChar); // DecodeFromUtfXX should've set replacement character on failure
System\Text\Encodings\Web\TextEncoder.cs (2)
345Debug.Assert(scalarValue == Rune.ReplacementChar); // DecodeFromUtf8 should've performed substitution 467Debug.Assert(scalarValue == Rune.ReplacementChar); // should be replacement char
System.Web.HttpUtility (2)
System\Web\Util\HttpEncoder.cs (2)
691chars[i] = (char)Rune.ReplacementChar.Value; 701chars[i] = (char)Rune.ReplacementChar.Value;