16 references to MustBeOfType
ReachFramework (16)
Serialization\FontTypeConverter.cs (1)
157
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "value", "GlyphRun"));
Serialization\ImageSourceTypeConverter.cs (1)
162
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "value", "BitmapSource"));
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
113
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCSerializer.cs (2)
676
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
895
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
127
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
45
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
83
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
65
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
111
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
88
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
128
throw new XpsSerializationException(SR.Format(SR.
MustBeOfType
, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachVisualSerializer.cs (2)
43
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "serializedObject", typeof(Visual)));
179
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "serializedObject", typeof(Visual)));
Serialization\Manager\ReachVisualSerializerAsync.cs (2)
76
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "serializedObject", typeof(Visual)));
229
throw new ArgumentException(SR.Format(SR.
MustBeOfType
, "serializedObject", typeof(Visual)));