Code:
/ DotNET / DotNET / 8.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
- TextRunCache.cs
- DesignerAttribute.cs
- TargetException.cs
- FlagsAttribute.cs
- XsltSettings.cs
- CTreeGenerator.cs
- SerializationException.cs
- CompressStream.cs
- RedistVersionInfo.cs
- CompressStream.cs
- FixUp.cs
- PeerTransportSecuritySettings.cs
- LoginUtil.cs
- CodeLabeledStatement.cs
- TextRunProperties.cs
- DrawingImage.cs
- RtfControlWordInfo.cs
- TypeDescriptionProviderAttribute.cs
- ObjectListItem.cs
- TableRowsCollectionEditor.cs
- BindingSourceDesigner.cs
- handlecollector.cs
- ParallelEnumerable.cs
- VisualState.cs
- NoResizeSelectionBorderGlyph.cs
- PeerCustomResolverElement.cs
- GridViewCommandEventArgs.cs
- PeerNameRecordCollection.cs
- CatalogZone.cs
- Lease.cs
- IdentityElement.cs
- DBSchemaRow.cs
- odbcmetadatacollectionnames.cs
- SoapAttributeAttribute.cs
- RenderingEventArgs.cs
- PeerContact.cs
- SHA1CryptoServiceProvider.cs
- PlatformCulture.cs
- QueuePathDialog.cs
- MappingSource.cs
- DesignTimeHTMLTextWriter.cs
- ToolBarButton.cs
- XmlDownloadManager.cs
- ActiveXHelper.cs
- CapabilitiesUse.cs
- PeerTransportListenAddressConverter.cs
- ToolboxItemFilterAttribute.cs
- LineBreak.cs
- EntityKeyElement.cs
- SafeCertificateContext.cs
- SendParametersContent.cs
- UnitySerializationHolder.cs
- WindowsMenu.cs
- TableParagraph.cs
- WebPartEditVerb.cs
- SqlDataSource.cs
- Hashtable.cs
- linebase.cs
- UpDownBase.cs
- PropertyGridEditorPart.cs
- Encoder.cs
- Point3DAnimation.cs
- EndpointDispatcher.cs
- DataGridCommandEventArgs.cs
- ListViewPagedDataSource.cs
- ComboBox.cs
- precedingsibling.cs
- ThrowHelper.cs
- AttributeParameterInfo.cs
- DNS.cs
- ShadowGlyph.cs
- BrowserCapabilitiesCodeGenerator.cs
- DataViewSetting.cs
- AccessibleObject.cs
- SecurityTokenResolver.cs
- TerminatorSinks.cs
- NonParentingControl.cs
- TypedDatasetGenerator.cs
- BaseTreeIterator.cs
- PropertyItemInternal.cs
- Encoder.cs
- FormatterServicesNoSerializableCheck.cs
- CompositeDuplexBindingElementImporter.cs
- URLString.cs
- Vector3DKeyFrameCollection.cs
- TextRangeProviderWrapper.cs
- CodeVariableDeclarationStatement.cs
- GridProviderWrapper.cs
- ExpressionWriter.cs
- DocumentApplication.cs
- AppDomainProtocolHandler.cs
- Propagator.JoinPropagator.cs
- CodeDomSerializerException.cs
- WebPartZoneCollection.cs
- PaintValueEventArgs.cs
- ComponentGuaranteesAttribute.cs
- PerfCounterSection.cs
- ElementUtil.cs
- WizardSideBarListControlItem.cs
- BindingValueChangedEventArgs.cs