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
- MulticastDelegate.cs
- ContentOperations.cs
- WindowProviderWrapper.cs
- OleCmdHelper.cs
- Timer.cs
- ParameterModifier.cs
- WebPartsSection.cs
- Transform3D.cs
- PrePrepareMethodAttribute.cs
- PolicyManager.cs
- ErrorTableItemStyle.cs
- MbpInfo.cs
- MessageQueuePermission.cs
- CompositeActivityMarkupSerializer.cs
- GAC.cs
- DataGridViewComboBoxColumn.cs
- ZipIOLocalFileBlock.cs
- MultipleViewPattern.cs
- BufferedReadStream.cs
- StreamingContext.cs
- FixedTextPointer.cs
- IncrementalCompileAnalyzer.cs
- GenericRootAutomationPeer.cs
- AutomationAttributeInfo.cs
- ProfileSettingsCollection.cs
- MetadataArtifactLoaderComposite.cs
- NamespaceEmitter.cs
- RenderDataDrawingContext.cs
- BehaviorEditorPart.cs
- SafeCryptHandles.cs
- DataTransferEventArgs.cs
- ScrollBarRenderer.cs
- CopyAction.cs
- RegistryPermission.cs
- QueryStringParameter.cs
- CreateParams.cs
- Registry.cs
- Html32TextWriter.cs
- DefaultValueTypeConverter.cs
- ValidatingReaderNodeData.cs
- ObjectDataSourceEventArgs.cs
- basevalidator.cs
- ToolStripScrollButton.cs
- CodeParameterDeclarationExpression.cs
- COM2TypeInfoProcessor.cs
- PageAdapter.cs
- ColumnHeader.cs
- GridLengthConverter.cs
- UrlPath.cs
- ApplicationTrust.cs
- CompositeCollectionView.cs
- DesignTimeValidationFeature.cs
- Configuration.cs
- EntityFrameworkVersions.cs
- ControlIdConverter.cs
- RegexTree.cs
- TemplateControlParser.cs
- WebPartEditorOkVerb.cs
- FlowPosition.cs
- EntityTypeEmitter.cs
- WebCategoryAttribute.cs
- selecteditemcollection.cs
- ParameterCollection.cs
- TextWriter.cs
- UnsafeNativeMethods.cs
- CfgParser.cs
- InvokeMethodActivity.cs
- XmlChildNodes.cs
- Rotation3D.cs
- PrimitiveSchema.cs
- Grant.cs
- HotCommands.cs
- FilteredDataSetHelper.cs
- CustomWebEventKey.cs
- ColorPalette.cs
- CancelEventArgs.cs
- WebEventTraceProvider.cs
- DBSchemaRow.cs
- CheckBoxField.cs
- TranslateTransform3D.cs
- DynamicILGenerator.cs
- SafeHandle.cs
- ISessionStateStore.cs
- WinCategoryAttribute.cs
- TreeIterator.cs
- PlainXmlDeserializer.cs
- XmlSchemaExternal.cs
- CryptoApi.cs
- Win32Exception.cs
- ObjectQuery.cs
- ContextMenuStrip.cs
- ObjectCache.cs
- TextPointerBase.cs
- AppLevelCompilationSectionCache.cs
- EmptyElement.cs
- QueryCursorEventArgs.cs
- AssemblyBuilder.cs
- InstanceStore.cs
- UpdatePanelControlTrigger.cs
- PartManifestEntry.cs