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
- COAUTHIDENTITY.cs
- SelectedPathEditor.cs
- ThumbAutomationPeer.cs
- Ipv6Element.cs
- Timer.cs
- BidOverLoads.cs
- MaterialGroup.cs
- SoapSchemaImporter.cs
- HashAlgorithm.cs
- ProviderConnectionPoint.cs
- UserValidatedEventArgs.cs
- HostingEnvironmentSection.cs
- XPathNodePointer.cs
- DataSourceDesigner.cs
- KeyGestureConverter.cs
- RedistVersionInfo.cs
- IntSecurity.cs
- CodeTypeConstructor.cs
- RangeValuePattern.cs
- RadioButtonRenderer.cs
- PriorityBinding.cs
- ProfilePropertySettings.cs
- SchemaType.cs
- LinearGradientBrush.cs
- DataSourceSelectArguments.cs
- TypeDescriptor.cs
- RouteParametersHelper.cs
- Mapping.cs
- GenericRootAutomationPeer.cs
- CharEnumerator.cs
- PropertyChangeTracker.cs
- SettingsBindableAttribute.cs
- TextOnlyOutput.cs
- FixedPage.cs
- ScaleTransform3D.cs
- PathGradientBrush.cs
- EdgeProfileValidation.cs
- MultiByteCodec.cs
- ListControlDataBindingHandler.cs
- GiveFeedbackEventArgs.cs
- FileUtil.cs
- PropertyState.cs
- RepeaterItemCollection.cs
- Cursors.cs
- WebPartUtil.cs
- RewritingSimplifier.cs
- XmlElement.cs
- CellTreeSimplifier.cs
- DelegateTypeInfo.cs
- NullableDecimalAverageAggregationOperator.cs
- UserPreferenceChangingEventArgs.cs
- ManagementInstaller.cs
- AmbientLight.cs
- safelink.cs
- MobileContainerDesigner.cs
- LocatorGroup.cs
- DeclarativeCatalogPart.cs
- TabPage.cs
- SerializationException.cs
- CharacterString.cs
- XamlSerializer.cs
- EventLogTraceListener.cs
- AtomMaterializerLog.cs
- XmlSchemaParticle.cs
- XPathMultyIterator.cs
- XmlBinaryReader.cs
- ViewBox.cs
- TypedTableGenerator.cs
- OletxDependentTransaction.cs
- MergeFailedEvent.cs
- UnrecognizedPolicyAssertionElement.cs
- StoryFragments.cs
- StylusButtonEventArgs.cs
- ObjectListCommandEventArgs.cs
- LineServicesCallbacks.cs
- RTLAwareMessageBox.cs
- CssTextWriter.cs
- DataSourceCache.cs
- TextEndOfLine.cs
- RuntimeConfig.cs
- ProcessStartInfo.cs
- ADRoleFactory.cs
- CustomValidator.cs
- DbConnectionStringBuilder.cs
- DocumentReference.cs
- ViewStateModeByIdAttribute.cs
- StickyNoteAnnotations.cs
- SafeBitVector32.cs
- HMACSHA384.cs
- UnsafeNativeMethods.cs
- Compiler.cs
- Util.cs
- ParameterInfo.cs
- Validator.cs
- DictionarySectionHandler.cs
- NativeMethods.cs
- graph.cs
- HTTPNotFoundHandler.cs
- WebConfigurationManager.cs
- AgileSafeNativeMemoryHandle.cs