13 references to IsTypeVisible
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\ClassDataContract.cs (2)
407
if (!
IsTypeVisible
(UnderlyingType))
513
if (!
IsTypeVisible
(UnderlyingType))
System\Runtime\Serialization\CollectionDataContract.cs (4)
1447
if (!
IsTypeVisible
(UnderlyingType))
1458
if (ItemType != null && !
IsTypeVisible
(ItemType))
1503
if (!
IsTypeVisible
(UnderlyingType))
1514
if (ItemType != null && !
IsTypeVisible
(ItemType))
System\Runtime\Serialization\DataContract.cs (4)
2130
if (!
IsTypeVisible
(genericType))
2144
return
IsTypeVisible
(t.GetElementType()!);
2151
? (t.IsNestedPublic || IsTypeVisibleInSerializationModule(t)) &&
IsTypeVisible
(t.DeclaringType!)
2214
return (field.IsAssembly || field.IsFamilyOrAssembly) &&
IsTypeVisible
(field.FieldType);
System\Runtime\Serialization\DataMember.cs (2)
260
return DataContract.MethodRequiresMemberAccess(getMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
285
return DataContract.MethodRequiresMemberAccess(setMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
System\Runtime\Serialization\XmlDataContract.cs (1)
339
if (!
IsTypeVisible
(UnderlyingType))