Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Reliability / PrePrepareMethodAttribute.cs / 1305376 / 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
**
===========================================================*/
namespace System.Runtime.ConstrainedExecution
{
using System;
using System.Runtime.InteropServices;
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
public sealed class PrePrepareMethodAttribute : Attribute
{
public PrePrepareMethodAttribute()
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// 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
**
===========================================================*/
namespace System.Runtime.ConstrainedExecution
{
using System;
using System.Runtime.InteropServices;
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
public sealed class PrePrepareMethodAttribute : Attribute
{
public PrePrepareMethodAttribute()
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridItemProviderWrapper.cs
- MultiBinding.cs
- TextRangeBase.cs
- BindingCollection.cs
- ListViewContainer.cs
- ToolBarButtonClickEvent.cs
- PasswordTextNavigator.cs
- ProgressBarBrushConverter.cs
- ConsoleCancelEventArgs.cs
- ProtocolElement.cs
- InputLanguageCollection.cs
- WebPartsPersonalizationAuthorization.cs
- DataGridViewCellEventArgs.cs
- ExeContext.cs
- XsltConvert.cs
- UserControlBuildProvider.cs
- ShapingEngine.cs
- ReachSerializationUtils.cs
- HMACRIPEMD160.cs
- BaseProcessProtocolHandler.cs
- AutomationIdentifierGuids.cs
- StorageAssociationTypeMapping.cs
- RuleSettings.cs
- NetCodeGroup.cs
- BulletedList.cs
- CategoryEditor.cs
- DesignSurfaceManager.cs
- EditorOptionAttribute.cs
- SqlDataAdapter.cs
- RemoteWebConfigurationHostServer.cs
- ContentHostHelper.cs
- PersonalizationEntry.cs
- Regex.cs
- GridView.cs
- DataComponentNameHandler.cs
- MetadataArtifactLoaderCompositeResource.cs
- ScrollChangedEventArgs.cs
- CommonProperties.cs
- FunctionParameter.cs
- VerificationException.cs
- OdbcDataAdapter.cs
- UnsafeNativeMethods.cs
- ArraySortHelper.cs
- NotificationContext.cs
- LinqDataSourceDisposeEventArgs.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- CallTemplateAction.cs
- _NegoStream.cs
- SessionSwitchEventArgs.cs
- ZipIOLocalFileBlock.cs
- RsaEndpointIdentity.cs
- KnownIds.cs
- FocusTracker.cs
- FacetDescription.cs
- DefinitionBase.cs
- CodeNamespace.cs
- DurableInstanceProvider.cs
- QueryOutputWriter.cs
- TextSearch.cs
- FixedSOMTable.cs
- SafeThreadHandle.cs
- DataServiceRequest.cs
- TableLayout.cs
- WindowsContainer.cs
- FilteredAttributeCollection.cs
- XmlDataFileEditor.cs
- StructuralObject.cs
- BindingNavigatorDesigner.cs
- StringReader.cs
- ProtectedConfiguration.cs
- DecoderReplacementFallback.cs
- ColumnMapTranslator.cs
- SqlProfileProvider.cs
- PersonalizationDictionary.cs
- Calendar.cs
- FactoryRecord.cs
- GeneralTransformGroup.cs
- AttachedAnnotation.cs
- SoundPlayerAction.cs
- FaultDescription.cs
- CompilerHelpers.cs
- DocumentGrid.cs
- DataListItemCollection.cs
- HtmlUtf8RawTextWriter.cs
- SelectedGridItemChangedEvent.cs
- Compiler.cs
- Select.cs
- CatalogZone.cs
- Rules.cs
- WebPageTraceListener.cs
- DesignerTransactionCloseEvent.cs
- ContainerActivationHelper.cs
- XmlParserContext.cs
- CssStyleCollection.cs
- SoapTransportImporter.cs
- InternalTypeHelper.cs
- CheckoutException.cs
- WebMessageBodyStyleHelper.cs
- WebBrowsableAttribute.cs
- GuidelineSet.cs