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
- DiscreteKeyFrames.cs
- NestedContainer.cs
- BrowserCapabilitiesFactoryBase.cs
- SiteMapSection.cs
- SqlBooleanizer.cs
- AuthStoreRoleProvider.cs
- IIS7WorkerRequest.cs
- XsdDateTime.cs
- SqlGenerator.cs
- SchemaComplexType.cs
- ModelChangedEventArgsImpl.cs
- Single.cs
- UrlRoutingModule.cs
- CompositeFontInfo.cs
- WsatEtwTraceListener.cs
- _KerberosClient.cs
- DesignTimeValidationFeature.cs
- EntityDataSourceQueryBuilder.cs
- OlePropertyStructs.cs
- EventHandlingScope.cs
- IgnoreFlushAndCloseStream.cs
- MatrixKeyFrameCollection.cs
- Evaluator.cs
- OdbcParameter.cs
- XsdBuilder.cs
- JsonDeserializer.cs
- EntityKey.cs
- ValidationEventArgs.cs
- CollectionChangedEventManager.cs
- Size.cs
- LogicalCallContext.cs
- ObjectKeyFrameCollection.cs
- DirectoryLocalQuery.cs
- OrCondition.cs
- EnumerableRowCollectionExtensions.cs
- SystemIcons.cs
- NativeCppClassAttribute.cs
- IsolatedStorageFilePermission.cs
- FileIOPermission.cs
- PrimitiveType.cs
- GlyphTypeface.cs
- FontFamily.cs
- FontFaceLayoutInfo.cs
- ObjectStorage.cs
- SerializationObjectManager.cs
- ValueTypeFixupInfo.cs
- WorkflowLayouts.cs
- SecurityKeyEntropyMode.cs
- NameService.cs
- WebPartAuthorizationEventArgs.cs
- KeyValueSerializer.cs
- DataRowCollection.cs
- RemotingException.cs
- OpenTypeCommon.cs
- EntityCommandCompilationException.cs
- SourceItem.cs
- HtmlSelect.cs
- DataErrorValidationRule.cs
- DataSourceCache.cs
- WebGetAttribute.cs
- AssemblyNameUtility.cs
- DocComment.cs
- DrawListViewItemEventArgs.cs
- AppDomain.cs
- TraceHandler.cs
- SchemaNamespaceManager.cs
- IERequestCache.cs
- DelegatingTypeDescriptionProvider.cs
- ExpressionBuilderCollection.cs
- DataKey.cs
- GeometryDrawing.cs
- NumericUpDown.cs
- SqlTriggerAttribute.cs
- CheckedListBox.cs
- FieldTemplateFactory.cs
- ConditionalAttribute.cs
- BaseProcessor.cs
- ThaiBuddhistCalendar.cs
- DrawingContextWalker.cs
- BrowsableAttribute.cs
- TableCell.cs
- PixelFormatConverter.cs
- Container.cs
- AnimationStorage.cs
- propertytag.cs
- PriorityRange.cs
- MatrixTransform.cs
- MetadataArtifactLoaderCompositeResource.cs
- HashCodeCombiner.cs
- ColumnMapProcessor.cs
- RoleManagerModule.cs
- ApplicationDirectory.cs
- DesignerActionList.cs
- FormatterServices.cs
- DataGridDesigner.cs
- PropertiesTab.cs
- Identifier.cs
- ListControlBuilder.cs
- ObjectSet.cs
- ReaderWriterLockWrapper.cs