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
- SelectionEditor.cs
- NetworkInformationException.cs
- cryptoapiTransform.cs
- WebPartVerbsEventArgs.cs
- ProfessionalColors.cs
- HttpClientCertificate.cs
- UpdatePanelTrigger.cs
- AttachedAnnotationChangedEventArgs.cs
- Popup.cs
- MoveSizeWinEventHandler.cs
- DriveInfo.cs
- OracleCommand.cs
- PseudoWebRequest.cs
- DBConnectionString.cs
- TrackingExtract.cs
- MinimizableAttributeTypeConverter.cs
- DataGridViewCellConverter.cs
- TreeBuilderXamlTranslator.cs
- MobileResource.cs
- InputProcessorProfiles.cs
- XmlSchemaComplexContentExtension.cs
- DataKey.cs
- CellCreator.cs
- ApplicationSecurityInfo.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- FindRequestContext.cs
- SocketException.cs
- CacheAxisQuery.cs
- UnknownWrapper.cs
- Message.cs
- HandlerFactoryWrapper.cs
- PkcsMisc.cs
- ProfileSection.cs
- DataPagerFieldItem.cs
- DataGridViewRowCollection.cs
- OutputCacheProfileCollection.cs
- Cursor.cs
- ExpressionBuilder.cs
- EpmContentSerializer.cs
- RuleSettings.cs
- Timeline.cs
- CreateUserErrorEventArgs.cs
- ConfigurationValues.cs
- GridViewAutoFormat.cs
- IisTraceWebEventProvider.cs
- TransformerInfoCollection.cs
- SrgsSemanticInterpretationTag.cs
- SqlInternalConnection.cs
- AggregateException.cs
- SQLByte.cs
- ZipIOLocalFileDataDescriptor.cs
- IImplicitResourceProvider.cs
- NegatedConstant.cs
- DetailsViewAutoFormat.cs
- SqlConnection.cs
- FormsAuthenticationTicket.cs
- WebPartDisplayModeEventArgs.cs
- TreeNodeStyleCollection.cs
- LeaseManager.cs
- CodeVariableReferenceExpression.cs
- VerificationException.cs
- WebBrowser.cs
- OutputScopeManager.cs
- CodeTypeConstructor.cs
- _AutoWebProxyScriptHelper.cs
- CompilerState.cs
- InstanceOwnerException.cs
- TextMessageEncodingElement.cs
- GridViewRowCollection.cs
- EditorPartCollection.cs
- GestureRecognitionResult.cs
- MouseEvent.cs
- LogoValidationException.cs
- SqlDependencyUtils.cs
- ReadWriteSpinLock.cs
- MouseEvent.cs
- TriggerBase.cs
- ObjectStateManager.cs
- Boolean.cs
- XmlToDatasetMap.cs
- GridPatternIdentifiers.cs
- RequestContextBase.cs
- CodeTypeMemberCollection.cs
- JournalEntryStack.cs
- PartitionedStream.cs
- WindowsListViewGroupHelper.cs
- RadioButton.cs
- ResourceReferenceExpressionConverter.cs
- ReadOnlyTernaryTree.cs
- GridViewDeletedEventArgs.cs
- IIS7UserPrincipal.cs
- ListViewItem.cs
- ToolStripDropDownButton.cs
- ObjectQuery.cs
- cookiecollection.cs
- DataServiceRequest.cs
- GroupItemAutomationPeer.cs
- View.cs
- DataBinder.cs