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
- DbConnectionPoolOptions.cs
- DataExpression.cs
- SHA1.cs
- ToolStripHighContrastRenderer.cs
- ConnectionsZoneDesigner.cs
- ClosableStream.cs
- PropertyChangedEventArgs.cs
- AssemblyBuilder.cs
- QilList.cs
- MessageEventSubscriptionService.cs
- List.cs
- Int32RectValueSerializer.cs
- TableLayoutPanel.cs
- DynamicValidatorEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- XmlSerializerNamespaces.cs
- TypeLibConverter.cs
- PersonalizableAttribute.cs
- FrameworkTextComposition.cs
- ProcessModelInfo.cs
- InputEventArgs.cs
- PlanCompiler.cs
- TypeSemantics.cs
- TypedElement.cs
- ProxyWebPartConnectionCollection.cs
- RenderTargetBitmap.cs
- SimpleTextLine.cs
- XmlWrappingReader.cs
- CodeMemberEvent.cs
- OrderingExpression.cs
- MarshalDirectiveException.cs
- ParseElementCollection.cs
- _SecureChannel.cs
- Rfc2898DeriveBytes.cs
- Label.cs
- DateTimeUtil.cs
- StatementContext.cs
- AttributeUsageAttribute.cs
- CompoundFileIOPermission.cs
- SerialPinChanges.cs
- ClientScriptManagerWrapper.cs
- TailPinnedEventArgs.cs
- SharedMemory.cs
- SamlSerializer.cs
- ResizeBehavior.cs
- Vector3DCollection.cs
- SystemTcpConnection.cs
- HtmlTableRowCollection.cs
- StorageInfo.cs
- VersionedStream.cs
- DataGridHeaderBorder.cs
- ErrorWebPart.cs
- SocketPermission.cs
- StrokeRenderer.cs
- TdsParserStateObject.cs
- WebBrowserPermission.cs
- ManagementObjectCollection.cs
- TimeStampChecker.cs
- Point.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ValidationRule.cs
- ToolStripInSituService.cs
- ManagementEventArgs.cs
- TemplateInstanceAttribute.cs
- ValidationErrorCollection.cs
- GridViewPageEventArgs.cs
- BinHexEncoder.cs
- ThicknessAnimation.cs
- SmiContextFactory.cs
- ReferenceConverter.cs
- SineEase.cs
- wgx_render.cs
- TransformedBitmap.cs
- ListManagerBindingsCollection.cs
- DataGridViewCellStyleBuilderDialog.cs
- WebCategoryAttribute.cs
- CatalogPartChrome.cs
- Graph.cs
- CustomCredentialPolicy.cs
- SingleTagSectionHandler.cs
- ListBoxAutomationPeer.cs
- _NTAuthentication.cs
- UnknownWrapper.cs
- WebRequestModuleElementCollection.cs
- HwndSourceKeyboardInputSite.cs
- DefaultValueTypeConverter.cs
- StrongNameUtility.cs
- HttpCapabilitiesSectionHandler.cs
- UTF7Encoding.cs
- PolicyUnit.cs
- SqlBulkCopyColumnMapping.cs
- ImageField.cs
- SamlAuthenticationClaimResource.cs
- UTF8Encoding.cs
- Transform.cs
- DynamicRendererThreadManager.cs
- SoapParser.cs
- Comparer.cs
- PropertyChangedEventManager.cs
- MultiByteCodec.cs