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
- UnionCodeGroup.cs
- CharKeyFrameCollection.cs
- BuildManagerHost.cs
- JsonQNameDataContract.cs
- _NegoStream.cs
- ServiceModelInstallComponent.cs
- HttpListenerResponse.cs
- TransportBindingElement.cs
- RemotingAttributes.cs
- SimplePropertyEntry.cs
- PriorityChain.cs
- HtmlInputButton.cs
- XmlDataSourceView.cs
- PasswordDeriveBytes.cs
- EngineSite.cs
- OutOfMemoryException.cs
- TypeAccessException.cs
- ApplicationSecurityInfo.cs
- PingOptions.cs
- ContentElementAutomationPeer.cs
- httpstaticobjectscollection.cs
- NetPeerTcpBindingCollectionElement.cs
- RuntimeWrappedException.cs
- TypeToStringValueConverter.cs
- Opcode.cs
- Decimal.cs
- HandlerWithFactory.cs
- TranslateTransform.cs
- CaseCqlBlock.cs
- LicenseProviderAttribute.cs
- CodeDirectiveCollection.cs
- TouchDevice.cs
- DataStreamFromComStream.cs
- Transactions.cs
- PrinterResolution.cs
- PagesSection.cs
- SortedList.cs
- FormViewModeEventArgs.cs
- ASCIIEncoding.cs
- SettingsSection.cs
- EdmFunction.cs
- TextProviderWrapper.cs
- XD.cs
- GridItemCollection.cs
- IteratorDescriptor.cs
- ExpressionBuilderCollection.cs
- FtpWebRequest.cs
- ExclusiveCanonicalizationTransform.cs
- PointLight.cs
- UriSectionData.cs
- GradientSpreadMethodValidation.cs
- TypeSystem.cs
- UIPropertyMetadata.cs
- WinFormsUtils.cs
- UrlAuthFailedErrorFormatter.cs
- nulltextcontainer.cs
- SqlTrackingQuery.cs
- CounterCreationDataCollection.cs
- XsdBuildProvider.cs
- SynchronizedDisposablePool.cs
- PerformanceCountersElement.cs
- NativeMethods.cs
- Speller.cs
- HttpCacheVaryByContentEncodings.cs
- FormattedTextSymbols.cs
- XmlNodeChangedEventManager.cs
- Events.cs
- AbandonedMutexException.cs
- DetailsViewUpdatedEventArgs.cs
- SortKey.cs
- BitArray.cs
- Literal.cs
- SharedUtils.cs
- DataControlButton.cs
- CanExecuteRoutedEventArgs.cs
- DynamicUpdateCommand.cs
- XmlSchemaAnnotation.cs
- Propagator.JoinPropagator.cs
- InputManager.cs
- UrlMapping.cs
- LabelEditEvent.cs
- SmiEventSink_DeferedProcessing.cs
- contentDescriptor.cs
- WhitespaceRule.cs
- UniqueCodeIdentifierScope.cs
- ImageUrlEditor.cs
- StringArrayConverter.cs
- RemoteWebConfigurationHost.cs
- ClientReliableChannelBinder.cs
- RangeValueProviderWrapper.cs
- WorkflowOperationBehavior.cs
- DoubleLink.cs
- URL.cs
- SimpleLine.cs
- ByteArrayHelperWithString.cs
- HandlerWithFactory.cs
- RequestResizeEvent.cs
- RTTrackingProfile.cs
- SimpleTableProvider.cs
- ExpressionNode.cs