Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TcpPortSharing.cs
- ForeignKeyFactory.cs
- MailMessageEventArgs.cs
- Unit.cs
- XmlNullResolver.cs
- QuaternionConverter.cs
- RoleServiceManager.cs
- MobileControlDesigner.cs
- sqlstateclientmanager.cs
- handlecollector.cs
- AttributedMetaModel.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- ChannelSinkStacks.cs
- RemotingAttributes.cs
- TileModeValidation.cs
- SerializerDescriptor.cs
- PropertyRef.cs
- SortQuery.cs
- MachineKeySection.cs
- EntryPointNotFoundException.cs
- BitmapEffectGroup.cs
- ExternalFile.cs
- SqlCachedBuffer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ItemContainerPattern.cs
- Msmq4SubqueuePoisonHandler.cs
- CanonicalFontFamilyReference.cs
- TabletDevice.cs
- TableNameAttribute.cs
- ClientSettingsSection.cs
- ZoomComboBox.cs
- FormClosingEvent.cs
- ChildTable.cs
- EntityContainerAssociationSet.cs
- DisplayInformation.cs
- BitmapScalingModeValidation.cs
- TreeView.cs
- GridEntryCollection.cs
- TextEditor.cs
- ProvideValueServiceProvider.cs
- DistributedTransactionPermission.cs
- rsa.cs
- StreamSecurityUpgradeProvider.cs
- ItemDragEvent.cs
- CheckoutException.cs
- WebServiceMethodData.cs
- initElementDictionary.cs
- XPathChildIterator.cs
- RefreshPropertiesAttribute.cs
- ComponentSerializationService.cs
- MapPathBasedVirtualPathProvider.cs
- ProfilePropertyMetadata.cs
- WebPartVerbsEventArgs.cs
- MailAddressParser.cs
- SourceInterpreter.cs
- ScriptDescriptor.cs
- SchemaImporter.cs
- BufferedMessageData.cs
- SEHException.cs
- VolatileEnlistmentState.cs
- ChangeInterceptorAttribute.cs
- HttpRequestCacheValidator.cs
- RequestTimeoutManager.cs
- AnnouncementSendsAsyncResult.cs
- TreeNode.cs
- DESCryptoServiceProvider.cs
- WinFormsSecurity.cs
- ModelItemKeyValuePair.cs
- ObjectComplexPropertyMapping.cs
- StreamGeometry.cs
- ArgumentOutOfRangeException.cs
- FileDialog_Vista.cs
- WebPartTransformerCollection.cs
- ObjectSecurityT.cs
- columnmapfactory.cs
- CompositeActivityDesigner.cs
- SimpleBitVector32.cs
- SubqueryRules.cs
- CodeDOMProvider.cs
- SafeArrayRankMismatchException.cs
- TabletCollection.cs
- ModifierKeysValueSerializer.cs
- DataTableClearEvent.cs
- recordstatescratchpad.cs
- DeviceSpecificDialogCachedState.cs
- AuthorizationSection.cs
- ListItemConverter.cs
- documentation.cs
- DrawListViewSubItemEventArgs.cs
- XmlCompatibilityReader.cs
- ItemsPanelTemplate.cs
- SimpleHandlerBuildProvider.cs
- PipelineDeploymentState.cs
- ItemsPresenter.cs
- ProxyGenerationError.cs
- SqlServices.cs
- ViewGenResults.cs
- ScrollEvent.cs
- ToolStripPanelRow.cs
- TreeNodeClickEventArgs.cs