Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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()
{
}
}
}
// 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
**
===========================================================*/
using System.Runtime.InteropServices;
namespace System.Runtime.ConstrainedExecution
{
[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
- FileInfo.cs
- CodeMemberProperty.cs
- DeclarativeCatalogPart.cs
- ContainerUtilities.cs
- ProviderConnectionPoint.cs
- XmlSchemaProviderAttribute.cs
- KeyValueInternalCollection.cs
- Rfc2898DeriveBytes.cs
- PrintDialog.cs
- X509UI.cs
- Color.cs
- RTTypeWrapper.cs
- DeferredSelectedIndexReference.cs
- VisualStyleElement.cs
- Image.cs
- IndentedTextWriter.cs
- ControlIdConverter.cs
- SecurityElement.cs
- MouseDevice.cs
- ComContractElementCollection.cs
- CryptoStream.cs
- TreeView.cs
- UntrustedRecipientException.cs
- RequestDescription.cs
- Component.cs
- NamespaceEmitter.cs
- DoubleAnimationClockResource.cs
- PromptBuilder.cs
- DiscreteKeyFrames.cs
- BitmapEffectGroup.cs
- ConnectionStringSettings.cs
- SchemaMerger.cs
- LostFocusEventManager.cs
- XmlSiteMapProvider.cs
- SetterBase.cs
- PageClientProxyGenerator.cs
- XmlSchemaComplexType.cs
- OracleCommand.cs
- HttpModuleCollection.cs
- MachineKey.cs
- ElementProxy.cs
- Double.cs
- HtmlTableCellCollection.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- RuntimeVariablesExpression.cs
- FrameworkObject.cs
- EntityType.cs
- MethodBuilder.cs
- NoClickablePointException.cs
- ComboBoxAutomationPeer.cs
- BitSet.cs
- GPPOINT.cs
- LabelAutomationPeer.cs
- WebBrowserHelper.cs
- SecurityContext.cs
- Marshal.cs
- HttpSocketManager.cs
- ProfileManager.cs
- COM2ColorConverter.cs
- StructuredType.cs
- ProxyHwnd.cs
- SourceSwitch.cs
- SymbolMethod.cs
- TcpClientChannel.cs
- HtmlInputFile.cs
- RoleManagerSection.cs
- XmlValidatingReader.cs
- HtmlSelect.cs
- DrawListViewSubItemEventArgs.cs
- EntityDataSourceDesigner.cs
- GeneralTransform2DTo3D.cs
- NeutralResourcesLanguageAttribute.cs
- MatchSingleFxEngineOpcode.cs
- Memoizer.cs
- TimeoutException.cs
- EmptyEnumerator.cs
- DisplayToken.cs
- InputScopeNameConverter.cs
- SAPICategories.cs
- ResourceAssociationType.cs
- SessionEndedEventArgs.cs
- AmbientProperties.cs
- _TimerThread.cs
- TypeElement.cs
- AutomationPeer.cs
- PersonalizablePropertyEntry.cs
- ReflectPropertyDescriptor.cs
- ResourceExpression.cs
- NoClickablePointException.cs
- KoreanCalendar.cs
- TextWriterTraceListener.cs
- CompilerErrorCollection.cs
- MarkupCompiler.cs
- DataFormats.cs
- ComponentCollection.cs
- SchemaUtility.cs
- ConnectionConsumerAttribute.cs
- DateBoldEvent.cs
- BinaryWriter.cs
- ContextBase.cs