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
- RtfToken.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- TransactionalPackage.cs
- CompoundFileDeflateTransform.cs
- xmlsaver.cs
- ObjectDataSourceDisposingEventArgs.cs
- Aggregates.cs
- CommandLineParser.cs
- HyperLinkStyle.cs
- SequentialUshortCollection.cs
- CodeDirectiveCollection.cs
- QilParameter.cs
- DispatcherTimer.cs
- EnumMemberAttribute.cs
- OleStrCAMarshaler.cs
- XmlAttributeHolder.cs
- ZoneButton.cs
- ImageMapEventArgs.cs
- RefreshEventArgs.cs
- SID.cs
- StringHelper.cs
- MessagePartDescription.cs
- WebPartConnectionsCancelVerb.cs
- ToolStripStatusLabel.cs
- ServiceXNameTypeConverter.cs
- DiagnosticsConfiguration.cs
- XmlQueryCardinality.cs
- BlurEffect.cs
- XamlFilter.cs
- LazyInitializer.cs
- AllMembershipCondition.cs
- SQLDoubleStorage.cs
- FormViewInsertEventArgs.cs
- SQLConvert.cs
- XmlSchemaNotation.cs
- TextAutomationPeer.cs
- ToolStripItemCollection.cs
- InkCanvasSelection.cs
- EncoderBestFitFallback.cs
- PassportAuthenticationModule.cs
- ToolboxCategoryItems.cs
- exports.cs
- SpeechAudioFormatInfo.cs
- ColorAnimationUsingKeyFrames.cs
- WebDescriptionAttribute.cs
- LogEntryHeaderSerializer.cs
- ButtonBaseAutomationPeer.cs
- QuaternionValueSerializer.cs
- XmlElementAttribute.cs
- WorkflowServiceHost.cs
- SqlCacheDependencySection.cs
- PrintControllerWithStatusDialog.cs
- DataGridRow.cs
- WeakRefEnumerator.cs
- FilteredDataSetHelper.cs
- RawStylusInput.cs
- HostedHttpContext.cs
- FixedElement.cs
- PreviewKeyDownEventArgs.cs
- WebPartDeleteVerb.cs
- SynchronousChannel.cs
- RuntimeConfigLKG.cs
- GridItemPatternIdentifiers.cs
- RadialGradientBrush.cs
- XmlAttribute.cs
- ModuleBuilder.cs
- TranslateTransform3D.cs
- AggregationMinMaxHelpers.cs
- TextEndOfSegment.cs
- BindingCollection.cs
- FileCodeGroup.cs
- DocumentOrderQuery.cs
- HwndProxyElementProvider.cs
- CDSsyncETWBCLProvider.cs
- PolyLineSegment.cs
- ValueTypeFixupInfo.cs
- SqlConnection.cs
- Certificate.cs
- HtmlInputFile.cs
- CharacterHit.cs
- SqlConnectionPoolProviderInfo.cs
- codemethodreferenceexpression.cs
- BaseTemplateCodeDomTreeGenerator.cs
- View.cs
- UrlPath.cs
- XsltArgumentList.cs
- SystemTcpStatistics.cs
- TrustLevelCollection.cs
- TypeHelper.cs
- CharacterBufferReference.cs
- XPathSingletonIterator.cs
- SHA384.cs
- EntitySqlQueryCacheKey.cs
- QilTargetType.cs
- SessionEndedEventArgs.cs
- AuthenticatingEventArgs.cs
- XmlDataSource.cs
- CurrentTimeZone.cs
- CellIdBoolean.cs
- ItemsControl.cs