Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / CompilationRelaxations.cs / 1 / CompilationRelaxations.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; /// IMPORTANT: Keep this in [....] with corhdr.h [Serializable, Flags] [System.Runtime.InteropServices.ComVisible(true)] public enum CompilationRelaxations : int { NoStringInterning = 0x0008, // Start in 0x0008, we had other non public flags in this enum before, // so we'll start here just in case somebody used them. This flag is only // valid when set for Assemblies. }; [Serializable, AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)] [System.Runtime.InteropServices.ComVisible(true)] public class CompilationRelaxationsAttribute : Attribute { private int m_relaxations; // The relaxations. public CompilationRelaxationsAttribute ( int relaxations) { m_relaxations = relaxations; } public CompilationRelaxationsAttribute ( CompilationRelaxations relaxations) { m_relaxations = (int) relaxations; } public int CompilationRelaxations { get { return m_relaxations; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; /// IMPORTANT: Keep this in [....] with corhdr.h [Serializable, Flags] [System.Runtime.InteropServices.ComVisible(true)] public enum CompilationRelaxations : int { NoStringInterning = 0x0008, // Start in 0x0008, we had other non public flags in this enum before, // so we'll start here just in case somebody used them. This flag is only // valid when set for Assemblies. }; [Serializable, AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)] [System.Runtime.InteropServices.ComVisible(true)] public class CompilationRelaxationsAttribute : Attribute { private int m_relaxations; // The relaxations. public CompilationRelaxationsAttribute ( int relaxations) { m_relaxations = relaxations; } public CompilationRelaxationsAttribute ( CompilationRelaxations relaxations) { m_relaxations = (int) relaxations; } public int CompilationRelaxations { get { return m_relaxations; } } } } // 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
- InstalledFontCollection.cs
- NonDualMessageSecurityOverHttp.cs
- Empty.cs
- DbResourceAllocator.cs
- Utils.cs
- dataprotectionpermission.cs
- TextFormatterHost.cs
- SpecularMaterial.cs
- ComUdtElementCollection.cs
- StreamInfo.cs
- TdsValueSetter.cs
- ChannelSettingsElement.cs
- ServerValidateEventArgs.cs
- ListControlStringCollectionEditor.cs
- ObjectView.cs
- SchemaCollectionCompiler.cs
- OleDbReferenceCollection.cs
- WindowsFormsSynchronizationContext.cs
- ItemType.cs
- OperatingSystem.cs
- SecurityContext.cs
- DesignerLoader.cs
- COM2PictureConverter.cs
- PenLineCapValidation.cs
- UInt64Converter.cs
- MenuItem.cs
- SerialPort.cs
- ZipIOExtraFieldPaddingElement.cs
- CaseKeyBox.xaml.cs
- ScriptServiceAttribute.cs
- WindowsHyperlink.cs
- ContentElementAutomationPeer.cs
- PhonemeConverter.cs
- PaintEvent.cs
- DesignerForm.cs
- AuditLog.cs
- CancellationTokenSource.cs
- CodeIndexerExpression.cs
- CatalogPart.cs
- Crc32Helper.cs
- ResXBuildProvider.cs
- AnnotationDocumentPaginator.cs
- View.cs
- XmlReaderSettings.cs
- SecurityStateEncoder.cs
- Convert.cs
- EncoderReplacementFallback.cs
- EventProvider.cs
- JsonMessageEncoderFactory.cs
- CapabilitiesPattern.cs
- _OverlappedAsyncResult.cs
- InputManager.cs
- SystemIPv4InterfaceProperties.cs
- InputLanguageSource.cs
- ToolStripStatusLabel.cs
- Menu.cs
- DataGridViewCellStyleConverter.cs
- TraceLevelStore.cs
- ClientApiGenerator.cs
- StandardToolWindows.cs
- XmlSchemaChoice.cs
- FileDialog_Vista_Interop.cs
- SymmetricKeyWrap.cs
- EventNotify.cs
- DataGridPageChangedEventArgs.cs
- cryptoapiTransform.cs
- DbMetaDataCollectionNames.cs
- UnmanagedMemoryStream.cs
- DataSource.cs
- RelationshipEnd.cs
- ReadOnlyDictionary.cs
- StreamBodyWriter.cs
- OutputCacheProfile.cs
- TransformationRules.cs
- StandardOleMarshalObject.cs
- DBProviderConfigurationHandler.cs
- ResourcesBuildProvider.cs
- TemplatePropertyEntry.cs
- GlobalEventManager.cs
- RequiredAttributeAttribute.cs
- XmlTextAttribute.cs
- AssemblyAssociatedContentFileAttribute.cs
- CompressEmulationStream.cs
- DesignOnlyAttribute.cs
- RequestNavigateEventArgs.cs
- ExpressionCopier.cs
- TextEditorSelection.cs
- OpacityConverter.cs
- recordstatefactory.cs
- DesignBindingConverter.cs
- codemethodreferenceexpression.cs
- HwndSourceParameters.cs
- cookieexception.cs
- BasePattern.cs
- PackagingUtilities.cs
- PartitionedDataSource.cs
- ImageListDesigner.cs
- GPPOINT.cs
- SqlNodeTypeOperators.cs
- PreviewControlDesigner.cs