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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathNodeInfoAtom.cs
- RotationValidation.cs
- WebControlAdapter.cs
- EncoderParameter.cs
- DataServiceRequest.cs
- ControlBindingsCollection.cs
- JapaneseCalendar.cs
- RuleSet.cs
- RangeExpression.cs
- ColumnWidthChangedEvent.cs
- XmlElementAttribute.cs
- TraceListener.cs
- QilGeneratorEnv.cs
- PeerReferralPolicy.cs
- HttpCacheVary.cs
- LoginAutoFormat.cs
- PkcsUtils.cs
- NullExtension.cs
- ThumbAutomationPeer.cs
- ToolStripStatusLabel.cs
- TdsParserStaticMethods.cs
- StrongBox.cs
- InternalConfirm.cs
- ReliableChannelFactory.cs
- ObjectItemAssemblyLoader.cs
- listitem.cs
- BindingNavigatorDesigner.cs
- ApplicationTrust.cs
- DictionarySurrogate.cs
- ComplexObject.cs
- SkewTransform.cs
- PixelFormatConverter.cs
- cookieexception.cs
- Internal.cs
- DataSetViewSchema.cs
- Odbc32.cs
- EmptyTextWriter.cs
- CommandSet.cs
- _TLSstream.cs
- CompositeCollectionView.cs
- serverconfig.cs
- FragmentQuery.cs
- MultipleCopiesCollection.cs
- HtmlMeta.cs
- CreateUserWizardStep.cs
- ProfileManager.cs
- ConnectionManagementElementCollection.cs
- MemberCollection.cs
- X509SubjectKeyIdentifierClause.cs
- GC.cs
- UnicastIPAddressInformationCollection.cs
- TogglePatternIdentifiers.cs
- ParserExtension.cs
- HttpResponseWrapper.cs
- EventDrivenDesigner.cs
- Stopwatch.cs
- ExponentialEase.cs
- XmlSchemaSequence.cs
- CryptoKeySecurity.cs
- XmlNodeChangedEventManager.cs
- ClientRoleProvider.cs
- ExpressionBuilder.cs
- TreeNodeStyle.cs
- StateMachineWorkflowDesigner.cs
- DataGridViewTextBoxCell.cs
- AuthStoreRoleProvider.cs
- GeneralTransformGroup.cs
- TokenBasedSetEnumerator.cs
- SHA384Managed.cs
- TraceContextEventArgs.cs
- ElementMarkupObject.cs
- DataSpaceManager.cs
- StylusPlugInCollection.cs
- MultipleCopiesCollection.cs
- AppliedDeviceFiltersEditor.cs
- StrokeCollection.cs
- CodeStatement.cs
- CompilerState.cs
- Point3DValueSerializer.cs
- SingleAnimationUsingKeyFrames.cs
- SelectionEditingBehavior.cs
- columnmapfactory.cs
- TypeForwardedToAttribute.cs
- ObjectDataSourceDisposingEventArgs.cs
- PrintPreviewControl.cs
- InvokeBinder.cs
- HttpChannelListener.cs
- LinearGradientBrush.cs
- CssTextWriter.cs
- ListView.cs
- DynamicValueConverter.cs
- TextPointer.cs
- WinEventQueueItem.cs
- MobileControl.cs
- RegexMatchCollection.cs
- indexingfiltermarshaler.cs
- EntityCollection.cs
- ConnectionManagementElementCollection.cs
- XmlDocumentType.cs
- KnowledgeBase.cs