Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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() { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripComboBox.cs
- AvTrace.cs
- PrinterUnitConvert.cs
- JournalEntryStack.cs
- MessageSecurityOverMsmqElement.cs
- AutoScrollHelper.cs
- CustomCredentialPolicy.cs
- OrderByQueryOptionExpression.cs
- ElementHostPropertyMap.cs
- ImpersonationContext.cs
- BitmapImage.cs
- HwndSourceKeyboardInputSite.cs
- CatalogPartChrome.cs
- BuildProvider.cs
- CharacterMetricsDictionary.cs
- Vector3DAnimation.cs
- String.cs
- Message.cs
- UserPreferenceChangingEventArgs.cs
- __ComObject.cs
- ErrorRuntimeConfig.cs
- XamlTemplateSerializer.cs
- LessThanOrEqual.cs
- TableProviderWrapper.cs
- TypeUtils.cs
- _ConnectionGroup.cs
- BaseAddressPrefixFilterElement.cs
- XPathAxisIterator.cs
- BufferedGraphicsContext.cs
- SmtpException.cs
- BooleanStorage.cs
- OracleCommand.cs
- BaseCollection.cs
- ScrollViewer.cs
- ColorPalette.cs
- SignatureDescription.cs
- SmtpNtlmAuthenticationModule.cs
- WindowsRichEdit.cs
- PointConverter.cs
- DoubleStorage.cs
- ListViewSelectEventArgs.cs
- CryptoHelper.cs
- SqlGenericUtil.cs
- UInt32Storage.cs
- _NegotiateClient.cs
- Filter.cs
- TemplatedMailWebEventProvider.cs
- SymDocumentType.cs
- SerializerProvider.cs
- CodeNamespaceImport.cs
- QueryTask.cs
- EntryIndex.cs
- HMACSHA256.cs
- UnauthorizedWebPart.cs
- DirectoryInfo.cs
- DateTimeOffset.cs
- XmlProcessingInstruction.cs
- GroupBoxAutomationPeer.cs
- Predicate.cs
- formatter.cs
- AndCondition.cs
- KnownBoxes.cs
- PropertyBuilder.cs
- ErrorActivity.cs
- Composition.cs
- AttributeProviderAttribute.cs
- ToolStripRenderEventArgs.cs
- CounterSet.cs
- AnnouncementEndpointElement.cs
- PenThreadPool.cs
- ping.cs
- ValidatingPropertiesEventArgs.cs
- DesignerTransaction.cs
- WindowsFormsHelpers.cs
- VariableQuery.cs
- HttpBrowserCapabilitiesBase.cs
- AssociationType.cs
- TextRenderer.cs
- CompModSwitches.cs
- LayoutInformation.cs
- _DigestClient.cs
- ParserOptions.cs
- ParameterBuilder.cs
- BoolExpr.cs
- FormViewDeletedEventArgs.cs
- TabPage.cs
- ZipIOModeEnforcingStream.cs
- DefaultValueTypeConverter.cs
- HtmlShim.cs
- CollaborationHelperFunctions.cs
- unitconverter.cs
- UInt32.cs
- FixedTextBuilder.cs
- FixedSOMTableRow.cs
- EntityViewGenerationConstants.cs
- WebPartDisplayModeCollection.cs
- NamedPermissionSet.cs
- PopupRootAutomationPeer.cs
- DiagnosticsElement.cs
- ValueProviderWrapper.cs