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
- XmlSchemaAnyAttribute.cs
- RadioButtonList.cs
- DesignBindingPicker.cs
- TraceUtility.cs
- ClosableStream.cs
- ConstNode.cs
- EdmEntityTypeAttribute.cs
- PageAsyncTask.cs
- SQLDateTimeStorage.cs
- InvalidCastException.cs
- ComponentCommands.cs
- ReadOnlyCollection.cs
- WebPartExportVerb.cs
- DbConnectionClosed.cs
- mda.cs
- RTLAwareMessageBox.cs
- XPathItem.cs
- CurrentChangingEventManager.cs
- MsmqSecureHashAlgorithm.cs
- ProfileEventArgs.cs
- DataMemberConverter.cs
- MessagePropertyAttribute.cs
- WebPartEditorOkVerb.cs
- ArraySegment.cs
- HandlerBase.cs
- SafeNativeMethods.cs
- MaterialGroup.cs
- MouseWheelEventArgs.cs
- FormViewUpdateEventArgs.cs
- GacUtil.cs
- X509CertificateClaimSet.cs
- SqlWriter.cs
- PresentationSource.cs
- TransformValueSerializer.cs
- ObjectToken.cs
- BindValidationContext.cs
- HtmlShimManager.cs
- NotificationContext.cs
- MarkedHighlightComponent.cs
- TransformedBitmap.cs
- OperandQuery.cs
- ExpressionNormalizer.cs
- RequestResizeEvent.cs
- LabelLiteral.cs
- ChannelBinding.cs
- MemoryStream.cs
- NameService.cs
- ObjectDataSourceEventArgs.cs
- HashCodeCombiner.cs
- SafeNativeMethods.cs
- CreateUserWizardStep.cs
- ConnectionStringSettingsCollection.cs
- UserControl.cs
- AssemblyCache.cs
- RuntimeIdentifierPropertyAttribute.cs
- DataBindingCollectionEditor.cs
- CodeTypeDeclaration.cs
- Point3D.cs
- CheckBoxStandardAdapter.cs
- CompilerGlobalScopeAttribute.cs
- Compensate.cs
- ServiceHttpHandlerFactory.cs
- QilChoice.cs
- WebBrowserEvent.cs
- AppDomainUnloadedException.cs
- Range.cs
- mediaeventshelper.cs
- TemplateControlCodeDomTreeGenerator.cs
- assemblycache.cs
- HttpInputStream.cs
- printdlgexmarshaler.cs
- LinkedResource.cs
- BitmapData.cs
- DependencyPropertyHelper.cs
- DiscoveryExceptionDictionary.cs
- SrgsToken.cs
- _BaseOverlappedAsyncResult.cs
- SamlAction.cs
- ScrollItemPatternIdentifiers.cs
- safemediahandle.cs
- TagNameToTypeMapper.cs
- QilGeneratorEnv.cs
- RemoteWebConfigurationHostServer.cs
- IPHostEntry.cs
- TagNameToTypeMapper.cs
- FreeFormDragDropManager.cs
- BitmapVisualManager.cs
- IncrementalCompileAnalyzer.cs
- MSAANativeProvider.cs
- HebrewCalendar.cs
- WebPartMovingEventArgs.cs
- ListItemConverter.cs
- ResXResourceWriter.cs
- PipeStream.cs
- DrawItemEvent.cs
- shaper.cs
- AnyReturnReader.cs
- PartBasedPackageProperties.cs
- PerspectiveCamera.cs
- SubMenuStyle.cs