Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / CompilationRelaxations.cs / 1305376 / 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
- SymbolPair.cs
- FormViewRow.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Int64Animation.cs
- TemplatedMailWebEventProvider.cs
- CriticalHandle.cs
- HtmlForm.cs
- TransactionProtocol.cs
- _AutoWebProxyScriptEngine.cs
- WmfPlaceableFileHeader.cs
- DocComment.cs
- SchemaCollectionPreprocessor.cs
- SqlWriter.cs
- ComplexBindingPropertiesAttribute.cs
- DataGridRelationshipRow.cs
- ScriptDescriptor.cs
- EntityViewGenerationConstants.cs
- AlternateViewCollection.cs
- DataGridBoolColumn.cs
- QueryStatement.cs
- ListSortDescription.cs
- DataColumnSelectionConverter.cs
- SessionStateSection.cs
- InheritedPropertyChangedEventArgs.cs
- BinaryMethodMessage.cs
- ResourceDescriptionAttribute.cs
- XmlReflectionImporter.cs
- PathNode.cs
- MimeParameters.cs
- CqlLexer.cs
- ContextMenu.cs
- ParameterBuilder.cs
- TimeoutValidationAttribute.cs
- AnnotationHighlightLayer.cs
- ProtocolsConfiguration.cs
- SafeSecurityHelper.cs
- securitymgrsite.cs
- propertyentry.cs
- ToolboxItemAttribute.cs
- IIS7WorkerRequest.cs
- RequestCachingSection.cs
- Label.cs
- Path.cs
- UrlMappingsModule.cs
- Column.cs
- OleDbRowUpdatedEvent.cs
- GregorianCalendarHelper.cs
- NamespaceMapping.cs
- TextSpanModifier.cs
- HtmlInputButton.cs
- GridViewEditEventArgs.cs
- EventLogTraceListener.cs
- WebSysDescriptionAttribute.cs
- cryptoapiTransform.cs
- _UncName.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- BaseDataListDesigner.cs
- DataSourceGroupCollection.cs
- Debugger.cs
- columnmapfactory.cs
- ToolboxItem.cs
- GenericTextProperties.cs
- SubtreeProcessor.cs
- RootAction.cs
- ScriptDescriptor.cs
- XmlWellformedWriter.cs
- SettingsSavedEventArgs.cs
- ScrollPatternIdentifiers.cs
- TogglePatternIdentifiers.cs
- FlowDecisionDesigner.xaml.cs
- DataReceivedEventArgs.cs
- BaseCodePageEncoding.cs
- RecordBuilder.cs
- IsolatedStorageFile.cs
- DataGridCaption.cs
- RemotingServices.cs
- EndpointAddress.cs
- HostingEnvironmentException.cs
- ContentPropertyAttribute.cs
- Crypto.cs
- NameNode.cs
- TextReturnReader.cs
- EntityViewGenerator.cs
- FixedFindEngine.cs
- ProjectionPruner.cs
- WebPartVerbCollection.cs
- ActivityExecutionFilter.cs
- ServiceCredentials.cs
- SiteMapDataSourceView.cs
- MessagePropertyFilter.cs
- RegexBoyerMoore.cs
- TypeListConverter.cs
- XmlSerializerAssemblyAttribute.cs
- Model3DCollection.cs
- HttpCapabilitiesEvaluator.cs
- MimeTypeAttribute.cs
- MetadataPropertyvalue.cs
- WebPartsPersonalizationAuthorization.cs
- ColorConverter.cs
- OneWayBindingElement.cs