6 instantiations of BinaryObjectString
System.Private.Windows.Core (6)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (5)
46
new
BinaryObjectString
(1, value).Write(writer);
272
typeof(Color).GetField("name", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value) is not string name ? null : new
BinaryObjectString
(2, name),
656
new
BinaryObjectString
(2, Types.NotSupportedExceptionType),
657
new
BinaryObjectString
(3, exception.Message),
770
new
BinaryObjectString
(objectId: 4, jsonData.InnerTypeAssemblyQualifiedName)).Write(writer);
System\Private\Windows\BinaryFormat\Support\StringRecordsCollection.cs (1)
47
IRecord record = new
BinaryObjectString
(CurrentId, value);
8 references to BinaryObjectString
BinaryFormatTests (4)
FormatTests\FormattedObject\StringRecordsCollectionTests.cs (4)
17
record.Should().BeOfType<
BinaryObjectString
>();
18
((
BinaryObjectString
)record).ObjectId.Should().Be(1);
27
record.Should().BeOfType<
BinaryObjectString
>();
28
((
BinaryObjectString
)record).ObjectId.Should().Be(2);
System.Private.Windows.Core (4)
System\Private\Windows\BinaryFormat\Serializer\ArraySingleString.StringListAdapter.cs (1)
24
IRecord record => _recordMap.Dereference(record) is
BinaryObjectString
stringRecord
System\Private\Windows\BinaryFormat\Serializer\BinaryObjectString.cs (2)
16
internal sealed class BinaryObjectString : IWritableRecord, IRecord<
BinaryObjectString
>
39
|| (obj is
BinaryObjectString
bos && bos.ObjectId == ObjectId && bos.Value == Value);
System\Private\Windows\BinaryFormat\Support\StringRecordsCollection.cs (1)
9
/// Helper to create and track records for <see cref="
BinaryObjectString
"/> and <see cref="MemberReference"/>