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
- DesignerView.Commands.cs
- WebPartEditVerb.cs
- SmiMetaDataProperty.cs
- Style.cs
- xmlsaver.cs
- Row.cs
- HtmlHead.cs
- MethodCallExpression.cs
- BindingsCollection.cs
- AnnotationService.cs
- SamlAttributeStatement.cs
- BevelBitmapEffect.cs
- TableItemStyle.cs
- MouseOverProperty.cs
- CompilerGlobalScopeAttribute.cs
- PenThread.cs
- XamlTypeMapper.cs
- DataGridViewHeaderCell.cs
- printdlgexmarshaler.cs
- ConstraintConverter.cs
- BamlLocalizationDictionary.cs
- SqlCommand.cs
- ArgIterator.cs
- FixedPosition.cs
- NetSectionGroup.cs
- GridViewColumnHeader.cs
- SudsWriter.cs
- XPathNode.cs
- DataGridBoolColumn.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- TranslateTransform3D.cs
- MetadataUtilsSmi.cs
- ConstNode.cs
- PenContext.cs
- XmlElementAttribute.cs
- RightNameExpirationInfoPair.cs
- Operator.cs
- Bidi.cs
- WaitHandleCannotBeOpenedException.cs
- SafeTimerHandle.cs
- DataGridPageChangedEventArgs.cs
- XPathDocumentBuilder.cs
- EDesignUtil.cs
- SqlOuterApplyReducer.cs
- DivideByZeroException.cs
- XmlProcessingInstruction.cs
- Latin1Encoding.cs
- StylusPlugInCollection.cs
- TextPointerBase.cs
- CacheAxisQuery.cs
- WaitHandle.cs
- XmlSchemaCompilationSettings.cs
- XmlValidatingReader.cs
- BamlReader.cs
- TimeSpan.cs
- DecimalConverter.cs
- ObjectTag.cs
- ClusterSafeNativeMethods.cs
- TransferRequestHandler.cs
- _OverlappedAsyncResult.cs
- FileEnumerator.cs
- Compiler.cs
- VirtualDirectoryMapping.cs
- HashRepartitionStream.cs
- TabItemWrapperAutomationPeer.cs
- SafeProcessHandle.cs
- WmfPlaceableFileHeader.cs
- BindingContext.cs
- Enum.cs
- Object.cs
- BindingOperations.cs
- XmlAttribute.cs
- ProjectionCamera.cs
- NetworkInformationPermission.cs
- MultiAsyncResult.cs
- AppModelKnownContentFactory.cs
- TagNameToTypeMapper.cs
- DelayedRegex.cs
- Size3D.cs
- XhtmlMobileTextWriter.cs
- SafeArchiveContext.cs
- SqlCachedBuffer.cs
- DesignerOptionService.cs
- _OSSOCK.cs
- ITreeGenerator.cs
- QueryContext.cs
- XmlSchemaAttributeGroup.cs
- XmlValidatingReader.cs
- OleDbEnumerator.cs
- DoubleAnimationClockResource.cs
- ListSortDescription.cs
- DateTimeOffsetConverter.cs
- CompiledAction.cs
- SQLMembershipProvider.cs
- RequestNavigateEventArgs.cs
- CaseInsensitiveOrdinalStringComparer.cs
- AsyncDataRequest.cs
- ButtonChrome.cs
- GridViewColumnHeaderAutomationPeer.cs
- DataServiceHost.cs