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
- NonVisualControlAttribute.cs
- SmtpReplyReaderFactory.cs
- RectangleHotSpot.cs
- FixedSOMContainer.cs
- SerialPort.cs
- PKCS1MaskGenerationMethod.cs
- WorkItem.cs
- EntityContainerEntitySet.cs
- WebConvert.cs
- EndpointReference.cs
- SqlGatherConsumedAliases.cs
- SchemaNotation.cs
- InfoCardSymmetricAlgorithm.cs
- TypeBuilderInstantiation.cs
- UnsafeNativeMethods.cs
- DataSvcMapFileSerializer.cs
- BamlTreeNode.cs
- DeflateInput.cs
- DataGridViewColumnTypeEditor.cs
- ReadOnlyTernaryTree.cs
- SimpleTypeResolver.cs
- COM2PictureConverter.cs
- EntryIndex.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ObjectDataProvider.cs
- TemplateControlParser.cs
- CodeDefaultValueExpression.cs
- SelectionProcessor.cs
- BoundField.cs
- WsdlParser.cs
- LinqDataSourceDisposeEventArgs.cs
- ExtenderControl.cs
- JournalEntryStack.cs
- RegexParser.cs
- FontStretch.cs
- ExtentCqlBlock.cs
- MimeXmlReflector.cs
- SqlErrorCollection.cs
- SqlRecordBuffer.cs
- _AutoWebProxyScriptWrapper.cs
- StreamingContext.cs
- TimeSpanOrInfiniteValidator.cs
- GridView.cs
- Timer.cs
- UrlAuthFailedErrorFormatter.cs
- InstanceValue.cs
- ServiceBehaviorElement.cs
- InkCanvas.cs
- StaticTextPointer.cs
- ButtonChrome.cs
- odbcmetadatafactory.cs
- QuaternionValueSerializer.cs
- InlineObject.cs
- ByteKeyFrameCollection.cs
- X509Certificate2.cs
- CssClassPropertyAttribute.cs
- DateTimeConverter2.cs
- MarkupCompiler.cs
- SemanticResultKey.cs
- ValidationHelpers.cs
- HandlerBase.cs
- DocumentPageViewAutomationPeer.cs
- _NetworkingPerfCounters.cs
- XmlComment.cs
- JsonDeserializer.cs
- DPCustomTypeDescriptor.cs
- TrustManagerPromptUI.cs
- EntityKeyElement.cs
- ClientBuildManager.cs
- ReliableSession.cs
- WarningException.cs
- SchemaTableColumn.cs
- BreadCrumbTextConverter.cs
- DataListItemCollection.cs
- DisplayMemberTemplateSelector.cs
- UnionCodeGroup.cs
- XomlCompilerResults.cs
- AbandonedMutexException.cs
- RegexCompilationInfo.cs
- BridgeDataRecord.cs
- MergePropertyDescriptor.cs
- PenContext.cs
- Attributes.cs
- CodeFieldReferenceExpression.cs
- _RequestCacheProtocol.cs
- SamlDoNotCacheCondition.cs
- ResourceExpression.cs
- InternalDuplexChannelListener.cs
- backend.cs
- PropertyOrder.cs
- CommandExpr.cs
- TextProperties.cs
- TypedServiceOperationListItem.cs
- Options.cs
- WinFormsComponentEditor.cs
- SafeCryptoHandles.cs
- SqlCacheDependencySection.cs
- SemaphoreSlim.cs
- DataServiceRequestArgs.cs
- LinearKeyFrames.cs