Implemented interface member:
property
IsSerializable
System.Runtime.InteropServices._Type.IsSerializable
51 references to IsSerializable
mscorlib (18)
system\collections\emptyreadonlydictionaryinternal.cs (4)
89if (!key.GetType().IsSerializable) 92if( (value != null) && (!value.GetType().IsSerializable ) ) 121if (!key.GetType().IsSerializable) 124if( (value != null) && (!value.GetType().IsSerializable) )
system\collections\listdictionaryinternal.cs (4)
57if (!key.GetType().IsSerializable) 60if( (value != null) && (!value.GetType().IsSerializable ) ) 144if (!key.GetType().IsSerializable) 147if( (value != null) && (!value.GetType().IsSerializable) )
system\runtime\remoting\callcontext.cs (1)
635if (!currentPrincipal.GetType().IsSerializable)
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
153if (!objectType.IsSerializable) {
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
335if (!t.IsSerializable && !HasSurrogate(t))
system\runtime\serialization\formatterservices.cs (1)
77if (type.IsSerializable) {
system\runtime\serialization\safeserializationmanager.cs (1)
229if (!serializedState.GetType().IsSerializable)
system\security\policy\evidence.cs (2)
359if (!id.GetType().IsSerializable) 381if (!id.GetType().IsSerializable)
system\security\policy\evidencebase.cs (2)
38if (!GetType().IsSerializable) 93Contract.Assert(legacyEvidence.GetType().IsSerializable, "legacyEvidence.GetType().IsSerializable");
system\serializableattribute.cs (1)
30return type.IsSerializable;
PresentationCore (2)
Core\CSharp\System\Windows\DataObject.cs (2)
1847|| (data != null && data.GetType().IsSerializable)) 2422|| (data != null && data.GetType().IsSerializable));
PresentationFramework (3)
src\Framework\System\Windows\Controls\Frame.cs (1)
1235Debug.Assert(JournalEntry.GetType().IsSerializable);
src\Framework\System\Windows\Navigation\Journal.cs (1)
489Debug.Assert(je.GetType().IsSerializable);
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3529if (!type.IsSerializable)
System.AddIn (1)
System\Addin\Pipeline\ListContractAdapter.cs (1)
33if (!typeof(U).IsSerializable && !typeof(IContract).IsAssignableFrom(typeof(U)))
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1565_baseImplementsISerializable = _baseClrType.IsSerializable && typeof(ISerializable).IsAssignableFrom(_baseClrType);
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
999if (value != null && !value.GetType().IsSerializable) {
System.Runtime.Serialization (11)
System\Runtime\Serialization\ClassDataContract.cs (3)
386if (type.IsSerializable) 710if (baseType != null && !(baseType.IsSerializable && Globals.TypeOfISerializable.IsAssignableFrom(baseType))) 1093this.isNonAttributedType = !type.IsSerializable && !this.hasDataContract && IsNonAttributedTypeValidForSerialization(type);
System\Runtime\Serialization\CollectionDataContract.cs (4)
827if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 925bool createContractWithException = isBaseTypeCollection && !type.IsSerializable; 1003if (type.IsSerializable) 1061if (type.IsSerializable || skipIfReadOnlyContract)
System\Runtime\Serialization\DataContract.cs (3)
596if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false) || ClassDataContract.IsNonAttributedTypeValidForSerialization(type)) 1142if (classType.IsSerializable || classType.IsDefined(Globals.TypeOfDataContractAttribute, false)) 1283if (type.IsSerializable ||
System\Runtime\Serialization\DataContractSet.cs (1)
504return (type.IsSerializable ||
System.Web (2)
Profile\HttpProfileBase.cs (1)
515if (requireSerializationCheck && pps.SerializeAs == SerializationMode.Binary && !pps.TypeInternal.IsSerializable) {
UI\WebControls\ModelDataSourceView.cs (1)
1027if (dataSourceOperation == DataSourceOperation.Select && customValueProvider != null && parameterInfo.ParameterType.IsSerializable) {
System.Web.Extensions (2)
UI\WebControls\LinqDataSourceView.cs (1)
847if (property.PropertyType.IsSerializable && !property.IsReadOnly) {
UI\WebControls\QueryableDataSourceView.cs (1)
592if (include(p) && p.PropertyType.IsSerializable) {
System.Windows.Forms (6)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
132if (value != null && !valueType.IsSerializable) { 378if (value != null && !valueType.IsSerializable) {
winforms\Managed\System\WinForms\AxHost.cs (1)
6901if (pVar != null && !pVar.GetType().IsSerializable) {
winforms\Managed\System\WinForms\DataObject.cs (1)
914|| (data != null && data.GetType().IsSerializable)) {
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
218if (clonedValue == null && type.IsSerializable) {
winforms\Managed\System\WinForms\TreeNode.cs (1)
1882if (userData != null && userData.GetType().IsSerializable) {
System.Workflow.Activities (2)
WebServiceReceive.cs (1)
585if (!paramType.IsPublic || !paramType.IsSerializable)
WebServiceResponse.cs (1)
420if (!paramType.IsPublic || !paramType.IsSerializable)
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
201if (!objectType.IsSerializable || serializerType != typeof(CodeDomSerializer))
WindowsBase (1)
Shared\MS\Internal\Permissions\InternalPermissions.cs (1)
68Debug.Assert(GetType().IsSerializable);