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
- DateTimeValueSerializerContext.cs
- TypeLoadException.cs
- ProxyHwnd.cs
- OutputCacheModule.cs
- ControlUtil.cs
- oledbconnectionstring.cs
- DBSqlParserTable.cs
- FixedTextView.cs
- FeatureSupport.cs
- TagNameToTypeMapper.cs
- HttpCachePolicy.cs
- Cloud.cs
- SetIndexBinder.cs
- SystemColors.cs
- MeshGeometry3D.cs
- XmlDocumentFragment.cs
- SqlBooleanizer.cs
- StickyNoteHelper.cs
- AssociationTypeEmitter.cs
- GlobalProxySelection.cs
- XmlSchemaParticle.cs
- FlowDecisionDesigner.xaml.cs
- Internal.cs
- ListViewInsertEventArgs.cs
- HandoffBehavior.cs
- ToolStripTemplateNode.cs
- CollectionViewSource.cs
- DataKey.cs
- RegexTypeEditor.cs
- SimpleHandlerFactory.cs
- ConnectionConsumerAttribute.cs
- MarkupExtensionReturnTypeAttribute.cs
- WindowsGraphics2.cs
- DesignerAttribute.cs
- FixedNode.cs
- PrintPreviewDialog.cs
- InlineUIContainer.cs
- ButtonPopupAdapter.cs
- DrawingAttributes.cs
- RelationshipWrapper.cs
- Propagator.Evaluator.cs
- ClientRolePrincipal.cs
- securitycriticaldataClass.cs
- QueryStringParameter.cs
- _FtpControlStream.cs
- MissingSatelliteAssemblyException.cs
- FixedDocumentSequencePaginator.cs
- PagePropertiesChangingEventArgs.cs
- QilIterator.cs
- invalidudtexception.cs
- LoadMessageLogger.cs
- AddInActivator.cs
- ScrollEvent.cs
- WebConfigurationFileMap.cs
- EntityClientCacheKey.cs
- NodeLabelEditEvent.cs
- XmlQueryContext.cs
- NativeMethodsCLR.cs
- CompModSwitches.cs
- SystemSounds.cs
- DataGridViewTopLeftHeaderCell.cs
- Size.cs
- XmlSchemaSimpleContentRestriction.cs
- LinkLabel.cs
- EditableTreeList.cs
- CollectionsUtil.cs
- ToolboxComponentsCreatingEventArgs.cs
- InternalUserCancelledException.cs
- StorageEndPropertyMapping.cs
- FrameworkContentElement.cs
- InteropBitmapSource.cs
- AnnouncementService.cs
- MsmqInputSessionChannel.cs
- CLRBindingWorker.cs
- DbConnectionOptions.cs
- CallId.cs
- ViewStateModeByIdAttribute.cs
- LightweightCodeGenerator.cs
- InstanceView.cs
- PreloadedPackages.cs
- SpeakInfo.cs
- DataGridViewCheckBoxCell.cs
- ItemList.cs
- TextRange.cs
- OleAutBinder.cs
- IndexerHelper.cs
- SystemColors.cs
- Compiler.cs
- ClientRuntimeConfig.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TextEffectResolver.cs
- ProviderCommandInfoUtils.cs
- TypeReference.cs
- Vector3DCollection.cs
- ConvertTextFrag.cs
- InternalPermissions.cs
- DataGridHelper.cs
- OleDbRowUpdatingEvent.cs
- DispatcherEventArgs.cs
- Point3DIndependentAnimationStorage.cs