diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2017-02-10 20:35:12 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2017-02-10 20:35:12 +0900 |
commit | 4b11dc566a5bbfa1378d6266525c281b028abcc8 (patch) | |
tree | b48831a898906734f8884d08b6e18f1144ee2b82 /src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs | |
parent | db20f3f1bb8595633a7e16c8900fd401a453a6b5 (diff) | |
download | coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.gz coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.bz2 coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.zip |
Imported Upstream version 1.0.0.9910upstream/1.0.0.9910
Diffstat (limited to 'src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs b/src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs index e7442b4e02..7c4ed9dc0f 100644 --- a/src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs +++ b/src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs @@ -17,7 +17,6 @@ namespace System.Reflection.Emit { using System; using System.Reflection; using CultureInfo = System.Globalization.CultureInfo; - using System.Security.Permissions; using System.Runtime.InteropServices; using System.Diagnostics.Contracts; @@ -25,10 +24,7 @@ namespace System.Reflection.Emit { // A PropertyBuilder is always associated with a TypeBuilder. The TypeBuilder.DefineProperty // method will return a new PropertyBuilder to a client. // - [ClassInterface(ClassInterfaceType.None)] - [ComDefaultInterface(typeof(_PropertyBuilder))] - [System.Runtime.InteropServices.ComVisible(true)] - public sealed class PropertyBuilder : PropertyInfo, _PropertyBuilder + public sealed class PropertyBuilder : PropertyInfo { // Make a private constructor so these cannot be constructed externally. @@ -84,14 +80,6 @@ namespace System.Reflection.Emit { { get {return m_prToken;} } - - internal int MetadataTokenInternal - { - get - { - return m_tkProperty; - } - } public override Module Module { @@ -135,7 +123,6 @@ namespace System.Reflection.Emit { // Use this function if client decides to form the custom attribute blob themselves -[System.Runtime.InteropServices.ComVisible(true)] public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) { if (con == null) |