Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / SerializableAttribute.cs / 1305376 / 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(RuntimeType type) { return (type.Attributes & TypeAttributes.Serializable) == TypeAttributes.Serializable ? new SerializableAttribute() : null; } internal static bool IsDefined(RuntimeType 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
- CodeDirectiveCollection.cs
- CodeVariableDeclarationStatement.cs
- FixedHyperLink.cs
- ReachObjectContext.cs
- OutputCacheModule.cs
- AppSecurityManager.cs
- DoubleLinkList.cs
- StateItem.cs
- ProtectedProviderSettings.cs
- FlagsAttribute.cs
- RangeValuePattern.cs
- CustomLineCap.cs
- EndpointBehaviorElement.cs
- SimpleFieldTemplateFactory.cs
- DecimalAverageAggregationOperator.cs
- LayoutTableCell.cs
- Converter.cs
- UnaryNode.cs
- CharacterBuffer.cs
- ExpressionPrinter.cs
- AdapterUtil.cs
- WS2007HttpBindingCollectionElement.cs
- ExtendedProperty.cs
- DbProviderFactoriesConfigurationHandler.cs
- XmlDocumentSerializer.cs
- TextDecorationUnitValidation.cs
- WeakReadOnlyCollection.cs
- ProfileEventArgs.cs
- ClientRuntimeConfig.cs
- UrlPath.cs
- BitmapEffectCollection.cs
- XslAstAnalyzer.cs
- ThreadStartException.cs
- WebBrowserNavigatingEventHandler.cs
- DrawItemEvent.cs
- RsaSecurityTokenParameters.cs
- PngBitmapEncoder.cs
- AppDomain.cs
- HtmlImage.cs
- TypographyProperties.cs
- _Semaphore.cs
- ResourceAttributes.cs
- ResourcePool.cs
- ObjectDataSource.cs
- DiscardableAttribute.cs
- TranslateTransform.cs
- SystemWebCachingSectionGroup.cs
- WindowsSlider.cs
- RegexCompilationInfo.cs
- RuntimeConfigLKG.cs
- DesigntimeLicenseContext.cs
- ProxyWebPartConnectionCollection.cs
- ObjectDataSource.cs
- EntityUtil.cs
- DataGridViewTextBoxColumn.cs
- ResourceDictionary.cs
- FileLoadException.cs
- TypefaceMetricsCache.cs
- NonNullItemCollection.cs
- XmlSchemaExporter.cs
- ServiceDebugElement.cs
- XmlSigningNodeWriter.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- SimpleBitVector32.cs
- AllMembershipCondition.cs
- ZipIOLocalFileDataDescriptor.cs
- MemberMaps.cs
- ByteStorage.cs
- HtmlShim.cs
- KeyedPriorityQueue.cs
- FormsAuthenticationUserCollection.cs
- SystemIPGlobalStatistics.cs
- Transactions.cs
- VirtualPathExtension.cs
- PropertyTab.cs
- InheritanceContextHelper.cs
- SafeCryptoHandles.cs
- DataGridViewButtonCell.cs
- CalendarTable.cs
- TextTreeRootTextBlock.cs
- BoundField.cs
- PopupEventArgs.cs
- XmlReader.cs
- controlskin.cs
- InstanceDataCollectionCollection.cs
- HyperLinkField.cs
- ProjectionPathBuilder.cs
- FixedTextView.cs
- MetadataUtil.cs
- LineMetrics.cs
- LeftCellWrapper.cs
- SqlEnums.cs
- RectAnimationClockResource.cs
- IfAction.cs
- GorillaCodec.cs
- DbDataAdapter.cs
- Byte.cs
- Decorator.cs
- ServiceCredentialsElement.cs
- HandlerBase.cs