Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / NonSerializedAttribute.cs / 1 / NonSerializedAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: NonSerializedAttribute ** ** ** Purpose: Used to mark a member as being not-serialized ** ** ============================================================*/ namespace System { using System.Reflection; [AttributeUsage(AttributeTargets.Field, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class NonSerializedAttribute : Attribute { internal static Attribute GetCustomAttribute(RuntimeFieldInfo field) { if ((field.Attributes & FieldAttributes.NotSerialized) == 0) return null; return new NonSerializedAttribute(); } internal static bool IsDefined(RuntimeFieldInfo field) { return (field.Attributes & FieldAttributes.NotSerialized) != 0; } public NonSerializedAttribute() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: NonSerializedAttribute ** ** ** Purpose: Used to mark a member as being not-serialized ** ** ============================================================*/ namespace System { using System.Reflection; [AttributeUsage(AttributeTargets.Field, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class NonSerializedAttribute : Attribute { internal static Attribute GetCustomAttribute(RuntimeFieldInfo field) { if ((field.Attributes & FieldAttributes.NotSerialized) == 0) return null; return new NonSerializedAttribute(); } internal static bool IsDefined(RuntimeFieldInfo field) { return (field.Attributes & FieldAttributes.NotSerialized) != 0; } public NonSerializedAttribute() { } } } // 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
- PolicyLevel.cs
- InvalidComObjectException.cs
- PlainXmlSerializer.cs
- CodeCommentStatementCollection.cs
- TypeConverterAttribute.cs
- ButtonFieldBase.cs
- EnumBuilder.cs
- FtpWebResponse.cs
- WindowsScrollBar.cs
- TreeViewImageIndexConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- DataObjectAttribute.cs
- SizeConverter.cs
- TextAnchor.cs
- PageThemeParser.cs
- PanelStyle.cs
- JumpTask.cs
- ProofTokenCryptoHandle.cs
- HandleValueEditor.cs
- PlanCompiler.cs
- Event.cs
- UrlRoutingModule.cs
- XPathNodeIterator.cs
- EntitySetBaseCollection.cs
- PolyLineSegmentFigureLogic.cs
- GridViewEditEventArgs.cs
- InvalidFilterCriteriaException.cs
- XmlSchemaComplexContentExtension.cs
- AnonymousIdentificationSection.cs
- ChangeTracker.cs
- ResourceContainer.cs
- _ConnectStream.cs
- ListMarkerLine.cs
- formatter.cs
- JsonFormatReaderGenerator.cs
- ObjRef.cs
- CommunicationObjectFaultedException.cs
- LinqDataSource.cs
- DataGridViewCell.cs
- DataGridViewRowsAddedEventArgs.cs
- BindingCompleteEventArgs.cs
- OpenTypeLayout.cs
- WebPartEventArgs.cs
- DataGridViewColumn.cs
- NameValueFileSectionHandler.cs
- CodeCommentStatement.cs
- hwndwrapper.cs
- WindowsSolidBrush.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- HtmlToClrEventProxy.cs
- BitmapSizeOptions.cs
- IsolatedStorageException.cs
- SiteIdentityPermission.cs
- Oid.cs
- _Rfc2616CacheValidators.cs
- MimeMultiPart.cs
- NativeCppClassAttribute.cs
- InfoCardUIAgent.cs
- _ShellExpression.cs
- GridViewColumnCollection.cs
- Control.cs
- MetadataItem.cs
- EntityEntry.cs
- DrawingCollection.cs
- _AcceptOverlappedAsyncResult.cs
- SectionRecord.cs
- DbConnectionPoolOptions.cs
- TextRangeEdit.cs
- ConfigurationPropertyCollection.cs
- DefaultAssemblyResolver.cs
- CodeExporter.cs
- MenuAdapter.cs
- SystemIPGlobalProperties.cs
- CodeIdentifier.cs
- UndoManager.cs
- CharStorage.cs
- CacheEntry.cs
- TransactionManager.cs
- CodeActivityMetadata.cs
- OleDbStruct.cs
- InputMethod.cs
- TargetPerspective.cs
- UrlParameterReader.cs
- ToolStripDesignerUtils.cs
- Polygon.cs
- TabPage.cs
- EndpointAddressMessageFilter.cs
- StoryFragments.cs
- MouseCaptureWithinProperty.cs
- LabelEditEvent.cs
- ImageConverter.cs
- TcpDuplicateContext.cs
- CompiledRegexRunnerFactory.cs
- StorageConditionPropertyMapping.cs
- SyndicationLink.cs
- ClickablePoint.cs
- dataprotectionpermissionattribute.cs
- GiveFeedbackEventArgs.cs
- LightweightCodeGenerator.cs
- MouseButtonEventArgs.cs