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
- SmtpNtlmAuthenticationModule.cs
- ManifestResourceInfo.cs
- X509Certificate2Collection.cs
- SizeAnimationClockResource.cs
- PeerName.cs
- MatrixTransform.cs
- RefreshEventArgs.cs
- base64Transforms.cs
- _BaseOverlappedAsyncResult.cs
- DispatchWrapper.cs
- Propagator.ExtentPlaceholderCreator.cs
- SmiConnection.cs
- CodePageEncoding.cs
- PointLight.cs
- XamlClipboardData.cs
- TdsParserSafeHandles.cs
- XsltArgumentList.cs
- CreateUserWizardStep.cs
- FrugalMap.cs
- ISCIIEncoding.cs
- ConfigurationErrorsException.cs
- ThumbButtonInfo.cs
- DebugView.cs
- WebServicesInteroperability.cs
- SQLGuid.cs
- GraphicsPath.cs
- CredentialCache.cs
- XmlEncoding.cs
- Win32MouseDevice.cs
- CompareValidator.cs
- Boolean.cs
- EventLogTraceListener.cs
- Attributes.cs
- ToolboxItemAttribute.cs
- OdbcConnectionHandle.cs
- TypeConverterAttribute.cs
- TextEditorContextMenu.cs
- _IPv4Address.cs
- ValueChangedEventManager.cs
- FontCollection.cs
- Stack.cs
- ExpressionsCollectionConverter.cs
- BitmapMetadataBlob.cs
- NegatedCellConstant.cs
- HMACMD5.cs
- OuterGlowBitmapEffect.cs
- DoubleStorage.cs
- UserControl.cs
- UnsafeNativeMethods.cs
- Int32CAMarshaler.cs
- BufferBuilder.cs
- initElementDictionary.cs
- DataListComponentEditor.cs
- ImageClickEventArgs.cs
- StateRuntime.cs
- EtwTrackingBehaviorElement.cs
- PtsHost.cs
- ToolStripOverflow.cs
- NTAccount.cs
- DataProtection.cs
- SymbolMethod.cs
- ipaddressinformationcollection.cs
- EndEvent.cs
- SqlDependency.cs
- DifferencingCollection.cs
- DataList.cs
- ExcludeFromCodeCoverageAttribute.cs
- DataGridItemCollection.cs
- OutputCacheProfileCollection.cs
- CacheOutputQuery.cs
- OleDbMetaDataFactory.cs
- DemultiplexingClientMessageFormatter.cs
- BitmapEffectInputData.cs
- ToolStripSplitButton.cs
- TransformPattern.cs
- Keyboard.cs
- MessageBodyDescription.cs
- X509CertificateCollection.cs
- DropSource.cs
- StickyNoteContentControl.cs
- MessageBox.cs
- ToolStripPanelCell.cs
- ScrollChrome.cs
- XmlChoiceIdentifierAttribute.cs
- ActiveXSite.cs
- DbConnectionPoolIdentity.cs
- DecoderFallbackWithFailureFlag.cs
- XsdDuration.cs
- IDReferencePropertyAttribute.cs
- MultiBindingExpression.cs
- BitmapMetadataBlob.cs
- EditorBrowsableAttribute.cs
- ProgressBarAutomationPeer.cs
- DataGridViewSelectedRowCollection.cs
- InfiniteTimeSpanConverter.cs
- EarlyBoundInfo.cs
- DependencyPropertyKey.cs
- PropertySourceInfo.cs
- ExecutionContext.cs
- EventManager.cs