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
- WindowsListViewSubItem.cs
- BuildProviderUtils.cs
- DesignSurfaceCollection.cs
- HttpContextBase.cs
- TimeSpanStorage.cs
- DeploymentSectionCache.cs
- GPPOINTF.cs
- InternalCache.cs
- HttpModuleActionCollection.cs
- DataViewSetting.cs
- StringConverter.cs
- UpdatableGenericsFeature.cs
- TextTreeTextBlock.cs
- FragmentQueryKB.cs
- X509ChainPolicy.cs
- CompletionProxy.cs
- ProcessHostMapPath.cs
- PlanCompiler.cs
- AdRotator.cs
- LastQueryOperator.cs
- SecurityTokenAttachmentMode.cs
- ManifestResourceInfo.cs
- SafeArrayRankMismatchException.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- TrackingRecord.cs
- PriorityItem.cs
- PropertyPanel.cs
- PropertyChangeTracker.cs
- PagerSettings.cs
- HttpListenerResponse.cs
- CodeDOMUtility.cs
- OperationCanceledException.cs
- Mutex.cs
- ScrollBarAutomationPeer.cs
- NameSpaceExtractor.cs
- SerializationException.cs
- PopupControlService.cs
- KeyGestureValueSerializer.cs
- PasswordRecoveryDesigner.cs
- QueryCreatedEventArgs.cs
- localization.cs
- CssStyleCollection.cs
- TextElementEnumerator.cs
- CaseInsensitiveHashCodeProvider.cs
- CodeAssignStatement.cs
- StateMachineWorkflow.cs
- DataGridCellClipboardEventArgs.cs
- ExternalException.cs
- infer.cs
- XslTransform.cs
- DataViewSettingCollection.cs
- DecoderReplacementFallback.cs
- RayHitTestParameters.cs
- TriggerAction.cs
- SqlDataSourceParameterParser.cs
- OdbcConnectionHandle.cs
- ConfigXmlComment.cs
- Configuration.cs
- ModifiableIteratorCollection.cs
- CancelEventArgs.cs
- OptimizedTemplateContentHelper.cs
- InvalidProgramException.cs
- securestring.cs
- HealthMonitoringSectionHelper.cs
- StringUtil.cs
- AuthenticationModeHelper.cs
- AstNode.cs
- RowCache.cs
- HttpResponseHeader.cs
- ObjectDataProvider.cs
- MediaElementAutomationPeer.cs
- SelectionPattern.cs
- StorageConditionPropertyMapping.cs
- DesignerRegion.cs
- InvalidAsynchronousStateException.cs
- StringComparer.cs
- EntityDataSourceContextCreatedEventArgs.cs
- AutomationEvent.cs
- DesignerOptionService.cs
- ValidationSummary.cs
- HtmlInputText.cs
- ProxyWebPartManager.cs
- Point3DAnimationBase.cs
- IndentedWriter.cs
- Literal.cs
- XmlUtf8RawTextWriter.cs
- AuthenticationConfig.cs
- ListViewItem.cs
- ExpressionNode.cs
- XmlSchemas.cs
- PartitionResolver.cs
- MetadataCache.cs
- TextWriterTraceListener.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- KnownColorTable.cs
- ReadOnlyDataSourceView.cs
- FixedPageProcessor.cs
- DataListDesigner.cs
- BlockUIContainer.cs
- SafePEFileHandle.cs