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
- XPathNode.cs
- KeyProperty.cs
- IndentedWriter.cs
- ModelPerspective.cs
- UiaCoreProviderApi.cs
- HtmlControlPersistable.cs
- BinaryObjectReader.cs
- ExpressionWriter.cs
- Preprocessor.cs
- SystemMulticastIPAddressInformation.cs
- translator.cs
- GridViewRowPresenter.cs
- EntityDataSourceEntityTypeFilterItem.cs
- MetabaseServerConfig.cs
- RegexFCD.cs
- XmlSignatureManifest.cs
- ToolStripProgressBar.cs
- PageThemeCodeDomTreeGenerator.cs
- DataGridToolTip.cs
- IPGlobalProperties.cs
- IriParsingElement.cs
- DeclaredTypeElement.cs
- Int16KeyFrameCollection.cs
- ExpressionVisitor.cs
- SegmentTree.cs
- AuthenticationServiceManager.cs
- CharAnimationBase.cs
- SimpleWorkerRequest.cs
- GeometryCombineModeValidation.cs
- IdentityReference.cs
- StyleXamlParser.cs
- ELinqQueryState.cs
- HasActivatableWorkflowEvent.cs
- LocalizableResourceBuilder.cs
- Mappings.cs
- CryptoProvider.cs
- CoreSwitches.cs
- BufferedStream.cs
- HideDisabledControlAdapter.cs
- Boolean.cs
- CfgParser.cs
- StoreAnnotationsMap.cs
- ObfuscationAttribute.cs
- DomainUpDown.cs
- CircleHotSpot.cs
- SmiSettersStream.cs
- NamespaceList.cs
- RefExpr.cs
- IsolatedStorageFileStream.cs
- DataGridViewCellPaintingEventArgs.cs
- AssertSection.cs
- BulletDecorator.cs
- BitmapImage.cs
- ApplicationProxyInternal.cs
- DbParameterHelper.cs
- AudioFormatConverter.cs
- RequestResizeEvent.cs
- XmlSchemaComplexType.cs
- HttpChannelFactory.cs
- SHA1Managed.cs
- TCPListener.cs
- ConfigurationCollectionAttribute.cs
- InputLanguageEventArgs.cs
- HierarchicalDataSourceControl.cs
- ToolboxDataAttribute.cs
- FilteredDataSetHelper.cs
- Lasso.cs
- NullableConverter.cs
- BinHexEncoder.cs
- RoutedEventValueSerializer.cs
- DictationGrammar.cs
- TextEffectResolver.cs
- StringUtil.cs
- PrtTicket_Public.cs
- TailCallAnalyzer.cs
- FactoryGenerator.cs
- WebAdminConfigurationHelper.cs
- Vector3DCollectionConverter.cs
- ToolStripGripRenderEventArgs.cs
- contentDescriptor.cs
- AppSecurityManager.cs
- DataSourceNameHandler.cs
- XamlBrushSerializer.cs
- GroupDescription.cs
- FixedSOMImage.cs
- CodeConstructor.cs
- DesignTimeParseData.cs
- MainMenu.cs
- StringSource.cs
- DataGridHeaderBorder.cs
- FilterEventArgs.cs
- Bind.cs
- Floater.cs
- ColumnMapCopier.cs
- ClientFormsIdentity.cs
- QilNode.cs
- UTF7Encoding.cs
- TriggerActionCollection.cs
- SqlColumnizer.cs
- WebPartVerbCollection.cs