Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DateBoldEvent.cs
- uribuilder.cs
- XpsManager.cs
- WaitHandleCannotBeOpenedException.cs
- arclist.cs
- UIElement3D.cs
- NCryptSafeHandles.cs
- DataGridCellItemAutomationPeer.cs
- ParallelLoopState.cs
- MsmqAuthenticationMode.cs
- COM2TypeInfoProcessor.cs
- CallbackValidator.cs
- PropertyToken.cs
- COMException.cs
- ISCIIEncoding.cs
- BitmapFrameDecode.cs
- AppDomain.cs
- RequiredFieldValidator.cs
- ActivityDesignerHelper.cs
- XslCompiledTransform.cs
- RenderCapability.cs
- TabControlEvent.cs
- IteratorDescriptor.cs
- BezierSegment.cs
- ObjectListDesigner.cs
- StyleXamlParser.cs
- HtmlLink.cs
- AppDomainGrammarProxy.cs
- PropertyStore.cs
- DataTemplate.cs
- TerminateDesigner.cs
- CacheMemory.cs
- AspCompat.cs
- Form.cs
- XsltContext.cs
- MsmqChannelFactoryBase.cs
- TemplateApplicationHelper.cs
- SqlClientFactory.cs
- InvalidProgramException.cs
- bidPrivateBase.cs
- OracleBoolean.cs
- UrlMapping.cs
- ServiceDescriptionSerializer.cs
- ParameterModifier.cs
- FontDialog.cs
- WithParamAction.cs
- BaseTemplateCodeDomTreeGenerator.cs
- HttpListenerException.cs
- Perspective.cs
- DataTableClearEvent.cs
- EventEntry.cs
- XmlSchemaComplexContent.cs
- DataTemplate.cs
- StdValidatorsAndConverters.cs
- SchemaDeclBase.cs
- configsystem.cs
- NameValuePermission.cs
- ImageButton.cs
- ParseChildrenAsPropertiesAttribute.cs
- SByteConverter.cs
- SafePipeHandle.cs
- FormViewInsertEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- PeerContact.cs
- SafeNativeMethods.cs
- base64Transforms.cs
- EventLevel.cs
- InternalConfigConfigurationFactory.cs
- MimeMapping.cs
- ListSurrogate.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DocumentViewerHelper.cs
- IfAction.cs
- CorrelationManager.cs
- DataContractSerializerOperationBehavior.cs
- EntityCommandExecutionException.cs
- HostedElements.cs
- DefaultHttpHandler.cs
- ExpressionBuilder.cs
- SelectionChangedEventArgs.cs
- URLIdentityPermission.cs
- SoapRpcServiceAttribute.cs
- Calendar.cs
- ReflectTypeDescriptionProvider.cs
- WindowsListViewItem.cs
- ProfileBuildProvider.cs
- XmlBindingWorker.cs
- PropertyGeneratedEventArgs.cs
- counter.cs
- RawStylusInputReport.cs
- DomainUpDown.cs
- PingReply.cs
- TrackingMemoryStreamFactory.cs
- BrowsableAttribute.cs
- EdmItemCollection.cs
- SymbolDocumentGenerator.cs
- UserControlBuildProvider.cs
- ToolStripOverflow.cs
- SslStream.cs
- DefaultWorkflowLoaderService.cs