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
- SQLMoneyStorage.cs
- PlaceHolder.cs
- TemplateComponentConnector.cs
- XsltSettings.cs
- TextMetrics.cs
- IPEndPointCollection.cs
- LicenseContext.cs
- NameTable.cs
- BamlRecordReader.cs
- XNameConverter.cs
- ParserOptions.cs
- PropertyTabAttribute.cs
- ImpersonateTokenRef.cs
- Point3DAnimationBase.cs
- RegionInfo.cs
- _AuthenticationState.cs
- ScriptingProfileServiceSection.cs
- PermissionToken.cs
- NameSpaceExtractor.cs
- OneToOneMappingSerializer.cs
- WorkflowServiceOperationListItem.cs
- DateTimePicker.cs
- ImmComposition.cs
- HotSpot.cs
- SplineQuaternionKeyFrame.cs
- SqlXmlStorage.cs
- XmlValidatingReader.cs
- DeleteMemberBinder.cs
- PropertyAccessVisitor.cs
- SqlUnionizer.cs
- NestPullup.cs
- LinqDataSourceView.cs
- SendKeys.cs
- HtmlHead.cs
- WindowsScrollBarBits.cs
- RegisteredScript.cs
- MethodSignatureGenerator.cs
- ListSortDescriptionCollection.cs
- AsymmetricSignatureFormatter.cs
- DateTimeConstantAttribute.cs
- DesignerMetadata.cs
- SqlRecordBuffer.cs
- MobileComponentEditorPage.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- MinMaxParagraphWidth.cs
- AlignmentYValidation.cs
- UIElement3DAutomationPeer.cs
- InfoCardXmlSerializer.cs
- ServiceDefaults.cs
- ASCIIEncoding.cs
- RuntimeConfig.cs
- DataControlHelper.cs
- EventItfInfo.cs
- TypeCollectionPropertyEditor.cs
- HtmlInputPassword.cs
- WebCategoryAttribute.cs
- DefaultAutoFieldGenerator.cs
- PropertyMetadata.cs
- SmtpCommands.cs
- Version.cs
- ProfileModule.cs
- XmlIterators.cs
- PrintingPermission.cs
- Simplifier.cs
- SQLDateTimeStorage.cs
- AbsoluteQuery.cs
- ResourceDefaultValueAttribute.cs
- LinkButton.cs
- RuntimeHelpers.cs
- SimpleBitVector32.cs
- LazyTextWriterCreator.cs
- RecipientInfo.cs
- HttpConfigurationSystem.cs
- QilInvoke.cs
- WinFormsUtils.cs
- mactripleDES.cs
- ButtonField.cs
- KnownTypes.cs
- ValidationHelper.cs
- PrintDialog.cs
- FormatStringEditor.cs
- PrePrepareMethodAttribute.cs
- RuleSetCollection.cs
- DateTimePicker.cs
- TextEditorParagraphs.cs
- LayoutInformation.cs
- StylusPointCollection.cs
- GenerateTemporaryAssemblyTask.cs
- MenuDesigner.cs
- BitmapEffectDrawing.cs
- UIntPtr.cs
- LongValidator.cs
- BufferBuilder.cs
- CatalogZone.cs
- SystemMulticastIPAddressInformation.cs
- _AutoWebProxyScriptEngine.cs
- ContextProperty.cs
- RenderingBiasValidation.cs
- BaseAutoFormat.cs
- TableItemPattern.cs