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
- ServicePointManager.cs
- Floater.cs
- ExpressionConverter.cs
- FileUtil.cs
- TableSectionStyle.cs
- ScriptModule.cs
- ZipIOExtraFieldZip64Element.cs
- StatusBar.cs
- _DisconnectOverlappedAsyncResult.cs
- UInt16.cs
- ServicePointManagerElement.cs
- MarkupProperty.cs
- WindowsToolbarItemAsMenuItem.cs
- StatusBarAutomationPeer.cs
- DataObject.cs
- Registry.cs
- CollectionViewGroup.cs
- TabRenderer.cs
- ExceptionUtil.cs
- XpsS0ValidatingLoader.cs
- PathData.cs
- TextInfo.cs
- DurableServiceAttribute.cs
- DocumentViewer.cs
- VersionedStream.cs
- PageParserFilter.cs
- BasicHttpBindingCollectionElement.cs
- entityreference_tresulttype.cs
- TagPrefixCollection.cs
- KeyNotFoundException.cs
- CustomErrorCollection.cs
- TextRangeProviderWrapper.cs
- TabItemWrapperAutomationPeer.cs
- ModelUIElement3D.cs
- TextBoxView.cs
- CheckBoxBaseAdapter.cs
- CancellationState.cs
- TimeSpanValidatorAttribute.cs
- XmlSchemaObjectTable.cs
- XPathDocumentNavigator.cs
- SpecialFolderEnumConverter.cs
- ServiceDiscoveryElement.cs
- ActivityMarkupSerializer.cs
- PropertyMapper.cs
- ConfigurationLoader.cs
- GeneratedContractType.cs
- DeclarativeExpressionConditionDeclaration.cs
- OperationFormatStyle.cs
- ConsoleKeyInfo.cs
- GridViewDeleteEventArgs.cs
- UrlMappingCollection.cs
- EntityRecordInfo.cs
- PersonalizableAttribute.cs
- MetafileHeader.cs
- OperationParameterInfo.cs
- And.cs
- Point3DAnimationUsingKeyFrames.cs
- CircleHotSpot.cs
- Journaling.cs
- CodeNamespace.cs
- RuleRef.cs
- FormsIdentity.cs
- ProfileService.cs
- LicenseProviderAttribute.cs
- DayRenderEvent.cs
- TokenBasedSet.cs
- VerificationException.cs
- RemotingSurrogateSelector.cs
- Encoder.cs
- EventMap.cs
- Pts.cs
- ApplicationContext.cs
- ObjectDataSourceFilteringEventArgs.cs
- MethodExpression.cs
- DoubleLinkListEnumerator.cs
- XmlSchemaObjectTable.cs
- TimeSpanValidator.cs
- Listbox.cs
- JsonServiceDocumentSerializer.cs
- CallbackTimeoutsBehavior.cs
- SignedInfo.cs
- HtmlInputText.cs
- _ChunkParse.cs
- GlyphInfoList.cs
- XmlSchemaImport.cs
- LongValidator.cs
- SQLConvert.cs
- ReturnType.cs
- TraceContext.cs
- DataColumn.cs
- AddInBase.cs
- CommandLibraryHelper.cs
- _AcceptOverlappedAsyncResult.cs
- StatusBarItemAutomationPeer.cs
- MethodRental.cs
- UriSectionReader.cs
- serverconfig.cs
- GroupDescription.cs
- WebPartAuthorizationEventArgs.cs
- Command.cs