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
- StringResourceManager.cs
- EmptyEnumerator.cs
- SkipQueryOptionExpression.cs
- HtmlInputReset.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- LogicalTreeHelper.cs
- LogEntrySerializer.cs
- DataGridViewCellParsingEventArgs.cs
- BlobPersonalizationState.cs
- PropertyContainer.cs
- DataGridTable.cs
- QuotedPrintableStream.cs
- ValuePattern.cs
- TableLayoutStyle.cs
- HostSecurityManager.cs
- SchemaConstraints.cs
- Stopwatch.cs
- MatrixAnimationUsingPath.cs
- FixedSOMImage.cs
- WindowsStreamSecurityElement.cs
- SmiEventSink.cs
- EnumDataContract.cs
- ChangeProcessor.cs
- DbMetaDataFactory.cs
- TextBlock.cs
- MatrixAnimationBase.cs
- RSAPKCS1SignatureFormatter.cs
- _SSPIWrapper.cs
- ContextStaticAttribute.cs
- XamlPathDataSerializer.cs
- WindowsTokenRoleProvider.cs
- DefaultIfEmptyQueryOperator.cs
- TextElementCollection.cs
- ForwardPositionQuery.cs
- WorkerRequest.cs
- EnterpriseServicesHelper.cs
- AspCompat.cs
- LogicalExpr.cs
- ScrollPatternIdentifiers.cs
- TableLayoutColumnStyleCollection.cs
- MethodAccessException.cs
- SimpleFileLog.cs
- EdmSchemaAttribute.cs
- ButtonChrome.cs
- ActivityTypeDesigner.xaml.cs
- SafeUserTokenHandle.cs
- TimeSpanOrInfiniteConverter.cs
- SimplePropertyEntry.cs
- HelpOperationInvoker.cs
- UnauthorizedWebPart.cs
- ObjectStateFormatter.cs
- TransformGroup.cs
- FlowDocumentPaginator.cs
- TextBoxBase.cs
- _AuthenticationState.cs
- XmlSchemaParticle.cs
- SwitchCase.cs
- SessionState.cs
- ClientTarget.cs
- selecteditemcollection.cs
- XmlMemberMapping.cs
- GlobalizationSection.cs
- XsltSettings.cs
- C14NUtil.cs
- ValueType.cs
- RangeValuePatternIdentifiers.cs
- PropertyNames.cs
- TextTrailingCharacterEllipsis.cs
- XmlProcessingInstruction.cs
- BindingGroup.cs
- ObjectCache.cs
- GatewayDefinition.cs
- FixedDocumentSequencePaginator.cs
- DocumentEventArgs.cs
- SQLMoneyStorage.cs
- Scene3D.cs
- RtfToXamlLexer.cs
- SingleKeyFrameCollection.cs
- UITypeEditors.cs
- CodeDomSerializerBase.cs
- HtmlTextArea.cs
- MSHTMLHost.cs
- BasicViewGenerator.cs
- DispatcherProcessingDisabled.cs
- JapaneseLunisolarCalendar.cs
- RuntimeWrappedException.cs
- EventLogPropertySelector.cs
- AssemblyBuilder.cs
- CapiSymmetricAlgorithm.cs
- CheckedPointers.cs
- XmlSchemaSimpleContent.cs
- SpecialTypeDataContract.cs
- MobileComponentEditorPage.cs
- HostedHttpTransportManager.cs
- BufferedReadStream.cs
- ReturnEventArgs.cs
- PropertyGridView.cs
- COMException.cs
- XmlIncludeAttribute.cs
- CustomAttributeFormatException.cs