4 instantiations of JsonData
System.Private.Windows.Core (1)
System\Private\Windows\JsonData.cs (1)
156
internal static IJsonData Create<T>(T data) => new
JsonData
<T>() { JsonBytes = JsonSerializer.SerializeToUtf8Bytes(data) };
System.Private.Windows.Core.Tests (1)
System\Private\Windows\Ole\NativeToManagedAdapterTests.cs (1)
102
BinaryFormatWriter.TryWriteJsonData(stream, new
JsonData
<int[]>() { JsonBytes = JsonSerializer.SerializeToUtf8Bytes(new int[] { 0xBE, 0xAD }) });
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
41
JsonData<SimpleTestData> json =
new
()
68
JsonData<SimpleTestData> data =
new
()
8 references to JsonData
System.Private.Windows.Core (4)
System\Private\Windows\JsonData.cs (2)
133
/// identify a <see cref="
JsonData
{T}"/> without needing to have the generic type information.
143
/// The assembly qualified name of the T in <see cref="
JsonData
{T}"/>. This name should
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
580
/// If the data was supposed to be our <see cref="
JsonData
{T}"/>, but was serialized incorrectly.
System\Private\Windows\Ole\DataStore.cs (1)
60
else if (entry.Data is
JsonData
<T> jsonData)
System.Windows.Forms.Tests (4)
SerializableAttributeTests.cs (1)
19
{ typeof(
JsonData
<>).FullName },
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
41
JsonData
<SimpleTestData> json = new()
68
JsonData
<SimpleTestData> data = new()
System\Windows\Forms\DataObjectTests.cs (1)
3127
storedData.Should().BeOfType<
JsonData
<SimpleTestData>>();