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
- DataSourceXmlClassAttribute.cs
- BitmapEffectInput.cs
- GroupBox.cs
- CodeDOMProvider.cs
- TextPointer.cs
- FontUnit.cs
- Attributes.cs
- OrderingQueryOperator.cs
- CurrentChangingEventManager.cs
- DataGridViewTextBoxEditingControl.cs
- DataControlLinkButton.cs
- EventsTab.cs
- ColorConvertedBitmapExtension.cs
- WebPartConnectionsConfigureVerb.cs
- DataGrid.cs
- CannotUnloadAppDomainException.cs
- Collection.cs
- ColumnMapCopier.cs
- DashStyle.cs
- Wildcard.cs
- CodeObjectCreateExpression.cs
- WebEventCodes.cs
- DependencyObjectType.cs
- MultiSelector.cs
- GregorianCalendarHelper.cs
- XPathDescendantIterator.cs
- LiteralSubsegment.cs
- QilCloneVisitor.cs
- BitmapScalingModeValidation.cs
- VisualStyleElement.cs
- ClientScriptManager.cs
- MimeFormReflector.cs
- Roles.cs
- SettingsPropertyIsReadOnlyException.cs
- X509AsymmetricSecurityKey.cs
- StoreItemCollection.Loader.cs
- SignatureGenerator.cs
- TreeView.cs
- EmptyElement.cs
- InlineCollection.cs
- StreamInfo.cs
- BuildProviderAppliesToAttribute.cs
- CodeSubDirectoriesCollection.cs
- SystemWebSectionGroup.cs
- ExcludeFromCodeCoverageAttribute.cs
- CommandSet.cs
- wgx_exports.cs
- SqlErrorCollection.cs
- CharConverter.cs
- DiffuseMaterial.cs
- TaskFactory.cs
- OdbcConnectionOpen.cs
- ComPlusSynchronizationContext.cs
- UrlMapping.cs
- DebugInfoGenerator.cs
- Form.cs
- BaseCodeDomTreeGenerator.cs
- HtmlTableRow.cs
- ObjectQueryState.cs
- PrivilegeNotHeldException.cs
- EntitySqlException.cs
- DisplayInformation.cs
- NTAccount.cs
- SEHException.cs
- ConstrainedGroup.cs
- basecomparevalidator.cs
- ValueConversionAttribute.cs
- TextShapeableCharacters.cs
- BufferedResponseStream.cs
- NotifyParentPropertyAttribute.cs
- FileUpload.cs
- AssemblyName.cs
- NetStream.cs
- FileRecordSequence.cs
- _NegotiateClient.cs
- TransformerConfigurationWizardBase.cs
- SafeNativeMethods.cs
- MD5CryptoServiceProvider.cs
- UserPreferenceChangingEventArgs.cs
- SQLDecimalStorage.cs
- ComboBox.cs
- RNGCryptoServiceProvider.cs
- BlurEffect.cs
- ServiceAuthorizationElement.cs
- DecoderReplacementFallback.cs
- Enlistment.cs
- EntityPropertyMappingAttribute.cs
- SqlDataRecord.cs
- SqlDeflator.cs
- WebPartUtil.cs
- FreezableCollection.cs
- StringWriter.cs
- Point3D.cs
- OutOfMemoryException.cs
- WebReferencesBuildProvider.cs
- GridViewCancelEditEventArgs.cs
- Module.cs
- PaginationProgressEventArgs.cs
- ListViewCommandEventArgs.cs
- SystemWebCachingSectionGroup.cs