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
- ReferentialConstraintRoleElement.cs
- LicenseContext.cs
- RotationValidation.cs
- EnumCodeDomSerializer.cs
- CacheEntry.cs
- GeometryModel3D.cs
- LayoutTable.cs
- DeviceContext2.cs
- DiscreteKeyFrames.cs
- XmlDigitalSignatureProcessor.cs
- HtmlForm.cs
- MultipartContentParser.cs
- MenuItemCollectionEditor.cs
- XsltContext.cs
- MultipartContentParser.cs
- ToolboxItemAttribute.cs
- ImpersonateTokenRef.cs
- SignHashRequest.cs
- OleDbReferenceCollection.cs
- SharedConnectionWorkflowTransactionService.cs
- HtmlWindowCollection.cs
- DecoratedNameAttribute.cs
- Trace.cs
- AppDomainAttributes.cs
- GreenMethods.cs
- CultureMapper.cs
- DataObjectSettingDataEventArgs.cs
- PropertyGridCommands.cs
- TagMapInfo.cs
- AssertUtility.cs
- DataGridViewAccessibleObject.cs
- SimpleHandlerFactory.cs
- LockCookie.cs
- ErrorFormatterPage.cs
- CountAggregationOperator.cs
- CacheEntry.cs
- GridViewColumnHeader.cs
- DataProtection.cs
- SqlUnionizer.cs
- KeyEvent.cs
- AxHostDesigner.cs
- StoragePropertyMapping.cs
- CompareValidator.cs
- DateTimeSerializationSection.cs
- CommandDevice.cs
- DataServiceRequestOfT.cs
- BamlLocalizabilityResolver.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- Completion.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- RenderDataDrawingContext.cs
- JapaneseLunisolarCalendar.cs
- TileModeValidation.cs
- SqlCacheDependencyDatabase.cs
- Thumb.cs
- DataRelationPropertyDescriptor.cs
- DispatcherBuilder.cs
- StatusInfoItem.cs
- AsyncOperation.cs
- DataSvcMapFile.cs
- HtmlTableCellCollection.cs
- Int64Storage.cs
- counter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- GridViewCommandEventArgs.cs
- SpecularMaterial.cs
- M3DUtil.cs
- ListItemCollection.cs
- Model3D.cs
- CompilerGlobalScopeAttribute.cs
- ResolveMatchesApril2005.cs
- InternalConfigEventArgs.cs
- CommonDialog.cs
- RegexCharClass.cs
- IisTraceWebEventProvider.cs
- CollectionBuilder.cs
- PointCollection.cs
- ProcessStartInfo.cs
- StateBag.cs
- PrinterUnitConvert.cs
- FixedDocumentSequencePaginator.cs
- ComplusEndpointConfigContainer.cs
- RC2CryptoServiceProvider.cs
- RemoteWebConfigurationHostStream.cs
- ShadowGlyph.cs
- BooleanProjectedSlot.cs
- ColorAnimationUsingKeyFrames.cs
- SqlError.cs
- Decorator.cs
- XpsFontSubsetter.cs
- _FixedSizeReader.cs
- Decimal.cs
- ResourceIDHelper.cs
- CodeSnippetExpression.cs
- PolicyDesigner.cs
- ApplicationServiceManager.cs
- RichTextBoxConstants.cs
- SerializationException.cs
- TraceContextEventArgs.cs
- DictionaryEntry.cs