System\Windows\Markup\Primitives\ElementMarkupObject.cs (10)
59ValueSerializer valueSerializer = ValueSerializer.GetSerializerFor(ObjectType, Context);
60if (valueSerializer != null && valueSerializer.CanConvertToString(_instance, Context))
357if (converter != null && converter.CanConvertTo(Context, typeof(InstanceDescriptor)))
723return _object.Context;
991ValueSerializer serializer = ValueSerializer.GetSerializerFor(_object.ObjectType, _object.Context);
992Debug.Assert(serializer != null && serializer.CanConvertToString(_object.Instance, _object.Context),
994return serializer.ConvertToString(_object.Instance, _object.Context);
1016ValueSerializer serializer = ValueSerializer.GetSerializerFor(_object.ObjectType, _object.Context);
1017Debug.Assert(serializer != null && serializer.CanConvertToString(_object.Instance, _object.Context),
1019return serializer.TypeReferences(_object.Instance, _object.Context);