Code:
/ FX-1434 / FX-1434 / 1.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
- FontNamesConverter.cs
- CodeChecksumPragma.cs
- ClientUrlResolverWrapper.cs
- OrderPreservingSpoolingTask.cs
- ElementNotEnabledException.cs
- ParameterElementCollection.cs
- Win32Native.cs
- HostedImpersonationContext.cs
- AutomationElementCollection.cs
- ConstructorNeedsTagAttribute.cs
- TargetControlTypeAttribute.cs
- BufferedWebEventProvider.cs
- ServiceReference.cs
- Grant.cs
- WorkflowTraceTransfer.cs
- State.cs
- HttpServerUtilityBase.cs
- FontUnit.cs
- BinaryMethodMessage.cs
- TraceInternal.cs
- WCFModelStrings.Designer.cs
- SplayTreeNode.cs
- PixelFormatConverter.cs
- Geometry3D.cs
- elementinformation.cs
- SimpleBitVector32.cs
- MdImport.cs
- ElementsClipboardData.cs
- WorkflowRuntime.cs
- FilteredXmlReader.cs
- ColumnPropertiesGroup.cs
- StructuredTypeEmitter.cs
- BinHexEncoder.cs
- XmlChoiceIdentifierAttribute.cs
- PersonalizationProviderHelper.cs
- MinMaxParagraphWidth.cs
- SqlCachedBuffer.cs
- SerializableReadOnlyDictionary.cs
- PreservationFileReader.cs
- RelationshipEndCollection.cs
- TextFindEngine.cs
- DefaultWorkflowLoaderService.cs
- ActiveXHelper.cs
- CultureSpecificStringDictionary.cs
- ColumnCollection.cs
- ExtensionWindowResizeGrip.cs
- IOException.cs
- AccessViolationException.cs
- SqlCommandSet.cs
- Point3DCollection.cs
- LeftCellWrapper.cs
- PropertyNames.cs
- LinkedDataMemberFieldEditor.cs
- MouseBinding.cs
- SqlConnectionPoolGroupProviderInfo.cs
- AssemblyResourceLoader.cs
- GeometryModel3D.cs
- DesignerActionPanel.cs
- GetLastErrorDetailsRequest.cs
- ArgumentOutOfRangeException.cs
- XamlPointCollectionSerializer.cs
- VectorCollectionValueSerializer.cs
- QuinticEase.cs
- GridViewRowPresenterBase.cs
- QilList.cs
- DateTimeSerializationSection.cs
- GridViewRowPresenterBase.cs
- FileRegion.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- QueryContext.cs
- GridViewSortEventArgs.cs
- SerializationEventsCache.cs
- DynamicRenderer.cs
- GeneralTransformGroup.cs
- PageClientProxyGenerator.cs
- DbQueryCommandTree.cs
- ProvidePropertyAttribute.cs
- PrintDialogException.cs
- TypeRefElement.cs
- OperandQuery.cs
- EventProxy.cs
- ClientTargetCollection.cs
- XmlBaseWriter.cs
- BinaryFormatterWriter.cs
- HttpRuntimeSection.cs
- DebuggerAttributes.cs
- MetadataArtifactLoaderResource.cs
- CodeDomConfigurationHandler.cs
- ControlBuilderAttribute.cs
- XmlSigningNodeWriter.cs
- WebDescriptionAttribute.cs
- DrawingGroup.cs
- KernelTypeValidation.cs
- ListViewDeleteEventArgs.cs
- ConfigurationStrings.cs
- BitmapPalettes.cs
- RedirectionProxy.cs
- Stylus.cs
- BinaryConverter.cs
- StretchValidation.cs