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
- SizeChangedInfo.cs
- RoutedPropertyChangedEventArgs.cs
- FormViewDeletedEventArgs.cs
- HyperLink.cs
- CapacityStreamGeometryContext.cs
- SQLByte.cs
- ServiceDebugElement.cs
- BaseParser.cs
- UserNameSecurityTokenAuthenticator.cs
- DataControlCommands.cs
- WinFormsComponentEditor.cs
- UndoUnit.cs
- OpenTypeLayout.cs
- DispatchWrapper.cs
- DiscreteKeyFrames.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Converter.cs
- StrongNameIdentityPermission.cs
- CodeIdentifier.cs
- DecimalAnimationUsingKeyFrames.cs
- TextDecoration.cs
- EventlogProvider.cs
- XpsResourcePolicy.cs
- GacUtil.cs
- SpecularMaterial.cs
- ObjectDisposedException.cs
- storepermission.cs
- ZipIOExtraFieldElement.cs
- ArgumentValueSerializer.cs
- WindowsFormsLinkLabel.cs
- CodeTryCatchFinallyStatement.cs
- UITypeEditor.cs
- AlignmentXValidation.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- hwndwrapper.cs
- ProxyWebPartConnectionCollection.cs
- CalloutQueueItem.cs
- SamlAction.cs
- DataPagerFieldCommandEventArgs.cs
- DmlSqlGenerator.cs
- FlowSwitchDesigner.xaml.cs
- ScrollItemProviderWrapper.cs
- PenContext.cs
- XmlNavigatorStack.cs
- validation.cs
- ImagingCache.cs
- GradientSpreadMethodValidation.cs
- Serializer.cs
- DbParameterCollectionHelper.cs
- DatatypeImplementation.cs
- BooleanStorage.cs
- DataServiceResponse.cs
- LayoutSettings.cs
- OrderedDictionary.cs
- AutomationPropertyInfo.cs
- InstanceDataCollection.cs
- MethodRental.cs
- InternalsVisibleToAttribute.cs
- SchemaComplexType.cs
- DataPagerCommandEventArgs.cs
- AncestorChangedEventArgs.cs
- StaticTextPointer.cs
- BevelBitmapEffect.cs
- ListViewItemMouseHoverEvent.cs
- ActivityCodeDomSerializer.cs
- DateTimeParse.cs
- ConfigurationException.cs
- TraceLevelStore.cs
- WindowsAltTab.cs
- InputMethodStateChangeEventArgs.cs
- NavigationWindowAutomationPeer.cs
- DataServiceRequest.cs
- DataGridViewColumn.cs
- XmlReader.cs
- ForeignKeyConstraint.cs
- Int64AnimationBase.cs
- XsdBuildProvider.cs
- SqlRetyper.cs
- ArrayHelper.cs
- ExtenderControl.cs
- TraceContext.cs
- RuleSetBrowserDialog.cs
- CredentialCache.cs
- IteratorFilter.cs
- Module.cs
- XmlTextWriter.cs
- NestPullup.cs
- XmlSchemaSet.cs
- ToolStripSystemRenderer.cs
- BinaryOperationBinder.cs
- GraphicsContainer.cs
- PageAsyncTask.cs
- AmbientValueAttribute.cs
- ByteArrayHelperWithString.cs
- XmlCustomFormatter.cs
- Transform3DCollection.cs
- HtmlLink.cs
- contentDescriptor.cs
- AutomationEvent.cs
- CommonXSendMessage.cs