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
- Subordinate.cs
- FtpRequestCacheValidator.cs
- DatatypeImplementation.cs
- SqlAliasesReferenced.cs
- ConfigXmlAttribute.cs
- MDIControlStrip.cs
- HttpPostedFile.cs
- IncrementalCompileAnalyzer.cs
- IndentTextWriter.cs
- UpdateException.cs
- QuotaThrottle.cs
- SamlAuthorizationDecisionClaimResource.cs
- LinkArea.cs
- ReaderWriterLockSlim.cs
- Dump.cs
- MethodBody.cs
- SizeLimitedCache.cs
- AutomationEventArgs.cs
- LineSegment.cs
- DataSourceSelectArguments.cs
- ResourceBinder.cs
- UnsafeNativeMethods.cs
- FileSystemEventArgs.cs
- ControlCachePolicy.cs
- ActivitySurrogateSelector.cs
- MemberNameValidator.cs
- TdsParameterSetter.cs
- Int32Collection.cs
- QueryExpression.cs
- HttpCookie.cs
- ValidationSummary.cs
- SocketElement.cs
- HttpListenerResponse.cs
- GlyphingCache.cs
- RequiredFieldValidator.cs
- Validator.cs
- EncoderReplacementFallback.cs
- TrackingExtract.cs
- X509ThumbprintKeyIdentifierClause.cs
- Point4D.cs
- XmlElementCollection.cs
- AuthenticationException.cs
- SecurityTokenRequirement.cs
- ConfigXmlElement.cs
- GlyphRunDrawing.cs
- PrePostDescendentsWalker.cs
- StylusDevice.cs
- TableColumnCollection.cs
- IfAction.cs
- DotAtomReader.cs
- DataTableReaderListener.cs
- ToolBarButtonClickEvent.cs
- PolyQuadraticBezierSegment.cs
- SaveCardRequest.cs
- HtmlElementErrorEventArgs.cs
- Calendar.cs
- MutexSecurity.cs
- WebResponse.cs
- RowToFieldTransformer.cs
- SafeHandle.cs
- WindowsBrush.cs
- ItemChangedEventArgs.cs
- Graphics.cs
- WebEventTraceProvider.cs
- HttpPostedFile.cs
- TreeViewCancelEvent.cs
- Panel.cs
- WebPageTraceListener.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ToolStripContainerDesigner.cs
- EmptyReadOnlyDictionaryInternal.cs
- RoleManagerModule.cs
- Storyboard.cs
- EventLog.cs
- IconBitmapDecoder.cs
- FontWeight.cs
- Brush.cs
- HtmlElement.cs
- XmlSerializationGeneratedCode.cs
- CustomAttributeFormatException.cs
- StorageScalarPropertyMapping.cs
- Int32RectValueSerializer.cs
- LabelLiteral.cs
- AnnouncementDispatcherAsyncResult.cs
- BooleanAnimationUsingKeyFrames.cs
- GridViewHeaderRowPresenter.cs
- SqlLiftWhereClauses.cs
- UIHelper.cs
- MetadataUtilsSmi.cs
- SecurityTokenResolver.cs
- CompilerGlobalScopeAttribute.cs
- BasicExpandProvider.cs
- MeshGeometry3D.cs
- _LocalDataStore.cs
- SortDescriptionCollection.cs
- StrongNameMembershipCondition.cs
- HttpSessionStateWrapper.cs
- OdbcCommandBuilder.cs
- XmlSchemaSequence.cs
- CodeTypeMemberCollection.cs