Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / Reliability / PrePrepareMethodAttribute.cs / 1 / PrePrepareMethodAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: PrePrepareMethodAttribute
**
** Purpose: Serves as a hint to ngen that the decorated method
** (and its statically determinable call graph) should be
** prepared (as for Constrained Execution Region use). This
** is primarily useful in the scenario where the method in
** question will be prepared explicitly at runtime and the
** author of the method knows this and wishes to avoid the
** overhead of runtime preparation.
**
** Date: December 18, 2003
**
===========================================================*/
using System.Runtime.InteropServices;
namespace System.Runtime.ConstrainedExecution
{
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
public sealed class PrePrepareMethodAttribute : Attribute
{
public PrePrepareMethodAttribute()
{
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AdapterDictionary.cs
- ObservableDictionary.cs
- MiniCustomAttributeInfo.cs
- PaginationProgressEventArgs.cs
- XmlAttributeCache.cs
- ControlAdapter.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ResourceLoader.cs
- SuppressIldasmAttribute.cs
- RepeatBehaviorConverter.cs
- InkCanvasInnerCanvas.cs
- DictionaryGlobals.cs
- GridProviderWrapper.cs
- HyperLinkField.cs
- DSASignatureDeformatter.cs
- EntityReference.cs
- ResourceWriter.cs
- WindowsFormsSynchronizationContext.cs
- HttpClientProtocol.cs
- PhysicalOps.cs
- ConnectorRouter.cs
- InstanceDescriptor.cs
- PeerReferralPolicy.cs
- BlobPersonalizationState.cs
- InputLanguage.cs
- DataTableCollection.cs
- MemberCollection.cs
- DynamicValueConverter.cs
- Rect3D.cs
- ActiveDocumentEvent.cs
- CrossSiteScriptingValidation.cs
- ProxySimple.cs
- SpeechDetectedEventArgs.cs
- _ConnectStream.cs
- EventLogEntry.cs
- ContainerSelectorGlyph.cs
- ColorMap.cs
- HttpRequestTraceRecord.cs
- DataGridCommandEventArgs.cs
- EventSinkHelperWriter.cs
- EditorZone.cs
- HttpFileCollection.cs
- X509Extension.cs
- ValueTable.cs
- BitmapDownload.cs
- InterleavedZipPartStream.cs
- FormsAuthenticationTicket.cs
- ToolStripDropTargetManager.cs
- BitmapPalette.cs
- ThreadExceptionDialog.cs
- ToolStripItemEventArgs.cs
- WebReferencesBuildProvider.cs
- DataGridViewSortCompareEventArgs.cs
- ButtonChrome.cs
- TypeProvider.cs
- _HelperAsyncResults.cs
- DesignerForm.cs
- TemplateXamlParser.cs
- DictionaryManager.cs
- ExtendedPropertyCollection.cs
- HttpApplicationFactory.cs
- CapabilitiesAssignment.cs
- SqlInternalConnection.cs
- TypeBuilder.cs
- SessionStateSection.cs
- TitleStyle.cs
- LicenseProviderAttribute.cs
- PropertyEmitter.cs
- StaticSiteMapProvider.cs
- EntityViewGenerationAttribute.cs
- CompilationRelaxations.cs
- ShaderEffect.cs
- XPathNodeIterator.cs
- __FastResourceComparer.cs
- StrongName.cs
- BitmapEffectInputConnector.cs
- XmlReaderSettings.cs
- MimeMultiPart.cs
- GAC.cs
- AssemblyAssociatedContentFileAttribute.cs
- AudioException.cs
- VarRefManager.cs
- TaskFactory.cs
- XPathParser.cs
- ExpressionNode.cs
- _UriSyntax.cs
- EllipseGeometry.cs
- IndentTextWriter.cs
- GridLengthConverter.cs
- UnsafeNativeMethods.cs
- HealthMonitoringSection.cs
- RecognizedAudio.cs
- GetFileNameResult.cs
- OrderByLifter.cs
- LinearKeyFrames.cs
- SerialStream.cs
- TextDecoration.cs
- EntityContainer.cs
- SqlUtil.cs
- QilStrConcat.cs