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
- XmlArrayItemAttributes.cs
- HttpPostedFileBase.cs
- AnimationStorage.cs
- Animatable.cs
- ClientSettingsSection.cs
- AutomationElement.cs
- DesignerPainter.cs
- OdbcDataReader.cs
- MappingException.cs
- CompositeFontParser.cs
- ScrollableControl.cs
- TemplateGroupCollection.cs
- QilSortKey.cs
- HyperlinkAutomationPeer.cs
- WebControlsSection.cs
- IconConverter.cs
- UnaryExpression.cs
- TaskFileService.cs
- StatusBarItem.cs
- PageCodeDomTreeGenerator.cs
- SqlBulkCopyColumnMapping.cs
- Pen.cs
- SrgsRuleRef.cs
- HttpHandlersSection.cs
- CheckPair.cs
- LoginDesignerUtil.cs
- TextRange.cs
- MarkupWriter.cs
- WeakReferenceList.cs
- IdentitySection.cs
- ContextStaticAttribute.cs
- AssemblyAttributes.cs
- ClientSideQueueItem.cs
- ScriptReference.cs
- WebPartZoneCollection.cs
- UnauthorizedWebPart.cs
- DataControlFieldCollection.cs
- Matrix.cs
- SafeNativeMethods.cs
- TransferMode.cs
- FragmentQueryKB.cs
- FileUpload.cs
- HwndMouseInputProvider.cs
- DataControlFieldHeaderCell.cs
- BaseProcessor.cs
- ColumnWidthChangedEvent.cs
- DefaultParameterValueAttribute.cs
- CompositeControl.cs
- PlaceHolder.cs
- RecommendedAsConfigurableAttribute.cs
- Transform3D.cs
- Condition.cs
- DbInsertCommandTree.cs
- VScrollProperties.cs
- InheritanceContextHelper.cs
- NonBatchDirectoryCompiler.cs
- SqlLiftIndependentRowExpressions.cs
- HttpApplicationStateWrapper.cs
- AppLevelCompilationSectionCache.cs
- LicenseProviderAttribute.cs
- StrokeCollection2.cs
- HybridObjectCache.cs
- DiffuseMaterial.cs
- AdornedElementPlaceholder.cs
- StaticContext.cs
- XXXInfos.cs
- DataServiceKeyAttribute.cs
- BitmapEffectInput.cs
- SQLChars.cs
- ModulesEntry.cs
- DATA_BLOB.cs
- SignatureGenerator.cs
- PerfService.cs
- MetadataFile.cs
- DbResourceAllocator.cs
- SortDescription.cs
- OptionalRstParameters.cs
- DrawingContextDrawingContextWalker.cs
- ItemCheckEvent.cs
- Positioning.cs
- x509store.cs
- ContextMenuStrip.cs
- KerberosSecurityTokenProvider.cs
- XmlSchemaExternal.cs
- ClientSettingsStore.cs
- TextSelectionHelper.cs
- KoreanLunisolarCalendar.cs
- ManualResetEventSlim.cs
- CurrentChangedEventManager.cs
- OneWayChannelFactory.cs
- AbstractDataSvcMapFileLoader.cs
- XmlAttribute.cs
- ToolTipAutomationPeer.cs
- FileLoadException.cs
- StatusInfoItem.cs
- DBDataPermission.cs
- TimeoutTimer.cs
- JsonObjectDataContract.cs
- ElementFactory.cs
- CompositeCollectionView.cs