Code:
/ DotNET / DotNET / 8.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
- CheckBoxFlatAdapter.cs
- _CacheStreams.cs
- ParameterModifier.cs
- HttpContext.cs
- Pen.cs
- ClientSettingsSection.cs
- ApplicationBuildProvider.cs
- DesigntimeLicenseContext.cs
- PerformanceCountersElement.cs
- BreakRecordTable.cs
- PartialArray.cs
- BaseHashHelper.cs
- ITextView.cs
- HandleExceptionArgs.cs
- ChtmlPhoneCallAdapter.cs
- RelativeSource.cs
- X509AsymmetricSecurityKey.cs
- DocumentSchemaValidator.cs
- ImageField.cs
- IgnoreSection.cs
- METAHEADER.cs
- ResourceDictionary.cs
- StyleHelper.cs
- FormsAuthentication.cs
- ProcessHost.cs
- SafeProcessHandle.cs
- ComponentConverter.cs
- TraceXPathNavigator.cs
- ErrorActivity.cs
- DataGridDetailsPresenterAutomationPeer.cs
- RequestCachePolicy.cs
- OutputScopeManager.cs
- IgnoreSectionHandler.cs
- IListConverters.cs
- GlobalizationAssembly.cs
- PathSegment.cs
- ReadOnlyPermissionSet.cs
- ObjectView.cs
- BitmapEffectDrawingContextState.cs
- LogStream.cs
- BufferedReceiveManager.cs
- CheckBoxFlatAdapter.cs
- DesignTimeValidationFeature.cs
- CultureMapper.cs
- log.cs
- PageSetupDialog.cs
- ClientSponsor.cs
- FontCacheUtil.cs
- ReadWriteSpinLock.cs
- DictionaryMarkupSerializer.cs
- SQLCharsStorage.cs
- SiteMapNodeCollection.cs
- CellTreeNode.cs
- GeneralTransform.cs
- EntityDataSourceDataSelectionPanel.cs
- SinglePhaseEnlistment.cs
- httpapplicationstate.cs
- CollectionsUtil.cs
- LocationUpdates.cs
- InstanceLockTracking.cs
- BlurEffect.cs
- ScrollBarAutomationPeer.cs
- ValidationEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- ZipIOModeEnforcingStream.cs
- BamlResourceContent.cs
- DispatcherHooks.cs
- ApplicationBuildProvider.cs
- ConfigurationManager.cs
- StopStoryboard.cs
- CSharpCodeProvider.cs
- GradientStopCollection.cs
- EventLogger.cs
- QilCloneVisitor.cs
- XamlVector3DCollectionSerializer.cs
- DataGridViewCellParsingEventArgs.cs
- ObjectStateManager.cs
- StdValidatorsAndConverters.cs
- VisualTransition.cs
- FlowLayout.cs
- LocalizationParserHooks.cs
- RequestCache.cs
- Variant.cs
- WebAdminConfigurationHelper.cs
- RootCodeDomSerializer.cs
- DockPatternIdentifiers.cs
- CroppedBitmap.cs
- RegexStringValidatorAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ListArgumentProvider.cs
- _AutoWebProxyScriptEngine.cs
- QueuePathEditor.cs
- AccessedThroughPropertyAttribute.cs
- sitestring.cs
- embossbitmapeffect.cs
- QuotedStringFormatReader.cs
- SelectionItemPattern.cs
- ForwardPositionQuery.cs
- Graph.cs
- WorkBatch.cs