Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================ ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityAdapter.cs
- Crypto.cs
- QualifierSet.cs
- RangeEnumerable.cs
- SqlDataSourceCache.cs
- PaperSource.cs
- SafeCryptContextHandle.cs
- AuthenticateEventArgs.cs
- BindUriHelper.cs
- WsatTransactionFormatter.cs
- DrawingContext.cs
- PrtCap_Public.cs
- RIPEMD160Managed.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- NativeMethods.cs
- StateRuntime.cs
- RSAPKCS1SignatureDeformatter.cs
- PreservationFileReader.cs
- BaseValidator.cs
- ArrayHelper.cs
- SmiContextFactory.cs
- PolyQuadraticBezierSegment.cs
- CompensatableSequenceActivity.cs
- UnsafeNativeMethods.cs
- DocumentGridContextMenu.cs
- EdmConstants.cs
- DelegateTypeInfo.cs
- DataGridHelper.cs
- WebSysDisplayNameAttribute.cs
- PropertyRecord.cs
- ActivityDesignerHighlighter.cs
- IPCCacheManager.cs
- BuildProvider.cs
- LicFileLicenseProvider.cs
- StyleHelper.cs
- MetadataException.cs
- QueryCacheEntry.cs
- VisualStyleTypesAndProperties.cs
- RelationshipConverter.cs
- SqlStream.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- EncryptedType.cs
- AnnotationDocumentPaginator.cs
- ExtensionWindow.cs
- PermissionSetTriple.cs
- SmiContextFactory.cs
- ListItemCollection.cs
- VBIdentifierDesigner.xaml.cs
- TrailingSpaceComparer.cs
- ListViewPagedDataSource.cs
- ListViewInsertEventArgs.cs
- RemoteHelper.cs
- Timer.cs
- ConfigXmlText.cs
- Line.cs
- WebConfigurationFileMap.cs
- ZipIOExtraFieldElement.cs
- XmlProcessingInstruction.cs
- TypefaceMetricsCache.cs
- FontEmbeddingManager.cs
- CryptoProvider.cs
- MaterialCollection.cs
- WinEventTracker.cs
- HybridWebProxyFinder.cs
- WebPartTransformer.cs
- CollectionConverter.cs
- CheckBoxAutomationPeer.cs
- PartialCachingAttribute.cs
- ThicknessAnimation.cs
- PropertyGridView.cs
- Matrix3DConverter.cs
- PingOptions.cs
- DefaultTraceListener.cs
- RequestStatusBarUpdateEventArgs.cs
- WebEventTraceProvider.cs
- ConfigurationManagerInternal.cs
- FormsAuthenticationUser.cs
- GatewayDefinition.cs
- RoleService.cs
- XmlAutoDetectWriter.cs
- RawStylusInput.cs
- HtmlEmptyTagControlBuilder.cs
- WindowsSolidBrush.cs
- XmlQueryStaticData.cs
- IdentifierCreationService.cs
- XmlSchemaDatatype.cs
- OleDbPermission.cs
- DbConnectionOptions.cs
- BaseConfigurationRecord.cs
- RuntimeComponentFilter.cs
- CodeValidator.cs
- DefaultTextStoreTextComposition.cs
- VideoDrawing.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextEditorCharacters.cs
- LogEntry.cs
- FlowLayoutPanelDesigner.cs
- NodeLabelEditEvent.cs
- RemotingSurrogateSelector.cs
- CreateUserErrorEventArgs.cs