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
- IndexedGlyphRun.cs
- TokenBasedSet.cs
- SerializationFieldInfo.cs
- DataObjectFieldAttribute.cs
- ModelFactory.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- NetSectionGroup.cs
- OneOfConst.cs
- TemplatedMailWebEventProvider.cs
- DataRecord.cs
- DefaultPropertyAttribute.cs
- FileRecordSequence.cs
- XmlSubtreeReader.cs
- VerticalAlignConverter.cs
- WpfSharedBamlSchemaContext.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ListenerChannelContext.cs
- PathSegmentCollection.cs
- XmlProcessingInstruction.cs
- MetaTableHelper.cs
- SqlHelper.cs
- WebPartEditorOkVerb.cs
- BufferBuilder.cs
- Label.cs
- ConstructorArgumentAttribute.cs
- _NegoState.cs
- PnrpPermission.cs
- ProfileSection.cs
- QueryParameter.cs
- IxmlLineInfo.cs
- ViewSimplifier.cs
- MediaTimeline.cs
- HtmlWindow.cs
- ExceptionHandler.cs
- FaultContractInfo.cs
- CodeMemberEvent.cs
- ViewCellSlot.cs
- MutexSecurity.cs
- DoubleCollectionConverter.cs
- QueryableDataSourceHelper.cs
- _RequestLifetimeSetter.cs
- HeaderedItemsControl.cs
- HierarchicalDataBoundControl.cs
- VScrollBar.cs
- CatalogPart.cs
- SafeLocalMemHandle.cs
- Rect.cs
- UpdateException.cs
- ISO2022Encoding.cs
- OleDbInfoMessageEvent.cs
- MediaTimeline.cs
- Monitor.cs
- StylusTip.cs
- ModelFactory.cs
- DummyDataSource.cs
- Point3DCollectionConverter.cs
- LinearKeyFrames.cs
- StandardBindingOptionalReliableSessionElement.cs
- Camera.cs
- FixedSOMPageElement.cs
- ProtectedConfiguration.cs
- ListViewInsertEventArgs.cs
- TextClipboardData.cs
- UnsafeNativeMethods.cs
- PeerCollaboration.cs
- ComponentDispatcher.cs
- ParseHttpDate.cs
- CngAlgorithm.cs
- ValidateNames.cs
- COM2EnumConverter.cs
- XmlSubtreeReader.cs
- AddInServer.cs
- Metadata.cs
- TextModifier.cs
- PeerDefaultCustomResolverClient.cs
- PagedDataSource.cs
- SamlConstants.cs
- SafeCoTaskMem.cs
- HtmlInputRadioButton.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WMIInterop.cs
- AxImporter.cs
- OverflowException.cs
- ClearTypeHintValidation.cs
- DataRecordInternal.cs
- StringToken.cs
- WCFModelStrings.Designer.cs
- Accessible.cs
- BamlResourceContent.cs
- MediaPlayerState.cs
- ResXDataNode.cs
- ListSortDescription.cs
- LookupNode.cs
- WindowInteropHelper.cs
- XmlReader.cs
- PathSegment.cs
- XmlDigitalSignatureProcessor.cs
- RegexFCD.cs
- GroupBox.cs
- Pkcs9Attribute.cs