49 references to ReplacementChar
GenerateDocumentationAndConfigFiles (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (5)
32
/// cref="Rune.
ReplacementChar
"/>. The value of this character can be retrieved from
39
/// cref="Rune"/>. If <see cref="Rune"/> is not <see cref="Rune.
ReplacementChar
"/>, this will be <c>0</c>.
59
/// value will be <see cref="Rune.
ReplacementChar
"/>.
66
return new VirtualChar(rune: Rune.
ReplacementChar
, surrogateChar, span);
71
Contract.ThrowIfFalse(surrogateChar == 0 || rune == Rune.
ReplacementChar
,
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (5)
32
/// cref="Rune.
ReplacementChar
"/>. The value of this character can be retrieved from
39
/// cref="Rune"/>. If <see cref="Rune"/> is not <see cref="Rune.
ReplacementChar
"/>, this will be <c>0</c>.
59
/// value will be <see cref="Rune.
ReplacementChar
"/>.
66
return new VirtualChar(rune: Rune.
ReplacementChar
, surrogateChar, span);
71
Contract.ThrowIfFalse(surrogateChar == 0 || rune == Rune.
ReplacementChar
,
System.Private.CoreLib (26)
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)
20
Debug.Assert(!Rune.IsWhiteSpace(Rune.
ReplacementChar
));
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
337
r = 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)
818
value = Rune.
ReplacementChar
;
827
value = Rune.
ReplacementChar
;
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (1)
698
value = Rune.
ReplacementChar
;
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (15)
308
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="charsConsumed"/> the length of the input buffer.
312
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="charsConsumed"/> the number of
319
/// will contain the real scalar value if successfully decoded, or it will contain <see cref="
ReplacementChar
"/> if
371
result =
ReplacementChar
;
377
result =
ReplacementChar
;
392
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="bytesConsumed"/> the length of the input buffer.
396
/// and outs via <paramref name="result"/> <see cref="
ReplacementChar
"/> and via <paramref name="bytesConsumed"/> the number of
403
/// will contain the real scalar value if successfully decoded, or it will contain <see cref="
ReplacementChar
"/> if
555
result =
ReplacementChar
;
562
result =
ReplacementChar
;
612
result =
ReplacementChar
;
622
result =
ReplacementChar
;
698
value =
ReplacementChar
;
737
value =
ReplacementChar
;
952
result =
ReplacementChar
;
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
40
scalarValue = Rune.
ReplacementChar
.Value;
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)
181
rune = Rune.
ReplacementChar
;
System\UriHelper.cs (1)
268
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)
691
chars[i] = (char)Rune.
ReplacementChar
.Value;
701
chars[i] = (char)Rune.
ReplacementChar
.Value;
Test.Utilities (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (5)
32
/// cref="Rune.
ReplacementChar
"/>. The value of this character can be retrieved from
39
/// cref="Rune"/>. If <see cref="Rune"/> is not <see cref="Rune.
ReplacementChar
"/>, this will be <c>0</c>.
59
/// value will be <see cref="Rune.
ReplacementChar
"/>.
66
return new VirtualChar(rune: Rune.
ReplacementChar
, surrogateChar, span);
71
Contract.ThrowIfFalse(surrogateChar == 0 || rune == Rune.
ReplacementChar
,