Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WinEventWrap.cs
- ToolStripItemRenderEventArgs.cs
- HttpWriter.cs
- EditorZoneBase.cs
- AvTraceDetails.cs
- XmlEncodedRawTextWriter.cs
- LocalizationCodeDomSerializer.cs
- Funcletizer.cs
- TextTreeRootTextBlock.cs
- ConfigXmlSignificantWhitespace.cs
- MethodAccessException.cs
- RuntimeHelpers.cs
- EntityExpressionVisitor.cs
- AvTraceFormat.cs
- BuildManagerHost.cs
- GridLengthConverter.cs
- GlobalizationSection.cs
- TableAutomationPeer.cs
- DefaultPropertyAttribute.cs
- PermissionToken.cs
- XmlNodeReader.cs
- Decorator.cs
- __TransparentProxy.cs
- BooleanExpr.cs
- TableLayoutStyleCollection.cs
- FrameworkEventSource.cs
- HttpCacheParams.cs
- MethodBody.cs
- WindowsRichEditRange.cs
- QueryStatement.cs
- HttpCapabilitiesSectionHandler.cs
- SplineKeyFrames.cs
- FilteredSchemaElementLookUpTable.cs
- HttpResponseHeader.cs
- InternalBufferOverflowException.cs
- AdPostCacheSubstitution.cs
- PropertyNames.cs
- IIS7UserPrincipal.cs
- COM2Enum.cs
- VerticalAlignConverter.cs
- DayRenderEvent.cs
- Block.cs
- TextSerializer.cs
- HostElement.cs
- FileVersionInfo.cs
- ErrorStyle.cs
- Clause.cs
- dbdatarecord.cs
- PaintValueEventArgs.cs
- DynamicQueryStringParameter.cs
- TextTreeRootNode.cs
- ConfigurationSectionCollection.cs
- CommentEmitter.cs
- WsrmMessageInfo.cs
- Interlocked.cs
- TreeViewAutomationPeer.cs
- MemoryStream.cs
- ReaderWriterLock.cs
- XmlSchemaImport.cs
- TCPClient.cs
- ProcessModelSection.cs
- DataGridViewColumnConverter.cs
- FileUtil.cs
- SqlAggregateChecker.cs
- ObsoleteAttribute.cs
- DetailsViewInsertedEventArgs.cs
- codemethodreferenceexpression.cs
- SQLByteStorage.cs
- OptionUsage.cs
- _HeaderInfoTable.cs
- RegexNode.cs
- Base64WriteStateInfo.cs
- ThreadAttributes.cs
- AppSettingsExpressionBuilder.cs
- UnknownWrapper.cs
- CodeExporter.cs
- CollectionViewSource.cs
- ToolTipService.cs
- ListItemCollection.cs
- XmlReflectionImporter.cs
- _ContextAwareResult.cs
- DataServiceContext.cs
- CodeExporter.cs
- FileChangeNotifier.cs
- TypeConverterHelper.cs
- LogEntryHeaderv1Deserializer.cs
- MonitorWrapper.cs
- ResourcePermissionBase.cs
- WaitHandle.cs
- wgx_exports.cs
- StorageMappingItemCollection.cs
- ContextMenuStrip.cs
- infer.cs
- ReadContentAsBinaryHelper.cs
- GridEntryCollection.cs
- GridItemCollection.cs
- entityreference_tresulttype.cs
- SqlParameter.cs
- GenericUriParser.cs
- SparseMemoryStream.cs