13 references to IsTypeVisible
System.Runtime.Serialization (13)
System\Runtime\Serialization\ClassDataContract.cs (2)
459
if (!
IsTypeVisible
(UnderlyingType))
573
if (!
IsTypeVisible
(UnderlyingType))
System\Runtime\Serialization\CollectionDataContract.cs (4)
1308
if (!
IsTypeVisible
(UnderlyingType))
1320
if (ItemType != null && !
IsTypeVisible
(ItemType))
1367
if (!
IsTypeVisible
(UnderlyingType))
1379
if (ItemType != null && !
IsTypeVisible
(ItemType))
System\Runtime\Serialization\DataContract.cs (4)
2333
if (!
IsTypeVisible
(genericType))
2352
return
IsTypeVisible
(t.GetElementType());
2359
? (t.IsNestedPublic || IsTypeVisibleInSerializationModule(t)) &&
IsTypeVisible
(t.DeclaringType)
2416
return (field.IsAssembly || field.IsFamilyOrAssembly) &&
IsTypeVisible
(field.FieldType);
System\Runtime\Serialization\DataMember.cs (2)
282
return DataContract.MethodRequiresMemberAccess(getMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
303
return DataContract.MethodRequiresMemberAccess(setMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
System\Runtime\Serialization\XmlDataContract.cs (1)
379
if (!
IsTypeVisible
(UnderlyingType))