Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TableCellAutomationPeer.cs
- ConnectionManagementElementCollection.cs
- ParserExtension.cs
- GACMembershipCondition.cs
- HtmlTernaryTree.cs
- TextLineBreak.cs
- PopOutPanel.cs
- MatrixConverter.cs
- RegexParser.cs
- FileLogRecord.cs
- DefaultHttpHandler.cs
- CodeNamespace.cs
- CqlParserHelpers.cs
- InkCanvasAutomationPeer.cs
- SafeFileMappingHandle.cs
- OleDbCommandBuilder.cs
- EntityContainerRelationshipSetEnd.cs
- MsmqNonTransactedPoisonHandler.cs
- TextTreeInsertUndoUnit.cs
- MSAAWinEventWrap.cs
- GenericPrincipal.cs
- ConfigurationSectionCollection.cs
- NaturalLanguageHyphenator.cs
- WindowsBrush.cs
- CharEnumerator.cs
- Funcletizer.cs
- CfgParser.cs
- Int32Rect.cs
- UDPClient.cs
- DeploymentSection.cs
- DataGridCellAutomationPeer.cs
- NodeFunctions.cs
- PrincipalPermission.cs
- Timer.cs
- FacetEnabledSchemaElement.cs
- ItemMap.cs
- XmlnsCache.cs
- GraphicsPath.cs
- Crc32.cs
- BigInt.cs
- ISAPIRuntime.cs
- SymbolMethod.cs
- RelOps.cs
- SafeEventLogWriteHandle.cs
- XamlToRtfParser.cs
- login.cs
- IResourceProvider.cs
- Brush.cs
- StatusBarPanelClickEvent.cs
- PrintPreviewControl.cs
- ContentType.cs
- StorageRoot.cs
- Domain.cs
- UseLicense.cs
- Lease.cs
- PolyQuadraticBezierSegment.cs
- MSAANativeProvider.cs
- OperatingSystem.cs
- SerializationTrace.cs
- DescendentsWalker.cs
- EntityDataSourceChangedEventArgs.cs
- ProviderMetadataCachedInformation.cs
- ListControl.cs
- DataSourceConverter.cs
- DataTransferEventArgs.cs
- WsdlImporterElementCollection.cs
- Rijndael.cs
- MouseEventArgs.cs
- XPathEmptyIterator.cs
- AnnotationMap.cs
- SafeLibraryHandle.cs
- ListViewInsertEventArgs.cs
- HyperlinkAutomationPeer.cs
- QilChoice.cs
- VBCodeProvider.cs
- FixedPage.cs
- XmlNode.cs
- AnnotationResourceChangedEventArgs.cs
- SqlBuffer.cs
- TypedDataSourceCodeGenerator.cs
- DataObjectMethodAttribute.cs
- ApplySecurityAndSendAsyncResult.cs
- Cursors.cs
- COSERVERINFO.cs
- BrowserCapabilitiesCodeGenerator.cs
- DynamicContractTypeBuilder.cs
- _BaseOverlappedAsyncResult.cs
- EncodingDataItem.cs
- HyperLink.cs
- DataGridViewTextBoxColumn.cs
- PersonalizablePropertyEntry.cs
- SiteMapNodeCollection.cs
- IsolatedStorageFileStream.cs
- ToolStripItemDataObject.cs
- WebPartVerbCollection.cs
- MatrixKeyFrameCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ToolStripOverflowButton.cs
- StringUtil.cs
- BitmapEffect.cs