Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ObfuscationAttribute.cs / 1305376 / ObfuscationAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// [....]
//
using System;
using System.Reflection;
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate,
AllowMultiple = true, Inherited = false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ObfuscationAttribute: Attribute
{
private bool m_strip = true;
private bool m_exclude = true;
private bool m_applyToMembers = true;
private string m_feature = "all";
public ObfuscationAttribute()
{
}
public bool StripAfterObfuscation
{
get
{
return m_strip;
}
set
{
m_strip = value;
}
}
public bool Exclude
{
get
{
return m_exclude;
}
set
{
m_exclude = value;
}
}
public bool ApplyToMembers
{
get
{
return m_applyToMembers;
}
set
{
m_applyToMembers = value;
}
}
public string Feature
{
get
{
return m_feature;
}
set
{
m_feature = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// [....]
//
using System;
using System.Reflection;
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate,
AllowMultiple = true, Inherited = false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ObfuscationAttribute: Attribute
{
private bool m_strip = true;
private bool m_exclude = true;
private bool m_applyToMembers = true;
private string m_feature = "all";
public ObfuscationAttribute()
{
}
public bool StripAfterObfuscation
{
get
{
return m_strip;
}
set
{
m_strip = value;
}
}
public bool Exclude
{
get
{
return m_exclude;
}
set
{
m_exclude = value;
}
}
public bool ApplyToMembers
{
get
{
return m_applyToMembers;
}
set
{
m_applyToMembers = value;
}
}
public string Feature
{
get
{
return m_feature;
}
set
{
m_feature = value;
}
}
}
}
// 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
- XmlTextReaderImpl.cs
- CacheAxisQuery.cs
- EpmAttributeNameBuilder.cs
- ContentElement.cs
- SourceSwitch.cs
- FontWeights.cs
- FontFamily.cs
- GridErrorDlg.cs
- ZoneButton.cs
- GestureRecognitionResult.cs
- ApplicationDirectoryMembershipCondition.cs
- HideDisabledControlAdapter.cs
- StringCollectionEditor.cs
- PaintValueEventArgs.cs
- EncryptedPackageFilter.cs
- Tracer.cs
- Codec.cs
- RotateTransform.cs
- XmlNode.cs
- WebDisplayNameAttribute.cs
- login.cs
- CodeObjectCreateExpression.cs
- ProgressBarHighlightConverter.cs
- ComboBox.cs
- ScopelessEnumAttribute.cs
- FixUpCollection.cs
- SqlCrossApplyToCrossJoin.cs
- XsltInput.cs
- AndAlso.cs
- VideoDrawing.cs
- ListViewHitTestInfo.cs
- X509Certificate.cs
- ActivityExecutor.cs
- TransactionsSectionGroup.cs
- SafeRightsManagementSessionHandle.cs
- ListViewDeleteEventArgs.cs
- AttributeCollection.cs
- AdapterDictionary.cs
- MatrixIndependentAnimationStorage.cs
- IArgumentProvider.cs
- ControlParameter.cs
- ItemsPanelTemplate.cs
- ProfileModule.cs
- CodeGeneratorOptions.cs
- WindowsIdentity.cs
- InlineCollection.cs
- RTTypeWrapper.cs
- translator.cs
- SelectionManager.cs
- TextEffect.cs
- _AutoWebProxyScriptEngine.cs
- CodeGroup.cs
- DbConnectionHelper.cs
- SizeConverter.cs
- PathNode.cs
- NativeBuffer.cs
- FileUpload.cs
- StickyNoteContentControl.cs
- MobileControl.cs
- XmlElement.cs
- DifferencingCollection.cs
- CursorConverter.cs
- ConditionalDesigner.cs
- ValidationSummary.cs
- WebPartRestoreVerb.cs
- SoapExtension.cs
- ISSmlParser.cs
- Debugger.cs
- PrintPreviewDialog.cs
- DesignerAttributeInfo.cs
- CompositeFontInfo.cs
- PresentationSource.cs
- TextSelectionProcessor.cs
- EllipticalNodeOperations.cs
- DatasetMethodGenerator.cs
- Tablet.cs
- ClientOptions.cs
- IImplicitResourceProvider.cs
- MimePart.cs
- LOSFormatter.cs
- SiteMapHierarchicalDataSourceView.cs
- AppSettingsExpressionEditor.cs
- XPathNavigator.cs
- RuntimeCompatibilityAttribute.cs
- WeakReference.cs
- EtwTrace.cs
- TimelineGroup.cs
- XmlNodeWriter.cs
- DynamicResourceExtensionConverter.cs
- ValidatingPropertiesEventArgs.cs
- ConnectionConsumerAttribute.cs
- BodyGlyph.cs
- EntityDataReader.cs
- NTAccount.cs
- DictionaryKeyPropertyAttribute.cs
- CodeDomConfigurationHandler.cs
- TrackingServices.cs
- Image.cs
- HTTPNotFoundHandler.cs
- FileClassifier.cs