Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 2 / AssemblySettingAttributes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; using System.Runtime.InteropServices; /* NGenHint is not supported in Whidbey [Serializable] public enum NGenHint { Default = 0x0000, // No preference specified Eager = 0x0001, // NGen at install time Lazy = 0x0002, // NGen after install time Never = 0x0003, // Assembly should not be ngened } */ [Serializable] public enum LoadHint { Default = 0x0000, // No preference specified Always = 0x0001, // Dependency is always loaded Sometimes = 0x0002, // Dependency is sometimes loaded //Never = 0x0003, // Dependency is never loaded } [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class DefaultDependencyAttribute : Attribute { private LoadHint loadHint; public DefaultDependencyAttribute ( LoadHint loadHintArgument ) { loadHint = loadHintArgument; } public LoadHint LoadHint { get { return loadHint; } } } [Serializable, AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class DependencyAttribute : Attribute { private String dependentAssembly; private LoadHint loadHint; public DependencyAttribute ( String dependentAssemblyArgument, LoadHint loadHintArgument ) { dependentAssembly = dependentAssemblyArgument; loadHint = loadHintArgument; } public String DependentAssembly { get { return dependentAssembly; } } public LoadHint LoadHint { get { return loadHint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; using System.Runtime.InteropServices; /* NGenHint is not supported in Whidbey [Serializable] public enum NGenHint { Default = 0x0000, // No preference specified Eager = 0x0001, // NGen at install time Lazy = 0x0002, // NGen after install time Never = 0x0003, // Assembly should not be ngened } */ [Serializable] public enum LoadHint { Default = 0x0000, // No preference specified Always = 0x0001, // Dependency is always loaded Sometimes = 0x0002, // Dependency is sometimes loaded //Never = 0x0003, // Dependency is never loaded } [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class DefaultDependencyAttribute : Attribute { private LoadHint loadHint; public DefaultDependencyAttribute ( LoadHint loadHintArgument ) { loadHint = loadHintArgument; } public LoadHint LoadHint { get { return loadHint; } } } [Serializable, AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class DependencyAttribute : Attribute { private String dependentAssembly; private LoadHint loadHint; public DependencyAttribute ( String dependentAssemblyArgument, LoadHint loadHintArgument ) { dependentAssembly = dependentAssemblyArgument; loadHint = loadHintArgument; } public String DependentAssembly { get { return dependentAssembly; } } public LoadHint LoadHint { get { return loadHint; } } } } // 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
- VScrollProperties.cs
- ConfigViewGenerator.cs
- PrivilegeNotHeldException.cs
- XmlSchemaImport.cs
- DynamicDataRouteHandler.cs
- PropertyGridView.cs
- CompilerCollection.cs
- BatchWriter.cs
- PrintControllerWithStatusDialog.cs
- MobileErrorInfo.cs
- FocusChangedEventArgs.cs
- FigureParaClient.cs
- SystemResources.cs
- BufferManager.cs
- ItemCheckEvent.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CryptoApi.cs
- DataViewSettingCollection.cs
- FlowchartDesigner.Helpers.cs
- DrawingAttributes.cs
- OdbcEnvironment.cs
- LabelEditEvent.cs
- EndpointIdentity.cs
- PathSegmentCollection.cs
- AVElementHelper.cs
- JournalEntryStack.cs
- Compiler.cs
- ButtonStandardAdapter.cs
- XmlDocumentFieldSchema.cs
- SHA1.cs
- ClientProxyGenerator.cs
- ListViewInsertedEventArgs.cs
- DataShape.cs
- Token.cs
- GlobalizationAssembly.cs
- FlowDocumentPaginator.cs
- HttpApplicationStateBase.cs
- GB18030Encoding.cs
- XmlProcessingInstruction.cs
- QueueProcessor.cs
- FormViewInsertEventArgs.cs
- ListMarkerLine.cs
- InternalEnumValidator.cs
- CredentialSelector.cs
- PeerService.cs
- LeaseManager.cs
- NotifyIcon.cs
- Scene3D.cs
- WinInet.cs
- ImageCodecInfoPrivate.cs
- ProfessionalColorTable.cs
- TypeListConverter.cs
- DatatypeImplementation.cs
- TreeNodeBinding.cs
- SecureEnvironment.cs
- Substitution.cs
- BinHexDecoder.cs
- ImmutableObjectAttribute.cs
- UserControlCodeDomTreeGenerator.cs
- DbParameterCollection.cs
- ImageButton.cs
- RequestChannelBinder.cs
- HtmlTernaryTree.cs
- ProcessHostServerConfig.cs
- FormsAuthenticationUser.cs
- ClientApiGenerator.cs
- EventLogInternal.cs
- ProviderCommandInfoUtils.cs
- FilterException.cs
- Guid.cs
- ButtonStandardAdapter.cs
- LineBreak.cs
- ErrorHandlerModule.cs
- Int16KeyFrameCollection.cs
- DataSourceCollectionBase.cs
- HtmlDocument.cs
- TextRenderer.cs
- ServiceEndpointElement.cs
- Exceptions.cs
- DecoderReplacementFallback.cs
- ModuleBuilder.cs
- ChildDocumentBlock.cs
- DetailsViewDeletedEventArgs.cs
- ExceptionUtil.cs
- versioninfo.cs
- XmlTextReaderImpl.cs
- ClipboardProcessor.cs
- XmlSchemaInferenceException.cs
- SystemMulticastIPAddressInformation.cs
- ModelChangedEventArgsImpl.cs
- MethodAccessException.cs
- UrlMappingCollection.cs
- OutOfProcStateClientManager.cs
- ModifierKeysValueSerializer.cs
- SimpleWorkerRequest.cs
- ComponentEditorPage.cs
- RequestTimeoutManager.cs
- MetaColumn.cs
- BuildResultCache.cs
- XmlEncodedRawTextWriter.cs