Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / NonSerializedAttribute.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DashStyles.cs
- FileNameEditor.cs
- AddInEnvironment.cs
- _emptywebproxy.cs
- TableCell.cs
- RenderDataDrawingContext.cs
- CustomErrorsSectionWrapper.cs
- CodeVariableReferenceExpression.cs
- StructuralCache.cs
- ArrangedElement.cs
- RectangleGeometry.cs
- SQLUtility.cs
- DataListCommandEventArgs.cs
- URLAttribute.cs
- FrameworkElementFactory.cs
- SafeReadContext.cs
- SqlNotificationEventArgs.cs
- SequentialOutput.cs
- AssemblyName.cs
- Bitmap.cs
- AccessedThroughPropertyAttribute.cs
- OrderedDictionary.cs
- LineServicesCallbacks.cs
- ListItemCollection.cs
- X509Certificate.cs
- ProfileSection.cs
- ConfigurationElementProperty.cs
- mediaeventshelper.cs
- LongTypeConverter.cs
- ImageListDesigner.cs
- HMACSHA512.cs
- SqlOuterApplyReducer.cs
- TimeSpanConverter.cs
- XmlSchemaIdentityConstraint.cs
- PolicyLevel.cs
- ViewKeyConstraint.cs
- SamlAuthenticationClaimResource.cs
- VisualBrush.cs
- FormViewPagerRow.cs
- EnterpriseServicesHelper.cs
- ContractMapping.cs
- AttachedPropertyMethodSelector.cs
- BridgeDataReader.cs
- DataGridViewComboBoxColumn.cs
- WebBrowserProgressChangedEventHandler.cs
- AutoGeneratedField.cs
- BaseCollection.cs
- TableCell.cs
- CultureSpecificCharacterBufferRange.cs
- SourceFileInfo.cs
- StructuralType.cs
- CodeDomSerializer.cs
- SettingsPropertyNotFoundException.cs
- TogglePatternIdentifiers.cs
- DynamicQueryableWrapper.cs
- DataContext.cs
- XComponentModel.cs
- Light.cs
- NotifyInputEventArgs.cs
- FixUp.cs
- PageParser.cs
- _BasicClient.cs
- RemotingServices.cs
- ManualResetEvent.cs
- BitmapEffectGroup.cs
- Debug.cs
- GeometryCombineModeValidation.cs
- AutomationPatternInfo.cs
- SqlHelper.cs
- EditorResources.cs
- WebServiceHost.cs
- AnchorEditor.cs
- RectangleConverter.cs
- RenderingBiasValidation.cs
- XmlSerializationGeneratedCode.cs
- DictionaryBase.cs
- ScrollChrome.cs
- BindToObject.cs
- Timer.cs
- MediaSystem.cs
- WindowsRebar.cs
- CompilationLock.cs
- OLEDB_Enum.cs
- HtmlControlPersistable.cs
- HttpBrowserCapabilitiesWrapper.cs
- CachedFontFamily.cs
- SharedStatics.cs
- ModuleBuilderData.cs
- NativeMethods.cs
- XmlSchemaAny.cs
- ListViewDataItem.cs
- ToolStripLocationCancelEventArgs.cs
- ErrorInfoXmlDocument.cs
- DataMemberConverter.cs
- NavigationProgressEventArgs.cs
- BamlRecordWriter.cs
- DataServiceQueryOfT.cs
- AppDomainProtocolHandler.cs
- CompilationRelaxations.cs
- WizardPanelChangingEventArgs.cs