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
- HostProtectionPermission.cs
- StaticFileHandler.cs
- OleCmdHelper.cs
- ValidationResult.cs
- EntityDataSourceUtil.cs
- ComplexPropertyEntry.cs
- DatagramAdapter.cs
- _NTAuthentication.cs
- UIAgentAsyncBeginRequest.cs
- ProfileService.cs
- LogFlushAsyncResult.cs
- FrameworkElementFactoryMarkupObject.cs
- ExpressionBuilderContext.cs
- ClientConvert.cs
- mansign.cs
- CLSCompliantAttribute.cs
- ZeroOpNode.cs
- KeyedHashAlgorithm.cs
- LogWriteRestartAreaState.cs
- TailPinnedEventArgs.cs
- HtmlInputRadioButton.cs
- PaperSize.cs
- CommonGetThemePartSize.cs
- ErrorFormatter.cs
- BitmapData.cs
- StyleBamlRecordReader.cs
- ViewgenGatekeeper.cs
- Encoder.cs
- HMAC.cs
- SqlGenerator.cs
- XmlExceptionHelper.cs
- XmlSerializerFactory.cs
- XmlElementAttributes.cs
- DataControlLinkButton.cs
- XmlDocument.cs
- Sequence.cs
- GlyphElement.cs
- Section.cs
- TextTreeText.cs
- QuaternionAnimationBase.cs
- TransformValueSerializer.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- EntityDataSourceChangingEventArgs.cs
- ListBindableAttribute.cs
- pingexception.cs
- ItemCollection.cs
- ReaderWriterLock.cs
- PropertyDescriptorCollection.cs
- DescriptionAttribute.cs
- Expander.cs
- DivideByZeroException.cs
- BindingExpressionBase.cs
- WindowsAltTab.cs
- CustomLineCap.cs
- arc.cs
- RepeatBehavior.cs
- ISAPIApplicationHost.cs
- TemplateColumn.cs
- XmlValidatingReader.cs
- Parsers.cs
- ParamArrayAttribute.cs
- VirtualPathUtility.cs
- SystemPens.cs
- LayoutInformation.cs
- PinnedBufferMemoryStream.cs
- nulltextnavigator.cs
- FormViewInsertedEventArgs.cs
- _OverlappedAsyncResult.cs
- ChangesetResponse.cs
- SqlParameterCollection.cs
- DocumentReference.cs
- BaseTypeViewSchema.cs
- WebPartConnectionsCancelVerb.cs
- PenThreadWorker.cs
- PersonalizationDictionary.cs
- UIElementHelper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- OptimizerPatterns.cs
- TempFiles.cs
- MessageContractMemberAttribute.cs
- Transactions.cs
- ContactManager.cs
- CharAnimationUsingKeyFrames.cs
- LinearGradientBrush.cs
- DesignerAttribute.cs
- ComboBoxItem.cs
- RuleSet.cs
- ViewManager.cs
- LockRecursionException.cs
- PaintValueEventArgs.cs
- GetPageCompletedEventArgs.cs
- MemberPath.cs
- Facet.cs
- SoapAttributeAttribute.cs
- X509ChainPolicy.cs
- autovalidator.cs
- RegistrySecurity.cs
- HttpApplicationStateBase.cs
- SafeNativeMethods.cs
- DefaultParameterValueAttribute.cs