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
- ComUdtElementCollection.cs
- ComponentResourceManager.cs
- LinkArea.cs
- WebPartUtil.cs
- HiddenField.cs
- Solver.cs
- GPPOINTF.cs
- CollectionConverter.cs
- PenLineCapValidation.cs
- SqlDataSourceParameterParser.cs
- SyndicationSerializer.cs
- XmlCompatibilityReader.cs
- Normalization.cs
- SharedPersonalizationStateInfo.cs
- DocumentPageHost.cs
- BamlCollectionHolder.cs
- SafeHandle.cs
- ToolStripMenuItem.cs
- ObjectListCommandEventArgs.cs
- XmlSchemaParticle.cs
- ConfigurationException.cs
- MinMaxParagraphWidth.cs
- ResourceReader.cs
- SecurityElement.cs
- EventManager.cs
- TabletDevice.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- BitmapEffectDrawingContent.cs
- OutputCacheSection.cs
- WorkflowInstanceSuspendedRecord.cs
- IxmlLineInfo.cs
- XmlKeywords.cs
- httpserverutility.cs
- RemotingException.cs
- Vector.cs
- ContractNamespaceAttribute.cs
- LinkArea.cs
- Registry.cs
- ServiceDiscoveryBehavior.cs
- TypeElement.cs
- ThemeableAttribute.cs
- GeneralTransform3DTo2DTo3D.cs
- TimerEventSubscription.cs
- IncrementalReadDecoders.cs
- EntitySqlQueryBuilder.cs
- WindowsListBox.cs
- ScriptResourceAttribute.cs
- ManifestSignedXml.cs
- DbConnectionPoolGroupProviderInfo.cs
- QuaternionRotation3D.cs
- XmlValidatingReader.cs
- MdImport.cs
- TypeListConverter.cs
- XmlChildEnumerator.cs
- UnsupportedPolicyOptionsException.cs
- PersonalizableTypeEntry.cs
- ParentQuery.cs
- ExpressionBuilder.cs
- PriorityBinding.cs
- TdsParserSafeHandles.cs
- SqlProviderManifest.cs
- SqlResolver.cs
- OleDbSchemaGuid.cs
- FormConverter.cs
- BuildDependencySet.cs
- StartUpEventArgs.cs
- XmlAnyElementAttributes.cs
- UnsafeNativeMethods.cs
- ImpersonateTokenRef.cs
- QueryReaderSettings.cs
- XmlWriterTraceListener.cs
- SchemaHelper.cs
- _NegoStream.cs
- CombinedGeometry.cs
- SqlTriggerContext.cs
- OdbcParameter.cs
- ColorMatrix.cs
- Item.cs
- RowSpanVector.cs
- LogStore.cs
- AssertValidation.cs
- ConfigPathUtility.cs
- TempFiles.cs
- CodeMethodMap.cs
- ReadOnlyAttribute.cs
- ContentDesigner.cs
- UnsafeNativeMethods.cs
- Point3DAnimationBase.cs
- ExecutedRoutedEventArgs.cs
- EastAsianLunisolarCalendar.cs
- TransformGroup.cs
- TileBrush.cs
- StringSorter.cs
- Transform.cs
- StylusButtonEventArgs.cs
- MarkupCompilePass2.cs
- ZoneIdentityPermission.cs
- FontFamily.cs
- BuildManager.cs
- SqlCacheDependencyDatabase.cs