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
- TextBreakpoint.cs
- QilPatternVisitor.cs
- SeekStoryboard.cs
- LoadRetryHandler.cs
- AtomicFile.cs
- EastAsianLunisolarCalendar.cs
- SqlAggregateChecker.cs
- XmlEnumAttribute.cs
- UIElement3D.cs
- SwitchAttribute.cs
- Attributes.cs
- MultipleViewProviderWrapper.cs
- ErrorRuntimeConfig.cs
- FileEnumerator.cs
- InputLanguageEventArgs.cs
- NativeActivityContext.cs
- GiveFeedbackEvent.cs
- ObjectParameter.cs
- ToolBarOverflowPanel.cs
- InvokeProviderWrapper.cs
- ReversePositionQuery.cs
- NameValueConfigurationElement.cs
- ImageMapEventArgs.cs
- StrokeCollectionConverter.cs
- StringHandle.cs
- AppSettingsReader.cs
- SecurityTokenTypes.cs
- Separator.cs
- TextServicesCompartmentContext.cs
- StorageAssociationSetMapping.cs
- XmlSerializationGeneratedCode.cs
- ManagementDateTime.cs
- DrawingGroup.cs
- OracleBFile.cs
- EdmScalarPropertyAttribute.cs
- SocketElement.cs
- AppDomainAttributes.cs
- BlockUIContainer.cs
- CornerRadius.cs
- TrustManager.cs
- XamlWriter.cs
- TextContainerHelper.cs
- DataGridViewToolTip.cs
- EntryIndex.cs
- LicenseProviderAttribute.cs
- HMACRIPEMD160.cs
- DBConnectionString.cs
- WebMessageFormatHelper.cs
- DataSvcMapFile.cs
- InstanceNameConverter.cs
- GuidelineCollection.cs
- WorkflowRuntimeBehavior.cs
- BamlVersionHeader.cs
- NullNotAllowedCollection.cs
- WebBrowserContainer.cs
- StrokeCollectionConverter.cs
- DiscoveryServerProtocol.cs
- HtmlAnchor.cs
- Automation.cs
- OleDbCommand.cs
- WebPartChrome.cs
- DataGridViewRow.cs
- RelationshipEnd.cs
- TypeReference.cs
- Thumb.cs
- CodeExporter.cs
- Convert.cs
- DateTimeSerializationSection.cs
- PassportPrincipal.cs
- WorkflowWebService.cs
- errorpatternmatcher.cs
- FlowNode.cs
- RelativeSource.cs
- ConnectionPoolManager.cs
- COM2FontConverter.cs
- UserControlAutomationPeer.cs
- MemberProjectedSlot.cs
- CodeIdentifiers.cs
- UInt64Converter.cs
- TextureBrush.cs
- BamlCollectionHolder.cs
- HandledMouseEvent.cs
- CursorInteropHelper.cs
- HierarchicalDataTemplate.cs
- GroupItemAutomationPeer.cs
- FontStyles.cs
- ReflectPropertyDescriptor.cs
- DashStyle.cs
- IPAddress.cs
- XmlSchemaComplexContentRestriction.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- DesignConnectionCollection.cs
- CommonDialog.cs
- _OSSOCK.cs
- __TransparentProxy.cs
- Thread.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- _SecureChannel.cs
- ToolStripSeparatorRenderEventArgs.cs
- CodeThrowExceptionStatement.cs