Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MasterPageBuildProvider.cs
- MenuItemStyleCollection.cs
- Process.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- DriveInfo.cs
- Vector3DKeyFrameCollection.cs
- WebSysDisplayNameAttribute.cs
- peernodeimplementation.cs
- EntityViewGenerationAttribute.cs
- SecurityTokenParametersEnumerable.cs
- CellNormalizer.cs
- InputProviderSite.cs
- LOSFormatter.cs
- RotationValidation.cs
- GeneralTransform.cs
- PLINQETWProvider.cs
- Calendar.cs
- SafeCryptContextHandle.cs
- ListViewUpdatedEventArgs.cs
- ListSourceHelper.cs
- OleDbPropertySetGuid.cs
- Matrix.cs
- ErrorInfoXmlDocument.cs
- Publisher.cs
- BamlStream.cs
- SchemaInfo.cs
- _ScatterGatherBuffers.cs
- KeyEvent.cs
- XmlElementElementCollection.cs
- InfocardChannelParameter.cs
- WhitespaceRuleLookup.cs
- DeferredReference.cs
- UniqueSet.cs
- AbsoluteQuery.cs
- ColorKeyFrameCollection.cs
- DataControlButton.cs
- shaperfactory.cs
- WebChannelFactory.cs
- StringInfo.cs
- EventHandlerList.cs
- SplitterEvent.cs
- Parameter.cs
- WindowsFormsHostPropertyMap.cs
- ContainsRowNumberChecker.cs
- CustomActivityDesigner.cs
- SchemaType.cs
- ApplicationServiceManager.cs
- RuntimeHelpers.cs
- WebRequest.cs
- BamlWriter.cs
- ObjectSet.cs
- Page.cs
- TypeListConverter.cs
- RadioButton.cs
- ConnectionInterfaceCollection.cs
- webproxy.cs
- SemanticResultValue.cs
- Button.cs
- CompiledQueryCacheEntry.cs
- ColorMatrix.cs
- DbConnectionOptions.cs
- TreeViewHitTestInfo.cs
- ControlParameter.cs
- AssemblyAssociatedContentFileAttribute.cs
- OleDbCommandBuilder.cs
- ActivityStatusChangeEventArgs.cs
- WriterOutput.cs
- ParameterElement.cs
- DefaultCompensation.cs
- KeyManager.cs
- QuaternionAnimation.cs
- SessionState.cs
- DesignerResources.cs
- ObjectIDGenerator.cs
- WindowsTreeView.cs
- QualifiedCellIdBoolean.cs
- StringOutput.cs
- StickyNoteAnnotations.cs
- GridItemProviderWrapper.cs
- CqlLexer.cs
- AssemblyAssociatedContentFileAttribute.cs
- ListBoxChrome.cs
- UIAgentAsyncEndRequest.cs
- PagesChangedEventArgs.cs
- XMLUtil.cs
- DirtyTextRange.cs
- TCEAdapterGenerator.cs
- SelectionUIHandler.cs
- LogEntryDeserializer.cs
- TypeDelegator.cs
- DynamicDocumentPaginator.cs
- DataGridColumnReorderingEventArgs.cs
- WindowsNonControl.cs
- ColumnHeader.cs
- ObjectDataSourceDisposingEventArgs.cs
- SqlRecordBuffer.cs
- WindowsScroll.cs
- StackSpiller.cs
- CustomTypeDescriptor.cs
- ContentPlaceHolder.cs