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
- BoundingRectTracker.cs
- CallId.cs
- StorageComplexPropertyMapping.cs
- XmlDataContract.cs
- BehaviorDragDropEventArgs.cs
- DesignerRegionCollection.cs
- ExpressionPrefixAttribute.cs
- RequestQueue.cs
- MD5CryptoServiceProvider.cs
- AuthenticationException.cs
- PackagePartCollection.cs
- SecurityToken.cs
- StaticResourceExtension.cs
- DrawingVisual.cs
- Hyperlink.cs
- JoinGraph.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- BitmapEncoder.cs
- LiteralControl.cs
- ICollection.cs
- IBuiltInEvidence.cs
- RelationshipManager.cs
- ExpressionList.cs
- DictionaryBase.cs
- BasicCellRelation.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- MessageHeaderDescription.cs
- MultiTrigger.cs
- TextLine.cs
- GPPOINTF.cs
- ObjectStorage.cs
- SSmlParser.cs
- IdnMapping.cs
- ProfileSettingsCollection.cs
- FormViewInsertEventArgs.cs
- StorageEndPropertyMapping.cs
- EntityContainerEmitter.cs
- LZCodec.cs
- Int32CollectionConverter.cs
- DataGridViewRowStateChangedEventArgs.cs
- MarkupCompiler.cs
- IsolatedStorageFileStream.cs
- HMACSHA256.cs
- UriTemplatePathSegment.cs
- DelegatingHeader.cs
- XmlTextAttribute.cs
- OpenTypeLayout.cs
- ObjectSpanRewriter.cs
- SQLInt32.cs
- CharKeyFrameCollection.cs
- BlockCollection.cs
- QilTargetType.cs
- XmlTypeAttribute.cs
- TextDocumentView.cs
- DebuggerAttributes.cs
- DateTimeFormat.cs
- XPathConvert.cs
- FullTextBreakpoint.cs
- TypeDescriptorContext.cs
- HttpRawResponse.cs
- SiteMapNodeItemEventArgs.cs
- HandleTable.cs
- SafeRightsManagementPubHandle.cs
- HttpCacheVary.cs
- SecurityContext.cs
- CheckBoxRenderer.cs
- CustomErrorCollection.cs
- RootBrowserWindowAutomationPeer.cs
- DoubleUtil.cs
- SignedXml.cs
- ColorAnimation.cs
- OleDbDataReader.cs
- WebFaultClientMessageInspector.cs
- DesignerVerb.cs
- StringStorage.cs
- PKCS1MaskGenerationMethod.cs
- FileDialogPermission.cs
- SqlProcedureAttribute.cs
- SpeakProgressEventArgs.cs
- DBConcurrencyException.cs
- EndOfStreamException.cs
- DataPagerFieldCommandEventArgs.cs
- BitmapPalette.cs
- ObjectDataSourceEventArgs.cs
- MULTI_QI.cs
- SystemIcmpV6Statistics.cs
- MetadataSection.cs
- AppDomainUnloadedException.cs
- FontFamilyValueSerializer.cs
- Math.cs
- Script.cs
- GridProviderWrapper.cs
- EncodingTable.cs
- ProcessModelInfo.cs
- PerformanceCounterManager.cs
- XmlSerializableReader.cs
- ProxySimple.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TextSerializer.cs