36 references to TypeNameMatches
PresentationCore (5)
System\Windows\Nrbf\SerializationRecordExtensions.cs (5)
45|| !classInfo.TypeNameMatches(typeof(PointF)) 70|| !classInfo.TypeNameMatches(typeof(RectangleF)) 177|| !classInfo.TypeNameMatches(typeof(ArrayList)) 257|| !classInfo.TypeNameMatches(typeof(Hashtable)) 304|| !classInfo.TypeNameMatches(typeof(NotSupportedException)))
System.Formats.Nrbf (18)
System\Formats\Nrbf\ArrayRecord.cs (1)
81if (!TypeNameMatches(expectedArrayType))
System\Formats\Nrbf\SystemClassWithMembersAndTypesRecord.cs (17)
53bool value when TypeNameMatches(typeof(bool)) => Create(value), 54byte value when TypeNameMatches(typeof(byte)) => Create(value), 55sbyte value when TypeNameMatches(typeof(sbyte)) => Create(value), 56char value when TypeNameMatches(typeof(char)) => Create(value), 57short value when TypeNameMatches(typeof(short)) => Create(value), 58ushort value when TypeNameMatches(typeof(ushort)) => Create(value), 59int value when TypeNameMatches(typeof(int)) => Create(value), 60uint value when TypeNameMatches(typeof(uint)) => Create(value), 61long value when TypeNameMatches(typeof(long)) => Create(value), 62ulong value when TypeNameMatches(typeof(ulong)) => Create(value), 63float value when TypeNameMatches(typeof(float)) => Create(value), 64double value when TypeNameMatches(typeof(double)) => Create(value), 73long value when TypeNameMatches(typeof(IntPtr)) => Create(new IntPtr(value)), 74ulong value when TypeNameMatches(typeof(UIntPtr)) => Create(new UIntPtr(value)), 78else if (HasMember("_ticks") && GetRawValue("_ticks") is long ticks && TypeNameMatches(typeof(TimeSpan))) 86&& TypeNameMatches(typeof(DateTime))) 94&& TypeNameMatches(typeof(decimal)))
System.Private.Windows.Core (10)
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (10)
73|| !classInfo.TypeNameMatches(typeof(Point)) 98|| !classInfo.TypeNameMatches(typeof(Size)) 123|| !classInfo.TypeNameMatches(typeof(Rectangle)) 154|| !classInfo.TypeNameMatches(typeof(PointF)) 179|| !classInfo.TypeNameMatches(typeof(SizeF)) 204|| !classInfo.TypeNameMatches(typeof(RectangleF)) 235|| !classInfo.TypeNameMatches(typeof(Color)) 355|| !classInfo.TypeNameMatches(typeof(ArrayList)) 445|| !classInfo.TypeNameMatches(typeof(Hashtable)) 492|| !classInfo.TypeNameMatches(typeof(NotSupportedException)))
System.Windows.Forms (2)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
25|| !types.TypeNameMatches(typeof(ImageListStreamer)) 45|| !types.TypeNameMatches(typeof(Bitmap))
System.Windows.Forms.Tests (1)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
25root.TypeNameMatches(typeof(Bitmap)).Should().BeTrue();