Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rect.cs
- CodeCompileUnit.cs
- SoapIgnoreAttribute.cs
- TemplateXamlTreeBuilder.cs
- XmlAttributeCollection.cs
- DesignerDataView.cs
- UserControl.cs
- DataBindingCollection.cs
- DataSysAttribute.cs
- ColumnHeaderConverter.cs
- ViewGenResults.cs
- TypeInformation.cs
- basevalidator.cs
- SafeSystemMetrics.cs
- ScriptReferenceBase.cs
- DataControlFieldHeaderCell.cs
- XmlDeclaration.cs
- COSERVERINFO.cs
- ReadOnlyCollectionBuilder.cs
- PenContext.cs
- ArgIterator.cs
- NestPullup.cs
- SqlUDTStorage.cs
- InlinedAggregationOperatorEnumerator.cs
- BuildProviderUtils.cs
- _SpnDictionary.cs
- Convert.cs
- ClientTargetCollection.cs
- DbDataAdapter.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- PipelineModuleStepContainer.cs
- HtmlElementEventArgs.cs
- HMACMD5.cs
- COMException.cs
- IListConverters.cs
- HitTestWithPointDrawingContextWalker.cs
- VerificationAttribute.cs
- BitmapEffectState.cs
- SystemIcons.cs
- StylusShape.cs
- HMACMD5.cs
- ParameterElement.cs
- DictionaryEntry.cs
- CodePrimitiveExpression.cs
- VersionedStreamOwner.cs
- TranslateTransform3D.cs
- SecureConversationSecurityTokenParameters.cs
- ReflectionHelper.cs
- ADConnectionHelper.cs
- HtmlLink.cs
- InteropBitmapSource.cs
- RoleGroupCollection.cs
- MemberProjectionIndex.cs
- Journaling.cs
- SubordinateTransaction.cs
- XsltInput.cs
- DataGridViewRowCancelEventArgs.cs
- DefaultShape.cs
- TimeSpanMinutesConverter.cs
- ConcatQueryOperator.cs
- NavigatorInvalidBodyAccessException.cs
- BufferedStream.cs
- StructuralComparisons.cs
- CurrentChangedEventManager.cs
- TypeGeneratedEventArgs.cs
- SmtpFailedRecipientsException.cs
- DeferredReference.cs
- UrlAuthFailedErrorFormatter.cs
- LogEntryHeaderv1Deserializer.cs
- CompositeControlDesigner.cs
- ExtentKey.cs
- CapiSymmetricAlgorithm.cs
- Expander.cs
- _SslSessionsCache.cs
- TextStore.cs
- PauseStoryboard.cs
- MultilineStringConverter.cs
- SyntaxCheck.cs
- MenuScrollingVisibilityConverter.cs
- VerificationAttribute.cs
- ObsoleteAttribute.cs
- DataSourceHelper.cs
- PersonalizationState.cs
- MimeBasePart.cs
- ParentQuery.cs
- EntityContainer.cs
- DBConnectionString.cs
- ImageConverter.cs
- GroupAggregateExpr.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- HeaderPanel.cs
- TextChangedEventArgs.cs
- DataRelation.cs
- ProcessHost.cs
- ProfileBuildProvider.cs
- BuilderElements.cs
- MemoryRecordBuffer.cs
- PlanCompilerUtil.cs
- ApplicationDirectory.cs
- ContentPlaceHolder.cs