Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / SerializableAttribute.cs / 1 / SerializableAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SerializableAttribute ** ** ** Purpose: Used to mark a class as being serializable ** ** ============================================================*/ namespace System { using System; using System.Reflection; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class SerializableAttribute : Attribute { internal static Attribute GetCustomAttribute(Type type) { return (type.Attributes & TypeAttributes.Serializable) == TypeAttributes.Serializable ? new SerializableAttribute() : null; } internal static bool IsDefined(Type type) { return type.IsSerializable; } public SerializableAttribute() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SerializableAttribute ** ** ** Purpose: Used to mark a class as being serializable ** ** ============================================================*/ namespace System { using System; using System.Reflection; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class SerializableAttribute : Attribute { internal static Attribute GetCustomAttribute(Type type) { return (type.Attributes & TypeAttributes.Serializable) == TypeAttributes.Serializable ? new SerializableAttribute() : null; } internal static bool IsDefined(Type type) { return type.IsSerializable; } public SerializableAttribute() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsImpersonationContext.cs
- SafeFileHandle.cs
- XmlSchemaExternal.cs
- TextTreeText.cs
- TransactionInterop.cs
- DataServiceExpressionVisitor.cs
- GridLengthConverter.cs
- DataGridViewButtonCell.cs
- TextTreeRootNode.cs
- AnyAllSearchOperator.cs
- TextAutomationPeer.cs
- WindowInteractionStateTracker.cs
- ImmutableObjectAttribute.cs
- safesecurityhelperavalon.cs
- WebBrowserEvent.cs
- XmlSchemaChoice.cs
- TextEndOfLine.cs
- WorkflowServiceBuildProvider.cs
- LoadedOrUnloadedOperation.cs
- ControlUtil.cs
- OutputChannelBinder.cs
- CompilerTypeWithParams.cs
- MarkupExtensionParser.cs
- TokenBasedSetEnumerator.cs
- OrderByBuilder.cs
- DataGridViewRowHeaderCell.cs
- WebPartCatalogCloseVerb.cs
- EventLogPermissionEntry.cs
- _HelperAsyncResults.cs
- HtmlControl.cs
- DataGridViewImageCell.cs
- ColorContext.cs
- DataGridViewIntLinkedList.cs
- ClassDataContract.cs
- GeneralTransform.cs
- StringExpressionSet.cs
- DbConvert.cs
- GenericsInstances.cs
- DelayedRegex.cs
- StorageMappingItemCollection.cs
- TraceLog.cs
- DocumentSequenceHighlightLayer.cs
- util.cs
- LinkUtilities.cs
- String.cs
- WebServiceClientProxyGenerator.cs
- ImageAnimator.cs
- Publisher.cs
- TypeDelegator.cs
- Gdiplus.cs
- PreviousTrackingServiceAttribute.cs
- EntityTypeEmitter.cs
- LinkClickEvent.cs
- BaseParser.cs
- FirstMatchCodeGroup.cs
- PageParserFilter.cs
- securitycriticaldataClass.cs
- VerificationAttribute.cs
- KeyMatchBuilder.cs
- ConstrainedDataObject.cs
- x509utils.cs
- FormClosedEvent.cs
- QilLoop.cs
- BlockUIContainer.cs
- FontSource.cs
- CommandValueSerializer.cs
- EmbossBitmapEffect.cs
- Monitor.cs
- PermissionListSet.cs
- OdbcReferenceCollection.cs
- webproxy.cs
- TransformValueSerializer.cs
- ZipIOLocalFileBlock.cs
- MsmqTransportSecurityElement.cs
- AdapterSwitches.cs
- EventProxy.cs
- XmlObjectSerializerReadContextComplex.cs
- KnownTypesHelper.cs
- Stackframe.cs
- TokenizerHelper.cs
- SiteOfOriginPart.cs
- MetadataArtifactLoaderComposite.cs
- DocumentsTrace.cs
- ConnectionPointCookie.cs
- SBCSCodePageEncoding.cs
- _KerberosClient.cs
- WindowsEditBoxRange.cs
- ScriptServiceAttribute.cs
- dataprotectionpermissionattribute.cs
- ObjectRef.cs
- WebPartDisplayMode.cs
- sqlnorm.cs
- MultiViewDesigner.cs
- DetailsViewRowCollection.cs
- DispatchChannelSink.cs
- QuaternionValueSerializer.cs
- SequenceDesignerAccessibleObject.cs
- UniqueConstraint.cs
- SolidColorBrush.cs
- PointAnimationUsingKeyFrames.cs