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
- AutomationPropertyInfo.cs
- AttachInfo.cs
- KnownBoxes.cs
- InkCanvasInnerCanvas.cs
- Keywords.cs
- LayoutTable.cs
- ScopeCollection.cs
- ScriptControlManager.cs
- WebRequest.cs
- HttpCapabilitiesSectionHandler.cs
- DescriptionAttribute.cs
- HttpServerVarsCollection.cs
- CfgParser.cs
- SelectedDatesCollection.cs
- ReachSerializer.cs
- DataGridColumnHeadersPresenter.cs
- SizeLimitedCache.cs
- _SpnDictionary.cs
- EncoderExceptionFallback.cs
- ListViewItem.cs
- DataServiceRequestOfT.cs
- BinaryReader.cs
- PackagePart.cs
- DynamicValidatorEventArgs.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- WebColorConverter.cs
- TextEditorSelection.cs
- XmlSchemaAppInfo.cs
- ErrorsHelper.cs
- RichTextBox.cs
- TextTreeRootTextBlock.cs
- XmlDataSourceView.cs
- UserNameServiceElement.cs
- InteropBitmapSource.cs
- ToolStripItemDesigner.cs
- ToolStripSettings.cs
- DataControlFieldHeaderCell.cs
- ShapeTypeface.cs
- CuspData.cs
- GroupBoxAutomationPeer.cs
- ViewPort3D.cs
- XmlSchemaSequence.cs
- SendMailErrorEventArgs.cs
- ListViewItem.cs
- BlockUIContainer.cs
- DeleteMemberBinder.cs
- XmlBoundElement.cs
- PointCollectionConverter.cs
- ConnectionProviderAttribute.cs
- CSharpCodeProvider.cs
- ReadOnlyHierarchicalDataSourceView.cs
- FontSizeConverter.cs
- LogicalTreeHelper.cs
- DbProviderFactoriesConfigurationHandler.cs
- Subtree.cs
- XmlWriter.cs
- DBConcurrencyException.cs
- ScriptControlManager.cs
- Pointer.cs
- NamespaceImport.cs
- DescendentsWalkerBase.cs
- HtmlProps.cs
- LiteralControl.cs
- TextProperties.cs
- ComponentResourceKey.cs
- SchemaManager.cs
- CounterCreationDataConverter.cs
- AuthorizationRule.cs
- SqlDataSourceParameterParser.cs
- CharConverter.cs
- RightsManagementProvider.cs
- Message.cs
- InputBindingCollection.cs
- BasicViewGenerator.cs
- TypeSystemProvider.cs
- Byte.cs
- HtmlToClrEventProxy.cs
- TextEditorContextMenu.cs
- ContextMenuStrip.cs
- ServiceDesigner.cs
- FloatUtil.cs
- DataObjectPastingEventArgs.cs
- StringFreezingAttribute.cs
- ConstraintStruct.cs
- SystemKeyConverter.cs
- IDispatchConstantAttribute.cs
- SettingsPropertyWrongTypeException.cs
- AppDomain.cs
- ToolStripItemClickedEventArgs.cs
- PropertyMapper.cs
- UserUseLicenseDictionaryLoader.cs
- AngleUtil.cs
- DragEventArgs.cs
- SpeechEvent.cs
- TagMapInfo.cs
- Header.cs
- LinkButton.cs
- MenuItemAutomationPeer.cs
- BaseTemplateParser.cs
- SessionViewState.cs