46 references to ReplacementChar
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
AspNetCore\EmbeddedLanguages\AspNetCoreVirtualChar.cs (1)
28
get => char.IsSurrogate(VirtualChar) ? Rune.
ReplacementChar
.Value : VirtualChar;
System.Private.CoreLib (37)
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (2)
432
/// Invalid sequences will be represented in the enumeration by <see cref="Rune.
ReplacementChar
"/>.
443
/// Invalid sequences will be represented in the enumeration by <see cref="Rune.
ReplacementChar
"/>.
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.Utf8.cs (2)
18
Debug.Assert(!Rune.IsWhiteSpace(Rune.
ReplacementChar
));
43
Debug.Assert(!Rune.IsWhiteSpace(Rune.
ReplacementChar
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
337
r = Rune.
ReplacementChar
;
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
819
value = Rune.
ReplacementChar
;
828
value = Rune.
ReplacementChar
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (1)
699
value = Rune.
ReplacementChar
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (17)
317
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="charsConsumed"/> the length of the input buffer.
321
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="charsConsumed"/> the number of
328
/// will contain the real scalar value if successfully decoded, or it will contain <see cref="
ReplacementChar
"/> if
380
result =
ReplacementChar
;
386
result =
ReplacementChar
;
401
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="bytesConsumed"/> the length of the input buffer.
405
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="bytesConsumed"/> the number of
412
/// will contain the real scalar value if successfully decoded, or it will contain <see cref="
ReplacementChar
"/> if
564
result =
ReplacementChar
;
571
result =
ReplacementChar
;
621
result =
ReplacementChar
;
631
result =
ReplacementChar
;
707
value =
ReplacementChar
;
746
value =
ReplacementChar
;
984
result =
ReplacementChar
;
1019
result =
ReplacementChar
;
1042
result =
ReplacementChar
;
src\runtime\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.
233
Current = new RunePosition(Rune.
ReplacementChar
, Current.StartIndex + Current.Length, 1, true);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
40
scalarValue = Rune.
ReplacementChar
.Value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
669
/// Invalid sequences will be represented in the enumeration by <see cref="Rune.
ReplacementChar
"/>.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilderRuneEnumerator.cs (1)
55
_current = Rune.
ReplacementChar
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
39
_current = Rune.
ReplacementChar
;
src\runtime\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)
155
rune = Rune.
ReplacementChar
;
System\UriHelper.cs (1)
266
r = Rune.
ReplacementChar
;
System.Text.Encodings.Web (4)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (2)
202
scalarValue = Rune.
ReplacementChar
; // fallback char
312
Debug.Assert(scalarValue == Rune.
ReplacementChar
); // DecodeFromUtfXX should've set replacement character on failure
System\Text\Encodings\Web\TextEncoder.cs (2)
345
Debug.Assert(scalarValue == Rune.
ReplacementChar
); // DecodeFromUtf8 should've performed substitution
467
Debug.Assert(scalarValue == Rune.
ReplacementChar
); // should be replacement char
System.Web.HttpUtility (2)
System\Web\Util\HttpEncoder.cs (2)
689
chars[i] = (char)Rune.
ReplacementChar
.Value;
699
chars[i] = (char)Rune.
ReplacementChar
.Value;