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
- DataServiceCollectionOfT.cs
- FileSystemInfo.cs
- StateWorkerRequest.cs
- HandlerElementCollection.cs
- DynamicRenderer.cs
- XmlSchemas.cs
- FlowchartDesignerCommands.cs
- HttpModuleCollection.cs
- WorkflowWebService.cs
- DoubleAnimationBase.cs
- TraceUtils.cs
- MenuItemCollectionEditor.cs
- Vector3DIndependentAnimationStorage.cs
- EventEntry.cs
- FrameworkContentElementAutomationPeer.cs
- SkipStoryboardToFill.cs
- oledbmetadatacollectionnames.cs
- CodeArgumentReferenceExpression.cs
- CodeVariableReferenceExpression.cs
- ReadOnlyDictionary.cs
- ConfigurationManagerInternalFactory.cs
- RightsManagementEncryptionTransform.cs
- DecimalAnimationBase.cs
- FastPropertyAccessor.cs
- ArrayWithOffset.cs
- TextSelectionHighlightLayer.cs
- Int64AnimationBase.cs
- Single.cs
- CodeAccessSecurityEngine.cs
- ItemsPanelTemplate.cs
- DataRowExtensions.cs
- OpenFileDialog.cs
- RealProxy.cs
- Dispatcher.cs
- BadImageFormatException.cs
- XmlSerializationWriter.cs
- Propagator.ExtentPlaceholderCreator.cs
- AnimationClockResource.cs
- StylusOverProperty.cs
- PriorityQueue.cs
- BaseTemplateCodeDomTreeGenerator.cs
- OdbcStatementHandle.cs
- ServiceBuildProvider.cs
- BaseHashHelper.cs
- UrlAuthFailedErrorFormatter.cs
- ListBox.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- XmlSerializableWriter.cs
- ValidatorCompatibilityHelper.cs
- SHA256.cs
- DbProviderFactories.cs
- TypedReference.cs
- ToolStripOverflowButton.cs
- PropertyChangedEventManager.cs
- TemplatedMailWebEventProvider.cs
- PeerInvitationResponse.cs
- SqlTypeConverter.cs
- UnitySerializationHolder.cs
- CompilerState.cs
- EventLogEntry.cs
- EntityTypeBase.cs
- APCustomTypeDescriptor.cs
- NavigationProgressEventArgs.cs
- RtfToXamlLexer.cs
- StyleCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- DrawingContextDrawingContextWalker.cs
- SplashScreen.cs
- FixedSOMElement.cs
- XPathNodeInfoAtom.cs
- _SpnDictionary.cs
- BrowserDefinitionCollection.cs
- FactoryGenerator.cs
- ServiceBehaviorElement.cs
- FileSecurity.cs
- FixUpCollection.cs
- RoleManagerModule.cs
- WebBrowserContainer.cs
- FixedFindEngine.cs
- SpecialNameAttribute.cs
- SizeChangedEventArgs.cs
- AttachmentService.cs
- BStrWrapper.cs
- ExtensionSimplifierMarkupObject.cs
- GlyphingCache.cs
- PropertyIDSet.cs
- TextRange.cs
- _SslState.cs
- SQLSingleStorage.cs
- DataGridViewButtonCell.cs
- WSTrustDec2005.cs
- IdnMapping.cs
- AstTree.cs
- NetworkStream.cs
- ScrollableControlDesigner.cs
- HtmlElementEventArgs.cs
- SynchronizedCollection.cs
- VarRefManager.cs
- ApplicationSettingsBase.cs
- ListBoxChrome.cs