Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Reflection / ObfuscationAttribute.cs / 1 / ObfuscationAttribute.cs
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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Win32MouseDevice.cs
- TextElementAutomationPeer.cs
- UserInitiatedNavigationPermission.cs
- XamlBuildTaskServices.cs
- InternalConfigRoot.cs
- _ProxyChain.cs
- PhysicalFontFamily.cs
- Literal.cs
- Query.cs
- BypassElement.cs
- Ref.cs
- ColumnReorderedEventArgs.cs
- FileDataSourceCache.cs
- FamilyTypeface.cs
- TextParagraphCache.cs
- DataTransferEventArgs.cs
- TextEditorTables.cs
- util.cs
- MenuRenderer.cs
- LinearGradientBrush.cs
- DataListItem.cs
- PerfCounterSection.cs
- MissingSatelliteAssemblyException.cs
- SettingsPropertyValueCollection.cs
- IFormattable.cs
- JapaneseLunisolarCalendar.cs
- pingexception.cs
- RawStylusSystemGestureInputReport.cs
- TextEffectResolver.cs
- LineServicesCallbacks.cs
- CommandValueSerializer.cs
- TouchDevice.cs
- TextFormatterContext.cs
- ElementNotEnabledException.cs
- ProjectionAnalyzer.cs
- InvalidDataException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MexTcpBindingElement.cs
- Header.cs
- DetailsViewDeleteEventArgs.cs
- StaticSiteMapProvider.cs
- IndicShape.cs
- HtmlMobileTextWriter.cs
- ActivityDesignerResources.cs
- XXXInfos.cs
- CaseStatementSlot.cs
- WindowsAuthenticationModule.cs
- ContentPathSegment.cs
- SqlCacheDependencySection.cs
- WindowsTitleBar.cs
- EntityCommandCompilationException.cs
- SystemUnicastIPAddressInformation.cs
- Group.cs
- SqlMethods.cs
- FontStyleConverter.cs
- IRCollection.cs
- WebPartZone.cs
- Interlocked.cs
- GroupBoxRenderer.cs
- BindableAttribute.cs
- Journaling.cs
- ConstraintManager.cs
- RtfToXamlLexer.cs
- TimeSpanValidator.cs
- AutoScrollHelper.cs
- RelOps.cs
- StylusEditingBehavior.cs
- MostlySingletonList.cs
- NavigationWindow.cs
- TiffBitmapDecoder.cs
- FollowerQueueCreator.cs
- GeneralTransform.cs
- PasswordTextContainer.cs
- DataGridLinkButton.cs
- SaveFileDialog.cs
- DecimalConstantAttribute.cs
- DataGridTableStyleMappingNameEditor.cs
- GridItem.cs
- RegistrySecurity.cs
- XmlSchemaObjectTable.cs
- NamespaceQuery.cs
- CellTreeNodeVisitors.cs
- DocumentViewerConstants.cs
- SimpleHandlerFactory.cs
- ConfigXmlWhitespace.cs
- ISSmlParser.cs
- XmlChildEnumerator.cs
- QuadraticBezierSegment.cs
- DBParameter.cs
- NamespaceEmitter.cs
- SafeNativeMethods.cs
- HashSetDebugView.cs
- TypePresenter.xaml.cs
- CustomErrorsSection.cs
- SqlProviderUtilities.cs
- Constants.cs
- InfiniteTimeSpanConverter.cs
- WrappedKeySecurityTokenParameters.cs
- XmlBaseReader.cs
- FtpCachePolicyElement.cs