Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextReader.cs
- Gdiplus.cs
- CheckedPointers.cs
- TextProviderWrapper.cs
- QueryStringParameter.cs
- StatusBarAutomationPeer.cs
- RoleGroup.cs
- EndpointFilterProvider.cs
- PageBuildProvider.cs
- ZipFileInfoCollection.cs
- FormatSettings.cs
- ApplicationBuildProvider.cs
- SessionStateSection.cs
- StringValidatorAttribute.cs
- ExpressionNode.cs
- WorkflowServiceBehavior.cs
- TablePatternIdentifiers.cs
- WebUtility.cs
- TrackBarRenderer.cs
- BuildProviderUtils.cs
- ProgressBarBrushConverter.cs
- _DisconnectOverlappedAsyncResult.cs
- FilterException.cs
- HttpInputStream.cs
- XmlElementElementCollection.cs
- FullTextBreakpoint.cs
- FontStretchConverter.cs
- ParallelTimeline.cs
- ObjectItemCollection.cs
- BufferModeSettings.cs
- KeyPressEvent.cs
- Queue.cs
- InternalResources.cs
- DescendantQuery.cs
- DbDataSourceEnumerator.cs
- TextTreeInsertUndoUnit.cs
- HttpsChannelFactory.cs
- DependencyPropertyAttribute.cs
- ArrangedElement.cs
- FlowLayoutSettings.cs
- DocumentXPathNavigator.cs
- FlowDocumentFormatter.cs
- AddInEnvironment.cs
- BevelBitmapEffect.cs
- X509ImageLogo.cs
- RelatedView.cs
- RectangleGeometry.cs
- AsymmetricCryptoHandle.cs
- Span.cs
- FileDialogPermission.cs
- ThreadAbortException.cs
- TreeNodeMouseHoverEvent.cs
- DebugView.cs
- CommandManager.cs
- InternalCache.cs
- RefreshPropertiesAttribute.cs
- DataGridViewRowsAddedEventArgs.cs
- FormatConvertedBitmap.cs
- ExpressionPrefixAttribute.cs
- Trigger.cs
- PolicyVersionConverter.cs
- Paragraph.cs
- ScriptResourceDefinition.cs
- BitmapEffectGeneralTransform.cs
- SQLByte.cs
- CounterCreationDataCollection.cs
- ListViewDeletedEventArgs.cs
- ImageIndexConverter.cs
- ViewPort3D.cs
- BamlResourceContent.cs
- CollectionView.cs
- InstanceOwner.cs
- CachedPathData.cs
- XmlDataImplementation.cs
- BitmapEffectOutputConnector.cs
- TreeIterators.cs
- PropertyDescriptorComparer.cs
- _NegoStream.cs
- ResetableIterator.cs
- ToolStripSettings.cs
- DragEvent.cs
- InternalTypeHelper.cs
- SecurityTokenResolver.cs
- SecurityDescriptor.cs
- EntityKey.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- RenderingEventArgs.cs
- _NTAuthentication.cs
- WebHeaderCollection.cs
- ExpressionBuilder.cs
- MutexSecurity.cs
- LineSegment.cs
- StateMachine.cs
- login.cs
- StandardOleMarshalObject.cs
- BridgeDataRecord.cs
- CryptoHandle.cs
- GatewayIPAddressInformationCollection.cs
- DataPager.cs
- ListGeneralPage.cs