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
- CapacityStreamGeometryContext.cs
- PersonalizationProvider.cs
- FileDataSourceCache.cs
- TargetControlTypeAttribute.cs
- FileDialogCustomPlacesCollection.cs
- ProgressBar.cs
- XmlSchemaNotation.cs
- ParseNumbers.cs
- XmlWrappingReader.cs
- SnapLine.cs
- EditBehavior.cs
- SmtpLoginAuthenticationModule.cs
- StorageBasedPackageProperties.cs
- QueryOptionExpression.cs
- GridViewColumn.cs
- WebHttpBindingCollectionElement.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- StandardBindingElement.cs
- PerformanceCounterPermissionAttribute.cs
- AssertSection.cs
- TextRunTypographyProperties.cs
- TypeListConverter.cs
- ConnectionsZone.cs
- SoapFormatterSinks.cs
- xdrvalidator.cs
- SeparatorAutomationPeer.cs
- Propagator.Evaluator.cs
- WebFormsRootDesigner.cs
- UpdateTranslator.cs
- ValidationVisibilityAttribute.cs
- ProcessStartInfo.cs
- ToolStrip.cs
- PointAnimationUsingPath.cs
- EntityDataSourceQueryBuilder.cs
- Viewport3DVisual.cs
- XamlContextStack.cs
- WebPartUserCapability.cs
- HijriCalendar.cs
- X509AudioLogo.cs
- SourceFileInfo.cs
- Rotation3D.cs
- ScrollProviderWrapper.cs
- OuterGlowBitmapEffect.cs
- NativeMethods.cs
- DefaultAssemblyResolver.cs
- EnterpriseServicesHelper.cs
- WebPartHelpVerb.cs
- Vector3D.cs
- OleDbMetaDataFactory.cs
- DropShadowEffect.cs
- BinaryConverter.cs
- UIElementHelper.cs
- DSASignatureFormatter.cs
- LayoutSettings.cs
- OletxVolatileEnlistment.cs
- ByteStorage.cs
- AudioFileOut.cs
- GridLengthConverter.cs
- SecurityKeyUsage.cs
- DataListComponentEditor.cs
- DataRecordInternal.cs
- MouseGestureValueSerializer.cs
- ProfessionalColors.cs
- WorkflowRuntimeServiceElement.cs
- DetailsViewPagerRow.cs
- DesignerRegionCollection.cs
- AsymmetricSignatureFormatter.cs
- InplaceBitmapMetadataWriter.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- HwndTarget.cs
- FrameworkContentElement.cs
- Padding.cs
- ChannelBuilder.cs
- EmptyStringExpandableObjectConverter.cs
- MobileUserControlDesigner.cs
- DoubleUtil.cs
- TextComposition.cs
- PolyQuadraticBezierSegment.cs
- ListBox.cs
- Convert.cs
- SessionKeyExpiredException.cs
- Viewport2DVisual3D.cs
- ImpersonateTokenRef.cs
- MDIClient.cs
- InvokePattern.cs
- NonVisualControlAttribute.cs
- NodeInfo.cs
- CustomAttributeSerializer.cs
- Size.cs
- SqlFunctionAttribute.cs
- InvalidPrinterException.cs
- CodeDelegateCreateExpression.cs
- CompoundFileIOPermission.cs
- ContractNamespaceAttribute.cs
- StackOverflowException.cs
- XmlIlVisitor.cs
- InstanceHandle.cs
- ActiveXHelper.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ObjectCache.cs