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
- MinimizableAttributeTypeConverter.cs
- SqlMethodTransformer.cs
- DateTimeOffsetAdapter.cs
- HtmlInputImage.cs
- MenuItemBinding.cs
- ThreadSafeList.cs
- RijndaelManaged.cs
- Unit.cs
- RelationshipType.cs
- DataTableMapping.cs
- TableCellAutomationPeer.cs
- Win32KeyboardDevice.cs
- SqlDataSourceStatusEventArgs.cs
- ServiceDefaults.cs
- XmlIlVisitor.cs
- TdsParserStaticMethods.cs
- LinearQuaternionKeyFrame.cs
- XmlExceptionHelper.cs
- XdrBuilder.cs
- FixedTextSelectionProcessor.cs
- ThreadInterruptedException.cs
- DummyDataSource.cs
- RequestTimeoutManager.cs
- GridItemCollection.cs
- LayoutManager.cs
- DocumentPage.cs
- ArraySortHelper.cs
- TeredoHelper.cs
- QueryConverter.cs
- AuditLog.cs
- PropertyMappingExceptionEventArgs.cs
- CheckableControlBaseAdapter.cs
- PerformanceCountersElement.cs
- BindingElement.cs
- _ConnectOverlappedAsyncResult.cs
- TextRangeAdaptor.cs
- IRCollection.cs
- IgnoreDeviceFilterElementCollection.cs
- PropertyKey.cs
- mactripleDES.cs
- ObjectViewListener.cs
- ResolveNameEventArgs.cs
- FormViewDeleteEventArgs.cs
- SspiNegotiationTokenProvider.cs
- FormViewDeletedEventArgs.cs
- ToolStripContainer.cs
- SqlDataSourceStatusEventArgs.cs
- DefaultAssemblyResolver.cs
- ValidationEventArgs.cs
- CodeTryCatchFinallyStatement.cs
- State.cs
- MiniCustomAttributeInfo.cs
- CounterCreationDataConverter.cs
- MatrixTransform.cs
- SequentialActivityDesigner.cs
- CodeVariableDeclarationStatement.cs
- TableRow.cs
- BufferedOutputStream.cs
- ObjectStorage.cs
- XmlWrappingReader.cs
- EDesignUtil.cs
- WeakReferenceEnumerator.cs
- SqlConnectionPoolGroupProviderInfo.cs
- UntypedNullExpression.cs
- TypeLoader.cs
- PackageRelationship.cs
- FileNameEditor.cs
- ExpressionBuilder.cs
- SerializationSectionGroup.cs
- PaintEvent.cs
- DoubleLinkList.cs
- PersistenceProvider.cs
- DesignerTransactionCloseEvent.cs
- EventLogger.cs
- LockCookie.cs
- ObjectDataSourceMethodEventArgs.cs
- _UriTypeConverter.cs
- DesignBindingValueUIHandler.cs
- XmlValidatingReader.cs
- counter.cs
- SspiSecurityTokenParameters.cs
- StorageSetMapping.cs
- XmlStringTable.cs
- SiteMapNodeItem.cs
- Helpers.cs
- ToolTip.cs
- _NegoState.cs
- BadImageFormatException.cs
- FtpCachePolicyElement.cs
- PointAnimationBase.cs
- OdbcDataReader.cs
- Point3DAnimation.cs
- X509Certificate.cs
- ResolvedKeyFrameEntry.cs
- ExpressionConverter.cs
- SmiXetterAccessMap.cs
- TranslateTransform3D.cs
- ByteRangeDownloader.cs
- InvalidStoreProtectionKeyException.cs
- AlgoModule.cs