Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / NgenServicingAttributes.cs / 1305376 / NgenServicingAttributes.cs
using System; namespace System.Runtime { [AttributeUsage(AttributeTargets.Assembly, Inherited = false)] public sealed class AssemblyTargetedPatchBandAttribute : Attribute { private String m_targetedPatchBand; public AssemblyTargetedPatchBandAttribute(String targetedPatchBand) { m_targetedPatchBand = targetedPatchBand; } public String TargetedPatchBand { get { return m_targetedPatchBand; } } } // This attribute seems particularly prone to accidental inclusion in bcl.small // We would only want to do so intentionally (if targeted patching were enabled there) #if !FEATURE_CORECLR //============================================================================================================ // [TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] - // Sacrifices cheap servicing of a method body in order to allow unrestricted inlining. Certain types of // trivial methods (e.g. simple property getters) are automatically attributed by ILCA.EXE during the build. // For other performance critical methods, it should be added manually. //=========================================================================================================== [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] public sealed class TargetedPatchingOptOutAttribute : Attribute { private String m_reason; public TargetedPatchingOptOutAttribute(String reason) { m_reason = reason; } public String Reason { get { return m_reason; } } private TargetedPatchingOptOutAttribute() { } } #endif //=========================================================================================================== // [ForceTokenStabilization] - Using this CA forces ILCA.EXE to stabilize the attached type, method or field. // We use this to identify private helper methods invoked by IL stubs. // // NOTE: Attaching this to a type is NOT equivalent to attaching it to all of its methods! //=========================================================================================================== [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field , AllowMultiple = false, Inherited = false)] sealed class ForceTokenStabilizationAttribute : Attribute { public ForceTokenStabilizationAttribute() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrowserDefinitionCollection.cs
- ListControlConvertEventArgs.cs
- WindowsPen.cs
- NodeCounter.cs
- ImageField.cs
- CustomErrorsSection.cs
- SurrogateEncoder.cs
- DesignerProperties.cs
- HttpHandlersSection.cs
- XmlSerializer.cs
- ConstructorBuilder.cs
- DocumentEventArgs.cs
- GridView.cs
- BorderGapMaskConverter.cs
- SurrogateSelector.cs
- BindingOperations.cs
- TextParaClient.cs
- ImmutableObjectAttribute.cs
- WmlCommandAdapter.cs
- Dictionary.cs
- StorageEntityContainerMapping.cs
- PermissionToken.cs
- SignedXml.cs
- ServiceReference.cs
- HttpAsyncResult.cs
- CorrelationValidator.cs
- SafeCryptoHandles.cs
- DataGridViewCellConverter.cs
- ArglessEventHandlerProxy.cs
- SendMailErrorEventArgs.cs
- BitmapCodecInfo.cs
- ICspAsymmetricAlgorithm.cs
- ConfigurationElement.cs
- NgenServicingAttributes.cs
- TextHidden.cs
- RuntimeHelpers.cs
- MenuItemStyleCollection.cs
- Debugger.cs
- Object.cs
- TreeViewCancelEvent.cs
- SafeTimerHandle.cs
- DataSysAttribute.cs
- ApplicationProxyInternal.cs
- Thickness.cs
- SystemWebCachingSectionGroup.cs
- PathFigureCollectionValueSerializer.cs
- ExtensionQuery.cs
- Touch.cs
- Misc.cs
- XmlNamedNodeMap.cs
- DockingAttribute.cs
- MouseBinding.cs
- DbQueryCommandTree.cs
- ProfileSection.cs
- SmiContextFactory.cs
- RequestCache.cs
- LoadedEvent.cs
- SystemBrushes.cs
- XmlLangPropertyAttribute.cs
- DateTimeOffsetConverter.cs
- CollectionExtensions.cs
- QueryResponse.cs
- ListBoxItemAutomationPeer.cs
- ProcessModelInfo.cs
- DrawingDrawingContext.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SafeBitVector32.cs
- MetadataArtifactLoaderFile.cs
- EventListenerClientSide.cs
- UpdateCompiler.cs
- SplineQuaternionKeyFrame.cs
- InputMethod.cs
- XsltLoader.cs
- SetterBase.cs
- _NtlmClient.cs
- MessageAction.cs
- ToolStripSettings.cs
- DataGridCommandEventArgs.cs
- ExpressionConverter.cs
- Error.cs
- Mappings.cs
- Monitor.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PageThemeCodeDomTreeGenerator.cs
- FontStretch.cs
- PagesSection.cs
- RemotingAttributes.cs
- GridView.cs
- EmissiveMaterial.cs
- DesignerTransaction.cs
- DataProtection.cs
- BamlRecords.cs
- TextRangeEdit.cs
- PagesSection.cs
- TextFormatterImp.cs
- ProfileGroupSettingsCollection.cs
- Mouse.cs
- DataGridViewCellLinkedList.cs
- Vector3D.cs
- HtmlInputControl.cs