1 write to _encoding
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (1)
34
_encoding
= encoding;
14 references to _encoding
System.Private.CoreLib (14)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (14)
35
_fallback =
_encoding
.EncoderFallback;
73
Debug.Assert(
_encoding
is not null);
74
return
_encoding
.GetByteCount(chars, count, this);
116
Debug.Assert(
_encoding
is not null);
117
return
_encoding
.GetBytes(chars, charCount, bytes, byteCount, this);
170
Debug.Assert(
_encoding
is not null);
171
bytesUsed =
_encoding
.GetBytes(chars, charCount, bytes, byteCount, this);
214
Debug.Assert(
_encoding
is not null);
215
return
_encoding
;
285
Debug.Assert(
_encoding
is not null);
286
if (
_encoding
.TryGetByteCount(rune, out int byteCount))
359
Debug.Assert(
_encoding
is not null);
360
switch (
_encoding
.EncodeRune(rune, bytes, out bytesWritten))
366
_encoding
.ThrowBytesOverflow(this, nothingEncoded: true); // will throw