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
- ParsedAttributeCollection.cs
- DataGridItemAttachedStorage.cs
- ProfileSettings.cs
- SimpleType.cs
- ServicesUtilities.cs
- StylusCollection.cs
- UserControl.cs
- FormsAuthenticationCredentials.cs
- InstanceDescriptor.cs
- XamlToRtfWriter.cs
- ReachVisualSerializer.cs
- SystemSounds.cs
- DbConnectionPoolCounters.cs
- ShaderRenderModeValidation.cs
- _TLSstream.cs
- SchemaElementLookUpTable.cs
- BamlBinaryReader.cs
- DataGridViewComboBoxColumn.cs
- BuildProviderCollection.cs
- CommandBindingCollection.cs
- EastAsianLunisolarCalendar.cs
- WorkflowInspectionServices.cs
- SymLanguageVendor.cs
- GetWinFXPath.cs
- ActivityTypeDesigner.xaml.cs
- TextRangeEditTables.cs
- CanExpandCollapseAllConverter.cs
- Expressions.cs
- EngineSite.cs
- RawMouseInputReport.cs
- InputScopeConverter.cs
- EventSchemaTraceListener.cs
- WindowCollection.cs
- MetadataWorkspace.cs
- FixedSOMSemanticBox.cs
- ITreeGenerator.cs
- Exception.cs
- COM2ComponentEditor.cs
- TreeViewImageKeyConverter.cs
- OrderedEnumerableRowCollection.cs
- TextTreeTextBlock.cs
- SlotInfo.cs
- HostingEnvironmentException.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- GridView.cs
- VectorCollection.cs
- SiteMapSection.cs
- AttributedMetaModel.cs
- Win32SafeHandles.cs
- ExpressionBindingsDialog.cs
- GridItem.cs
- RegexWriter.cs
- Span.cs
- CompressionTransform.cs
- CssStyleCollection.cs
- WebPartCatalogAddVerb.cs
- TTSEvent.cs
- DataRowComparer.cs
- KeyEvent.cs
- SplashScreen.cs
- DataSourceHelper.cs
- DbBuffer.cs
- ServicesExceptionNotHandledEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- MetadataProperty.cs
- AxParameterData.cs
- QueueAccessMode.cs
- EventEntry.cs
- VirtualizingStackPanel.cs
- CatalogUtil.cs
- Serialization.cs
- OleDbConnectionFactory.cs
- UniformGrid.cs
- ErrorInfoXmlDocument.cs
- PartialCachingControl.cs
- FlowDocumentView.cs
- util.cs
- _NestedSingleAsyncResult.cs
- DataGridViewMethods.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- WebCategoryAttribute.cs
- WebPartHeaderCloseVerb.cs
- AnnotationResourceChangedEventArgs.cs
- BinaryReader.cs
- StaticTextPointer.cs
- LicenseContext.cs
- AccessorTable.cs
- ModelToObjectValueConverter.cs
- Point4DValueSerializer.cs
- MasterPage.cs
- TextCompositionManager.cs
- MasterPage.cs
- MediaElement.cs
- BitmapVisualManager.cs
- BulletedListDesigner.cs
- DeviceFilterEditorDialog.cs
- SamlConstants.cs
- XsltException.cs
- XmlSignatureManifest.cs
- ToolStripContentPanel.cs