3 implementations of ToUInt16
BinaryFormatTests (1)
FormatTests\FormattedObject\HashTableTests.cs (1)
277
public ushort
ToUInt16
(object value) => throw new NotImplementedException();
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\Support\FormatterConverterStub.cs (1)
39
public ushort
ToUInt16
(object value) => default;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\FormatterConverter.cs (1)
62
public ushort
ToUInt16
(object value)
1 reference to ToUInt16
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (1)
407
return ReferenceEquals(foundType, typeof(ushort)) ? (ushort)value! : _converter.
ToUInt16
(value!);