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
- ImageCollectionCodeDomSerializer.cs
- Tablet.cs
- LiteralControl.cs
- ParameterModifier.cs
- _NegoState.cs
- XmlNamespaceMappingCollection.cs
- DesignerTextViewAdapter.cs
- SafeTimerHandle.cs
- HScrollProperties.cs
- AccessControlEntry.cs
- ValueUtilsSmi.cs
- LinqMaximalSubtreeNominator.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Convert.cs
- ModelItemImpl.cs
- TargetFrameworkAttribute.cs
- ChineseLunisolarCalendar.cs
- InvalidCastException.cs
- VectorAnimation.cs
- DesignerForm.cs
- XmlNamespaceManager.cs
- RequestQueryProcessor.cs
- CompilerGeneratedAttribute.cs
- HMACSHA1.cs
- DependencyObjectPropertyDescriptor.cs
- MenuRendererClassic.cs
- XPathEmptyIterator.cs
- SqlFunctionAttribute.cs
- RewritingValidator.cs
- PropertyFilterAttribute.cs
- ShutDownListener.cs
- BinHexEncoding.cs
- StorageAssociationSetMapping.cs
- TypedServiceChannelBuilder.cs
- ObsoleteAttribute.cs
- FactoryId.cs
- BlurBitmapEffect.cs
- ConnectionPoint.cs
- MessagePropertyFilter.cs
- MaskedTextBox.cs
- HtmlFormParameterWriter.cs
- GridViewRowCollection.cs
- HyperLinkColumn.cs
- TextBox.cs
- DateTimeEditor.cs
- PaintEvent.cs
- SelectionEditingBehavior.cs
- OpenFileDialog.cs
- MessageQueueCriteria.cs
- MethodExpression.cs
- MessageSecurityOverTcpElement.cs
- Binding.cs
- XmlElementAttribute.cs
- ReliabilityContractAttribute.cs
- CancellationToken.cs
- TextServicesCompartmentEventSink.cs
- ContentPlaceHolderDesigner.cs
- HtmlWindowCollection.cs
- Resources.Designer.cs
- CopyNodeSetAction.cs
- DataGridCellsPanel.cs
- ModulesEntry.cs
- SchemaImporterExtensionElement.cs
- OpCopier.cs
- Vector.cs
- CustomCategoryAttribute.cs
- EntityContainerEntitySetDefiningQuery.cs
- DockEditor.cs
- Reference.cs
- SqlUdtInfo.cs
- WebControlParameterProxy.cs
- EdmToObjectNamespaceMap.cs
- ScrollViewer.cs
- XmlSchemaType.cs
- BrowserDefinitionCollection.cs
- PreservationFileReader.cs
- UTF8Encoding.cs
- RawAppCommandInputReport.cs
- XsltQilFactory.cs
- BitmapEffectInputConnector.cs
- Image.cs
- ReversePositionQuery.cs
- Boolean.cs
- ProfessionalColors.cs
- EntityRecordInfo.cs
- ObjectResult.cs
- PanelDesigner.cs
- RowToParametersTransformer.cs
- NotifyParentPropertyAttribute.cs
- GlyphCollection.cs
- SafeWaitHandle.cs
- DesignerCategoryAttribute.cs
- CodeBinaryOperatorExpression.cs
- WebPartConnectionsEventArgs.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataGridViewComboBoxColumnDesigner.cs
- Label.cs
- EditBehavior.cs
- PlatformNotSupportedException.cs
- KnownIds.cs