Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1 / 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 } /* NGenAttribute is not supported in Whidbey [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class NGenAttribute : Attribute { private NGenHint hint; public NGenAttribute ( NGenHint hintArgument ) { hint = hintArgument; } public NGenHint NGenHint { get { return hint; } } } */ [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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlEntity.cs
- DockProviderWrapper.cs
- XmlDocumentFragment.cs
- WsatConfiguration.cs
- XsltException.cs
- __Error.cs
- EntityDataSourceStatementEditor.cs
- CodeConstructor.cs
- FactoryRecord.cs
- XmlPreloadedResolver.cs
- RemotingServices.cs
- SqlDataSourceCommandEventArgs.cs
- SignerInfo.cs
- ProviderSettings.cs
- PerformanceCounterScope.cs
- IsolatedStorageFile.cs
- Wizard.cs
- MDIControlStrip.cs
- IncrementalHitTester.cs
- DataGridPreparingCellForEditEventArgs.cs
- XmlRootAttribute.cs
- hresults.cs
- ConfigXmlText.cs
- ComponentCollection.cs
- DrawingBrush.cs
- KnownBoxes.cs
- AuthorizationRuleCollection.cs
- ReaderWriterLock.cs
- Literal.cs
- OSFeature.cs
- StylusEditingBehavior.cs
- DbParameterCollectionHelper.cs
- ColumnCollection.cs
- OleAutBinder.cs
- NodeLabelEditEvent.cs
- IDispatchConstantAttribute.cs
- Keyboard.cs
- ListDataHelper.cs
- GridErrorDlg.cs
- Clock.cs
- OleDbDataAdapter.cs
- TickBar.cs
- TreeNodeCollection.cs
- COAUTHINFO.cs
- WebScriptServiceHostFactory.cs
- EntityDesignPluralizationHandler.cs
- PageContent.cs
- DefaultMemberAttribute.cs
- ErrorStyle.cs
- XmlCharType.cs
- HtmlButton.cs
- XmlWhitespace.cs
- DataContractSerializerSection.cs
- CoTaskMemUnicodeSafeHandle.cs
- DataSvcMapFile.cs
- ZoneMembershipCondition.cs
- RuntimeConfigLKG.cs
- StronglyTypedResourceBuilder.cs
- EditorPart.cs
- IndexedString.cs
- LicenseContext.cs
- XmlEncoding.cs
- CacheMemory.cs
- WmlPageAdapter.cs
- RectConverter.cs
- ResourceCategoryAttribute.cs
- PresentationUIStyleResources.cs
- KeyPressEvent.cs
- Helpers.cs
- DataRelationPropertyDescriptor.cs
- CustomLineCap.cs
- MD5.cs
- ItemChangedEventArgs.cs
- PerformanceCounterCategory.cs
- DesignSurfaceServiceContainer.cs
- ServiceDescriptions.cs
- TableStyle.cs
- XPathNavigatorReader.cs
- StringDictionary.cs
- TraceSection.cs
- SocketInformation.cs
- Validator.cs
- _ScatterGatherBuffers.cs
- ScriptBehaviorDescriptor.cs
- PipelineModuleStepContainer.cs
- RecognizeCompletedEventArgs.cs
- SQLRoleProvider.cs
- DateTime.cs
- HatchBrush.cs
- Permission.cs
- TextTreeNode.cs
- Dictionary.cs
- NumberFormatInfo.cs
- GenericNameHandler.cs
- SecurityUtils.cs
- TextContainerChangedEventArgs.cs
- MediaSystem.cs
- ClientRuntime.cs
- SemanticResolver.cs
- ModelTreeEnumerator.cs