Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IsolatedStorage.cs
- XmlSchemaSequence.cs
- RectangleConverter.cs
- ToolStripTextBox.cs
- EntityDataSourceValidationException.cs
- DataMisalignedException.cs
- XslVisitor.cs
- Context.cs
- IImplicitResourceProvider.cs
- sqlnorm.cs
- ServicesExceptionNotHandledEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- InputBinding.cs
- InputProviderSite.cs
- FontInfo.cs
- TemplateKey.cs
- CultureTableRecord.cs
- OrderingInfo.cs
- ItemContainerProviderWrapper.cs
- CacheSection.cs
- LinqDataSourceContextEventArgs.cs
- UrlMappingCollection.cs
- SizeAnimation.cs
- TagMapCollection.cs
- InputLanguageSource.cs
- DateTimeParse.cs
- TransformerInfoCollection.cs
- storepermissionattribute.cs
- DataGrid.cs
- AppSettingsReader.cs
- LocalizableAttribute.cs
- ButtonBase.cs
- StreamGeometryContext.cs
- SchemaObjectWriter.cs
- ContextBase.cs
- HtmlShim.cs
- VisualStyleRenderer.cs
- MethodBuilder.cs
- CapabilitiesPattern.cs
- TablePattern.cs
- GridViewUpdateEventArgs.cs
- ToolStripTextBox.cs
- LogConverter.cs
- _UncName.cs
- ExpressionHelper.cs
- ClientOptions.cs
- MustUnderstandBehavior.cs
- AsymmetricSignatureDeformatter.cs
- IPGlobalProperties.cs
- StandardBindingOptionalReliableSessionElement.cs
- ConsumerConnectionPoint.cs
- InkPresenter.cs
- CheckBox.cs
- DataServiceHostWrapper.cs
- PersistenceTypeAttribute.cs
- ToolStripStatusLabel.cs
- GlyphRun.cs
- XmlRawWriter.cs
- RelationshipConstraintValidator.cs
- Symbol.cs
- IODescriptionAttribute.cs
- ServiceDurableInstanceContextProvider.cs
- QuaternionAnimation.cs
- LocatorBase.cs
- Roles.cs
- System.Data_BID.cs
- FastPropertyAccessor.cs
- PropertyMapper.cs
- ValidationRuleCollection.cs
- FormViewUpdatedEventArgs.cs
- FileUtil.cs
- MeasureData.cs
- Stopwatch.cs
- RequestStatusBarUpdateEventArgs.cs
- SqlXmlStorage.cs
- ConfigurationFileMap.cs
- StructuralCache.cs
- ThreadStaticAttribute.cs
- DrawListViewItemEventArgs.cs
- WebPartsSection.cs
- State.cs
- DataGridViewHeaderCell.cs
- HtmlFormWrapper.cs
- TableLayoutPanel.cs
- CultureInfoConverter.cs
- XmlSerializerFormatAttribute.cs
- MethodRental.cs
- DesigntimeLicenseContext.cs
- ConfigurationProperty.cs
- LocalClientSecuritySettings.cs
- ResourcesGenerator.cs
- RegularExpressionValidator.cs
- WebUtil.cs
- HandleRef.cs
- SecurityPermission.cs
- ObjectComplexPropertyMapping.cs
- ByteAnimationUsingKeyFrames.cs
- ProfileProvider.cs
- InternalsVisibleToAttribute.cs
- validationstate.cs