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
- FigureHelper.cs
- ReachIDocumentPaginatorSerializer.cs
- _Events.cs
- LambdaCompiler.Lambda.cs
- FtpWebResponse.cs
- Application.cs
- PrinterSettings.cs
- DateTimeParse.cs
- ClientType.cs
- TypeUsage.cs
- HttpVersion.cs
- Encoder.cs
- Int64.cs
- Literal.cs
- FSWPathEditor.cs
- Confirm.cs
- AutomationAttributeInfo.cs
- FontCacheLogic.cs
- Parsers.cs
- ExtenderProvidedPropertyAttribute.cs
- Function.cs
- UndirectedGraph.cs
- DataGridViewCellMouseEventArgs.cs
- KeyInterop.cs
- ResourceManagerWrapper.cs
- EntityDataSourceValidationException.cs
- XPathMultyIterator.cs
- NetNamedPipeBinding.cs
- listviewsubitemcollectioneditor.cs
- RegistrationServices.cs
- HttpWriter.cs
- FormsAuthentication.cs
- ThousandthOfEmRealDoubles.cs
- Package.cs
- AccessibleObject.cs
- COM2ExtendedBrowsingHandler.cs
- DesignerVerb.cs
- EmptyQuery.cs
- DesignerEventService.cs
- DetailsViewUpdatedEventArgs.cs
- EncodingNLS.cs
- DiffuseMaterial.cs
- NaturalLanguageHyphenator.cs
- TabRenderer.cs
- EntityDataSourceValidationException.cs
- TextEmbeddedObject.cs
- ObjectDataSourceWizardForm.cs
- ProviderUtil.cs
- HttpCookie.cs
- XPathParser.cs
- HashFinalRequest.cs
- InputScopeManager.cs
- ObjectDataSourceDesigner.cs
- TextServicesContext.cs
- SpStreamWrapper.cs
- InstancePersistenceCommandException.cs
- RawStylusInputCustomDataList.cs
- IndexedEnumerable.cs
- XmlSchemaSimpleType.cs
- Underline.cs
- MethodToken.cs
- XmlBaseWriter.cs
- HandlerWithFactory.cs
- WebPartRestoreVerb.cs
- DesignerTransactionCloseEvent.cs
- XmlBinaryReader.cs
- MatrixTransform.cs
- LicFileLicenseProvider.cs
- CapiSafeHandles.cs
- Crc32Helper.cs
- DocumentXPathNavigator.cs
- KeyConverter.cs
- Boolean.cs
- RecognizedPhrase.cs
- DataServiceClientException.cs
- MultiTargetingUtil.cs
- Win32Native.cs
- ObjectDataSourceMethodEventArgs.cs
- EventWaitHandleSecurity.cs
- WindowsStatusBar.cs
- CompareValidator.cs
- RuleSet.cs
- ConfigurationSectionCollection.cs
- WindowProviderWrapper.cs
- Buffer.cs
- Container.cs
- AccessDataSourceWizardForm.cs
- unitconverter.cs
- HMACRIPEMD160.cs
- RankException.cs
- X509CertificateClaimSet.cs
- InvokeGenerator.cs
- DelegateHelpers.Generated.cs
- WhitespaceRule.cs
- _emptywebproxy.cs
- XmlHierarchicalEnumerable.cs
- SafeNativeMethods.cs
- TextSelectionHelper.cs
- WebHttpSecurity.cs
- Delegate.cs