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
- DBCSCodePageEncoding.cs
- shaperfactory.cs
- ReachFixedDocumentSerializerAsync.cs
- BindStream.cs
- HandlerFactoryWrapper.cs
- BaseConfigurationRecord.cs
- PrePrepareMethodAttribute.cs
- PreservationFileReader.cs
- EditingMode.cs
- BinaryCommonClasses.cs
- Version.cs
- KeyValuePair.cs
- DBSqlParserTableCollection.cs
- NaturalLanguageHyphenator.cs
- Metafile.cs
- StrokeNodeOperations2.cs
- DataGridParentRows.cs
- CounterCreationDataCollection.cs
- ColorConvertedBitmapExtension.cs
- WindowsListViewItem.cs
- infer.cs
- DataGridState.cs
- StorageModelBuildProvider.cs
- MemoryFailPoint.cs
- ColumnWidthChangingEvent.cs
- DataBindingsDialog.cs
- PathFigure.cs
- BinaryConverter.cs
- MatrixAnimationUsingPath.cs
- DirectoryObjectSecurity.cs
- XmlSchemaSimpleContentRestriction.cs
- WindowAutomationPeer.cs
- QuaternionIndependentAnimationStorage.cs
- SqlParameter.cs
- ToolBarPanel.cs
- Globals.cs
- DateTimeFormatInfo.cs
- XmlSchemaAnnotated.cs
- WebPartUtil.cs
- SolidColorBrush.cs
- DesignerTransactionCloseEvent.cs
- PopupRootAutomationPeer.cs
- WS2007HttpBindingElement.cs
- LocalizeDesigner.cs
- InternalCache.cs
- ToolboxComponentsCreatingEventArgs.cs
- BooleanSwitch.cs
- StateMachine.cs
- _KerberosClient.cs
- MobileCapabilities.cs
- LocatorBase.cs
- FileFormatException.cs
- XmlAttributeCache.cs
- DataContractSerializerSection.cs
- TextEndOfParagraph.cs
- ArraySet.cs
- DataAdapter.cs
- Convert.cs
- ThreadInterruptedException.cs
- KeyedQueue.cs
- DataGridViewRowConverter.cs
- TableRowCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- GenericUriParser.cs
- X509ThumbprintKeyIdentifierClause.cs
- LoadRetryAsyncResult.cs
- ComponentCollection.cs
- QueryStringConverter.cs
- Pool.cs
- NotImplementedException.cs
- ELinqQueryState.cs
- HtmlImage.cs
- autovalidator.cs
- nulltextnavigator.cs
- NestPullup.cs
- ConditionCollection.cs
- AmbientValueAttribute.cs
- ProgressBarHighlightConverter.cs
- Pair.cs
- EmptyElement.cs
- XmlObjectSerializerWriteContextComplex.cs
- TextEditorTyping.cs
- BridgeDataRecord.cs
- LocatorPart.cs
- NamespaceListProperty.cs
- SqlExpander.cs
- FormViewPagerRow.cs
- ManagementInstaller.cs
- HwndPanningFeedback.cs
- SafeEventHandle.cs
- SchemaSetCompiler.cs
- WebPartConnectionsCancelVerb.cs
- SmiContextFactory.cs
- DoubleAverageAggregationOperator.cs
- ErrorsHelper.cs
- StopStoryboard.cs
- ColorPalette.cs
- TransactionScopeDesigner.cs
- TextTreeInsertUndoUnit.cs
- DiffuseMaterial.cs