Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- GeneralTransform3D.cs
- EntitySetBaseCollection.cs
- BinaryObjectInfo.cs
- DataKeyArray.cs
- MethodExpression.cs
- AnimationException.cs
- SystemInfo.cs
- Scripts.cs
- Calendar.cs
- OleDbWrapper.cs
- CatalogZoneBase.cs
- XmlWhitespace.cs
- BackgroundFormatInfo.cs
- CustomError.cs
- TextAction.cs
- XpsFilter.cs
- SpeechRecognitionEngine.cs
- XNodeValidator.cs
- DependencyPropertyAttribute.cs
- Int64Storage.cs
- PathNode.cs
- SerializationAttributes.cs
- PeerIPHelper.cs
- ProfilePropertySettingsCollection.cs
- SystemInformation.cs
- SectionVisual.cs
- DtrList.cs
- HttpModuleCollection.cs
- SignedXml.cs
- WebPartDescription.cs
- DispatchChannelSink.cs
- PerformanceCounterPermissionEntryCollection.cs
- System.Data_BID.cs
- XmlSiteMapProvider.cs
- WindowsUpDown.cs
- OperatingSystem.cs
- RenderContext.cs
- XmlDataSourceNodeDescriptor.cs
- IIS7UserPrincipal.cs
- xml.cs
- Size3DConverter.cs
- StreamProxy.cs
- TextCharacters.cs
- AnimationClockResource.cs
- AncillaryOps.cs
- QueryComponents.cs
- SurrogateSelector.cs
- FrameworkContentElement.cs
- Types.cs
- SrgsElementFactoryCompiler.cs
- MessageContractExporter.cs
- AttributeConverter.cs
- Delegate.cs
- ISessionStateStore.cs
- DLinqColumnProvider.cs
- WindowsGraphics2.cs
- HashRepartitionEnumerator.cs
- DigitalSignatureProvider.cs
- IndexedGlyphRun.cs
- PropertyInfoSet.cs
- Scheduler.cs
- ScrollableControl.cs
- GeneralTransform3DGroup.cs
- MatchingStyle.cs
- TransactionFlowProperty.cs
- RectAnimationBase.cs
- TypeUtils.cs
- QueryStatement.cs
- EDesignUtil.cs
- WebBrowser.cs
- TargetInvocationException.cs
- shaperfactory.cs
- MediaCommands.cs
- AuthorizationBehavior.cs
- ProcessHost.cs
- Compiler.cs
- ConfigXmlWhitespace.cs
- NativeMethods.cs
- Tracer.cs
- WebSysDescriptionAttribute.cs
- DragEvent.cs
- ProtocolReflector.cs
- ReversePositionQuery.cs
- MonthChangedEventArgs.cs
- ToolStripDropDownButton.cs
- BevelBitmapEffect.cs
- DataTableMapping.cs
- storepermissionattribute.cs
- EntitySqlException.cs
- XslException.cs
- DataTransferEventArgs.cs
- DataTableReaderListener.cs
- FileSecurity.cs
- DrawingContextWalker.cs
- Path.cs
- DataFieldCollectionEditor.cs
- HtmlFormWrapper.cs
- CreateSequence.cs
- EntityDataSourceMemberPath.cs
- __ComObject.cs