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
- ListBox.cs
- dataprotectionpermission.cs
- FocusManager.cs
- HttpDigestClientElement.cs
- PathSegment.cs
- SchemaImporter.cs
- DrawingCollection.cs
- CompositeCollectionView.cs
- OutputCacheModule.cs
- CodeAccessPermission.cs
- SqlUserDefinedTypeAttribute.cs
- TableLayoutCellPaintEventArgs.cs
- CodeFieldReferenceExpression.cs
- _Win32.cs
- XmlDigitalSignatureProcessor.cs
- TagMapCollection.cs
- XmlnsCache.cs
- DefaultValidator.cs
- Socket.cs
- SpellerHighlightLayer.cs
- ClientUrlResolverWrapper.cs
- UrlParameterWriter.cs
- Registry.cs
- WpfWebRequestHelper.cs
- OleDbConnection.cs
- TextSimpleMarkerProperties.cs
- FileEnumerator.cs
- WindowsClaimSet.cs
- ObjectStateEntry.cs
- CardSpaceSelector.cs
- Crypto.cs
- BitmapMetadata.cs
- CommandSet.cs
- XPathDocumentNavigator.cs
- ColorConvertedBitmap.cs
- Logging.cs
- EventListener.cs
- DataGridViewToolTip.cs
- RotateTransform3D.cs
- BufferBuilder.cs
- NavigationProperty.cs
- MetadataItemSerializer.cs
- _UriSyntax.cs
- Bold.cs
- Query.cs
- ChangeInterceptorAttribute.cs
- PlatformCulture.cs
- _PooledStream.cs
- AssemblyEvidenceFactory.cs
- GridViewHeaderRowPresenter.cs
- PersonalizationProvider.cs
- SortedSetDebugView.cs
- EdmSchemaAttribute.cs
- Freezable.cs
- TCEAdapterGenerator.cs
- SettingsPropertyNotFoundException.cs
- OleDbParameter.cs
- BamlWriter.cs
- WebPartDescription.cs
- LeftCellWrapper.cs
- WebServiceHostFactory.cs
- StopStoryboard.cs
- ListViewItem.cs
- TemplateControlBuildProvider.cs
- PolyLineSegment.cs
- NumericExpr.cs
- DataGridClipboardCellContent.cs
- HashAlgorithm.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- SafeBitVector32.cs
- TableAdapterManagerHelper.cs
- ScriptComponentDescriptor.cs
- ProviderException.cs
- XmlParser.cs
- HandlerBase.cs
- XmlSchemaAttributeGroupRef.cs
- ValidatedControlConverter.cs
- PageAsyncTaskManager.cs
- ProjectionCamera.cs
- LoadGrammarCompletedEventArgs.cs
- Adorner.cs
- DataGridDesigner.cs
- HtmlUtf8RawTextWriter.cs
- AndMessageFilter.cs
- LocalizationParserHooks.cs
- Stackframe.cs
- InputLanguageSource.cs
- SqlXmlStorage.cs
- VariantWrapper.cs
- WorkflowTransactionService.cs
- _OSSOCK.cs
- mediapermission.cs
- TemplateBindingExtensionConverter.cs
- InternalTransaction.cs
- EntityClientCacheEntry.cs
- XmlILAnnotation.cs
- Material.cs
- ExecutionContext.cs
- ValidatorUtils.cs
- ProviderSettingsCollection.cs