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
- HtmlInputReset.cs
- ThreadWorkerController.cs
- MetadataCacheItem.cs
- DSASignatureFormatter.cs
- TrackingProfileCache.cs
- WebPartConnectionsCloseVerb.cs
- MatrixUtil.cs
- Brushes.cs
- LockedBorderGlyph.cs
- FaultCode.cs
- RectValueSerializer.cs
- TypeReference.cs
- InputLangChangeRequestEvent.cs
- _NativeSSPI.cs
- ContentPropertyAttribute.cs
- DbConnectionPoolGroupProviderInfo.cs
- DoubleLink.cs
- CaseCqlBlock.cs
- WebPartExportVerb.cs
- SecurityMessageProperty.cs
- ParallelTimeline.cs
- ReplacementText.cs
- AutomationEvent.cs
- BinaryFormatterWriter.cs
- SystemUdpStatistics.cs
- RotateTransform.cs
- SchemaElementLookUpTable.cs
- EditorPartCollection.cs
- CommonXSendMessage.cs
- NoneExcludedImageIndexConverter.cs
- SecurityState.cs
- HtmlForm.cs
- ContractListAdapter.cs
- SerialErrors.cs
- ObjectDataSourceStatusEventArgs.cs
- Propagator.ExtentPlaceholderCreator.cs
- TextEditorMouse.cs
- PeerPresenceInfo.cs
- GridToolTip.cs
- DbParameterCollectionHelper.cs
- WSFederationHttpSecurityElement.cs
- StickyNoteAnnotations.cs
- ChannelManager.cs
- PageHandlerFactory.cs
- MaterializeFromAtom.cs
- SuppressMergeCheckAttribute.cs
- DriveInfo.cs
- SettingsPropertyValueCollection.cs
- ObjectSecurity.cs
- SharedPerformanceCounter.cs
- BigIntegerStorage.cs
- ToolStripDropDownItem.cs
- SystemResourceKey.cs
- AttachmentCollection.cs
- PrivilegedConfigurationManager.cs
- StrongName.cs
- Point.cs
- TypePropertyEditor.cs
- XmlChildEnumerator.cs
- SqlLiftIndependentRowExpressions.cs
- ResXResourceSet.cs
- SiteMapPath.cs
- Selector.cs
- RandomNumberGenerator.cs
- WindowsGraphicsCacheManager.cs
- OperatingSystem.cs
- ObjectHelper.cs
- IndexedGlyphRun.cs
- DbConnectionPoolGroup.cs
- ColorMatrix.cs
- TdsParserHelperClasses.cs
- ButtonStandardAdapter.cs
- SystemFonts.cs
- SplineKeyFrames.cs
- SelfIssuedAuthProofToken.cs
- XmlArrayItemAttributes.cs
- CSharpCodeProvider.cs
- ProfileGroupSettingsCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- GuidelineCollection.cs
- ObjectManager.cs
- WebConvert.cs
- FlowDocumentFormatter.cs
- OciEnlistContext.cs
- AvTraceFormat.cs
- SpeechRecognizer.cs
- InheritanceUI.cs
- WebSysDefaultValueAttribute.cs
- TimeManager.cs
- FragmentQueryKB.cs
- FileEnumerator.cs
- SqlDataSource.cs
- HttpContextWrapper.cs
- WebReferencesBuildProvider.cs
- Imaging.cs
- shaperfactory.cs
- CompositionTarget.cs
- ColorConvertedBitmap.cs
- CheckBoxDesigner.cs
- TraceUtility.cs