Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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() { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Stackframe.cs
- PropertyIDSet.cs
- UIElementParagraph.cs
- InternalTypeHelper.cs
- WebFormDesignerActionService.cs
- EntityClientCacheEntry.cs
- TableProvider.cs
- _HelperAsyncResults.cs
- FocusChangedEventArgs.cs
- GacUtil.cs
- PageThemeCodeDomTreeGenerator.cs
- GeneralTransformGroup.cs
- WebBrowserContainer.cs
- counter.cs
- EdmComplexTypeAttribute.cs
- PanelContainerDesigner.cs
- ProgressBarBrushConverter.cs
- DBBindings.cs
- ResourcesGenerator.cs
- EmissiveMaterial.cs
- MasterPageParser.cs
- ArrayExtension.cs
- RuntimeConfig.cs
- CodeTypeConstructor.cs
- HybridDictionary.cs
- StringFunctions.cs
- MergeFailedEvent.cs
- XmlSchemaInclude.cs
- MatrixAnimationBase.cs
- VariableQuery.cs
- OpCopier.cs
- TimeSpanConverter.cs
- AxParameterData.cs
- ToolboxCategoryItems.cs
- XmlILConstructAnalyzer.cs
- FlowNode.cs
- Transform.cs
- BitConverter.cs
- SmiContextFactory.cs
- DesignerCategoryAttribute.cs
- KeyFrames.cs
- ControllableStoryboardAction.cs
- RecognizerInfo.cs
- NegotiateStream.cs
- DataBinding.cs
- ColumnWidthChangedEvent.cs
- SemanticBasicElement.cs
- LabelLiteral.cs
- TypeSystem.cs
- AuthorizationRule.cs
- WinInetCache.cs
- Vector3DIndependentAnimationStorage.cs
- BinaryObjectInfo.cs
- SqlTypeConverter.cs
- fixedPageContentExtractor.cs
- ConstrainedDataObject.cs
- Membership.cs
- _SSPISessionCache.cs
- xmlsaver.cs
- Util.cs
- XmlElementCollection.cs
- ImageBrush.cs
- InputLangChangeRequestEvent.cs
- SendOperation.cs
- TraceContextRecord.cs
- InvalidWMPVersionException.cs
- UTF7Encoding.cs
- XamlWrappingReader.cs
- RowUpdatedEventArgs.cs
- XPathNodePointer.cs
- QilGeneratorEnv.cs
- Converter.cs
- PrintEvent.cs
- CodeCommentStatement.cs
- XmlQueryOutput.cs
- AdapterUtil.cs
- SequenceDesigner.cs
- SchemaAttDef.cs
- FolderBrowserDialogDesigner.cs
- PersonalizationProvider.cs
- ClientBuildManagerCallback.cs
- RuleInfoComparer.cs
- CollectionType.cs
- PopupRootAutomationPeer.cs
- ToolBarPanel.cs
- GridLength.cs
- WCFServiceClientProxyGenerator.cs
- DbExpressionBuilder.cs
- AdornerHitTestResult.cs
- IApplicationTrustManager.cs
- _HTTPDateParse.cs
- MD5CryptoServiceProvider.cs
- CheckBoxDesigner.cs
- _Events.cs
- SqlPersonalizationProvider.cs
- DebugView.cs
- TransactionInformation.cs
- DbSourceParameterCollection.cs
- DataObject.cs
- TextServicesDisplayAttribute.cs