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