Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Style.cs
- XhtmlTextWriter.cs
- AffineTransform3D.cs
- DefaultPrintController.cs
- BookmarkEventArgs.cs
- DataSourceControl.cs
- RemoveStoryboard.cs
- KeyMatchBuilder.cs
- ContainerUIElement3D.cs
- ContainerUIElement3D.cs
- TypeInfo.cs
- InvokeMethodActivity.cs
- ColumnResizeUndoUnit.cs
- CheckBox.cs
- BamlRecordReader.cs
- SqlTypeSystemProvider.cs
- IdentityManager.cs
- WsdlImporterElementCollection.cs
- ObjectConverter.cs
- JournalEntryListConverter.cs
- SqlTriggerAttribute.cs
- StandardMenuStripVerb.cs
- DesignTableCollection.cs
- ObjectQuery_EntitySqlExtensions.cs
- QuaternionAnimationBase.cs
- NumericUpDownAccelerationCollection.cs
- DataRecordInfo.cs
- WorkItem.cs
- SafeFileMappingHandle.cs
- OwnerDrawPropertyBag.cs
- DataGridViewRowHeaderCell.cs
- GridViewColumn.cs
- WebBrowserDocumentCompletedEventHandler.cs
- StrokeNodeEnumerator.cs
- TextBoxBase.cs
- XmlSecureResolver.cs
- DataServiceContext.cs
- Funcletizer.cs
- NameValueSectionHandler.cs
- ICspAsymmetricAlgorithm.cs
- DataTableCollection.cs
- DesignerForm.cs
- SQLUtility.cs
- NamespaceEmitter.cs
- HtmlInputCheckBox.cs
- ImageButton.cs
- BaseTreeIterator.cs
- RequestCacheEntry.cs
- SecurityTokenContainer.cs
- AutoSizeComboBox.cs
- BitSet.cs
- BindingsCollection.cs
- DrawingContextWalker.cs
- Transform.cs
- AngleUtil.cs
- SystemIPAddressInformation.cs
- TriggerCollection.cs
- UnsafeNativeMethodsMilCoreApi.cs
- CodeMemberEvent.cs
- Animatable.cs
- GridViewHeaderRowPresenter.cs
- HierarchicalDataTemplate.cs
- RoleGroup.cs
- XmlTextWriter.cs
- Command.cs
- HttpCacheVaryByContentEncodings.cs
- MetadataUtil.cs
- TemplatedWizardStep.cs
- ExceptionUtil.cs
- Pen.cs
- StringFunctions.cs
- TransformValueSerializer.cs
- DefaultTextStore.cs
- QilName.cs
- HtmlControlPersistable.cs
- PersonalizationStateInfo.cs
- TransformerInfoCollection.cs
- DurationConverter.cs
- TransactionFlowBindingElementImporter.cs
- TextRangeEditLists.cs
- Timer.cs
- InheritanceContextHelper.cs
- RadioButtonStandardAdapter.cs
- ButtonFieldBase.cs
- Label.cs
- GradientStop.cs
- ObfuscationAttribute.cs
- UIElementParagraph.cs
- PageCache.cs
- CompositeFontFamily.cs
- VisualStyleRenderer.cs
- StringSource.cs
- NamespaceEmitter.cs
- CutCopyPasteHelper.cs
- AttributeData.cs
- LogAppendAsyncResult.cs
- OutputScope.cs
- PolyBezierSegmentFigureLogic.cs
- StructuredType.cs
- TransformedBitmap.cs