13 references to IsTypeVisible
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\ClassDataContract.cs (2)
408
if (!
IsTypeVisible
(UnderlyingType))
514
if (!
IsTypeVisible
(UnderlyingType))
System\Runtime\Serialization\CollectionDataContract.cs (4)
1451
if (!
IsTypeVisible
(UnderlyingType))
1462
if (ItemType != null && !
IsTypeVisible
(ItemType))
1507
if (!
IsTypeVisible
(UnderlyingType))
1518
if (ItemType != null && !
IsTypeVisible
(ItemType))
System\Runtime\Serialization\DataContract.cs (4)
2158
if (!
IsTypeVisible
(genericType))
2172
return
IsTypeVisible
(t.GetElementType()!);
2179
? (t.IsNestedPublic || IsTypeVisibleInSerializationModule(t)) &&
IsTypeVisible
(t.DeclaringType!)
2242
return (field.IsAssembly || field.IsFamilyOrAssembly) &&
IsTypeVisible
(field.FieldType);
System\Runtime\Serialization\DataMember.cs (2)
257
return DataContract.MethodRequiresMemberAccess(getMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
282
return DataContract.MethodRequiresMemberAccess(setMethod) || !DataContract.
IsTypeVisible
(property.PropertyType);
System\Runtime\Serialization\XmlDataContract.cs (1)
339
if (!
IsTypeVisible
(UnderlyingType))