Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // // ==--== /*============================================================ ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StateDesigner.Layouts.cs
- DockProviderWrapper.cs
- DbMetaDataFactory.cs
- _IPv6Address.cs
- WindowsListViewSubItem.cs
- Pens.cs
- SchemaImporterExtension.cs
- PropertyEmitterBase.cs
- SettingsAttributes.cs
- FileRecordSequence.cs
- Attributes.cs
- DrawingGroup.cs
- StrokeCollectionConverter.cs
- SafeReversePInvokeHandle.cs
- TextEndOfSegment.cs
- Renderer.cs
- OdbcFactory.cs
- ipaddressinformationcollection.cs
- DefaultAssemblyResolver.cs
- JapaneseLunisolarCalendar.cs
- Logging.cs
- ValidationPropertyAttribute.cs
- ExpressionBuilderCollection.cs
- ReadingWritingEntityEventArgs.cs
- LazyTextWriterCreator.cs
- TrackingMemoryStreamFactory.cs
- ThreadInterruptedException.cs
- ProfileServiceManager.cs
- DbSetClause.cs
- SystemThemeKey.cs
- CacheDependency.cs
- FeatureSupport.cs
- TypeExtensionSerializer.cs
- BinaryMethodMessage.cs
- BindingGroup.cs
- MultipleViewPattern.cs
- FontWeights.cs
- Thumb.cs
- SystemWebExtensionsSectionGroup.cs
- NativeMethods.cs
- WebPartVerbCollection.cs
- CollectionsUtil.cs
- __ConsoleStream.cs
- OdbcConnectionHandle.cs
- InternalControlCollection.cs
- UnsafeNativeMethodsPenimc.cs
- VirtualizedItemPattern.cs
- AdapterDictionary.cs
- Typeface.cs
- UnsafeNativeMethodsCLR.cs
- WinEventWrap.cs
- EntityDataSourceStatementEditor.cs
- QilCloneVisitor.cs
- ReflectEventDescriptor.cs
- ServiceModelConfigurationSectionGroup.cs
- Camera.cs
- ReaderWriterLock.cs
- ReferenceEqualityComparer.cs
- WindowsFormsHelpers.cs
- DescendentsWalker.cs
- PersonalizationStateQuery.cs
- CorrelationActionMessageFilter.cs
- EntityModelSchemaGenerator.cs
- RuntimeWrappedException.cs
- DataDesignUtil.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Cloud.cs
- DescendantOverDescendantQuery.cs
- ConfigurationPropertyCollection.cs
- GridErrorDlg.cs
- AVElementHelper.cs
- VariableExpressionConverter.cs
- GeometryDrawing.cs
- IntSecurity.cs
- MissingMethodException.cs
- ErrorWebPart.cs
- WindowsListViewItem.cs
- WebServiceHandler.cs
- ListSurrogate.cs
- BookmarkEventArgs.cs
- BCryptSafeHandles.cs
- DataGridParentRows.cs
- CuspData.cs
- SystemFonts.cs
- GenericWebPart.cs
- DeobfuscatingStream.cs
- HttpProfileGroupBase.cs
- XmlEntity.cs
- FixedPageProcessor.cs
- ProfileEventArgs.cs
- MembershipSection.cs
- AssociationType.cs
- EntitySetRetriever.cs
- ComboBox.cs
- PropertyRef.cs
- BindingFormattingDialog.cs
- OrderByBuilder.cs
- IItemContainerGenerator.cs
- NativeMethods.cs
- ProfileInfo.cs