diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-02-16 20:29:18 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-02-17 16:37:25 +0400 |
commit | 76dac96b4b953a6a1b795ee20b2bb0dab35e60df (patch) | |
tree | 4ee827805a7d69b68984c87af5913a3f7cdca3f0 /mcs | |
parent | 2531552bdcee25f89e28f69127fb6088f7e21b0c (diff) |
Cleanup some assembly attributes
Diffstat (limited to 'mcs')
29 files changed, 24 insertions, 227 deletions
diff --git a/mcs/class/Microsoft.Build.Engine/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.Build.Engine/Assembly/AssemblyInfo.cs index 954cd4b019e..5ab649dd3f3 100644 --- a/mcs/class/Microsoft.Build.Engine/Assembly/AssemblyInfo.cs +++ b/mcs/class/Microsoft.Build.Engine/Assembly/AssemblyInfo.cs @@ -58,9 +58,5 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile("../msfinal.pub")] [assembly: AssemblyFileVersion (Consts.FxFileVersion)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution)] #endif diff --git a/mcs/class/Microsoft.Build.Framework/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.Build.Framework/Assembly/AssemblyInfo.cs index 687460f895a..1c7777bfa79 100644 --- a/mcs/class/Microsoft.Build.Framework/Assembly/AssemblyInfo.cs +++ b/mcs/class/Microsoft.Build.Framework/Assembly/AssemblyInfo.cs @@ -26,8 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 - using System; using System.Reflection; using System.Resources; @@ -59,9 +57,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile("../msfinal.pub")] [assembly: AssemblyFileVersion (Consts.FxFileVersion)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution)] -#endif diff --git a/mcs/class/Microsoft.Build.Tasks/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.Build.Tasks/Assembly/AssemblyInfo.cs index b7c94e3f60b..25dc0b7ec16 100644 --- a/mcs/class/Microsoft.Build.Tasks/Assembly/AssemblyInfo.cs +++ b/mcs/class/Microsoft.Build.Tasks/Assembly/AssemblyInfo.cs @@ -26,8 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 - using System; using System.Reflection; using System.Resources; @@ -59,10 +57,3 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile("../msfinal.pub")] [assembly: AssemblyFileVersion (Consts.FxFileVersion)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - -#endif diff --git a/mcs/class/Microsoft.Build.Utilities/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.Build.Utilities/Assembly/AssemblyInfo.cs index 055cae74268..90933c5a29f 100644 --- a/mcs/class/Microsoft.Build.Utilities/Assembly/AssemblyInfo.cs +++ b/mcs/class/Microsoft.Build.Utilities/Assembly/AssemblyInfo.cs @@ -58,9 +58,5 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile("../msfinal.pub")] [assembly: AssemblyFileVersion (Consts.FxFileVersion)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution)] #endif diff --git a/mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs b/mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs index 101e4b9d936..be60f050842 100644 --- a/mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs +++ b/mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs @@ -35,7 +35,6 @@ using System.Runtime.ConstrainedExecution; #if !PLATFORM_COMPACTFRAMEWORK [assembly: AllowPartiallyTrustedCallers] [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] #endif // Version information for an assembly consists of the following four values: diff --git a/mcs/class/Mono.Security.Win32/Assembly/AssemblyInfo.cs b/mcs/class/Mono.Security.Win32/Assembly/AssemblyInfo.cs index b0b5ead71c0..3e9e4909674 100644 --- a/mcs/class/Mono.Security.Win32/Assembly/AssemblyInfo.cs +++ b/mcs/class/Mono.Security.Win32/Assembly/AssemblyInfo.cs @@ -31,8 +31,5 @@ using System.Runtime.InteropServices; [assembly: NeutralResourcesLanguage ("en-US")] -[assembly:SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode=true)] - - [assembly: AssemblyDelaySign (true)] [assembly: AssemblyKeyFile ("../mono.pub")] diff --git a/mcs/class/System.Configuration.Install/Assembly/AssemblyInfo.cs b/mcs/class/System.Configuration.Install/Assembly/AssemblyInfo.cs index e5ea1bf455c..c0b4d2807f1 100644 --- a/mcs/class/System.Configuration.Install/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Configuration.Install/Assembly/AssemblyInfo.cs @@ -55,22 +55,8 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyDelaySign (true)] [assembly: AssemblyKeyFile ("../msfinal.pub")] -#if NET_2_0 - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] - [assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] - [assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] -#elif NET_1_1 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: TypeLibVersion (1, 10)] -#elif NET_1_0 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] -#endif +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: ComCompatibleVersion (1, 0, 3300, 0)] diff --git a/mcs/class/System.Configuration/Assembly/AssemblyInfo.cs b/mcs/class/System.Configuration/Assembly/AssemblyInfo.cs index de97cae8a55..c1ac154b05a 100644 --- a/mcs/class/System.Configuration/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Configuration/Assembly/AssemblyInfo.cs @@ -61,11 +61,6 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile ("../msfinal.pub")] #endif -#if NET_2_0 - [assembly: InternalsVisibleTo ("System.Web, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - [assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] - [assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] -#endif +[assembly: InternalsVisibleTo ("System.Web, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: ComCompatibleVersion (1, 0, 3300, 0)] diff --git a/mcs/class/System.Core/Assembly/AssemblyInfo.cs b/mcs/class/System.Core/Assembly/AssemblyInfo.cs index dbbfcb05b61..f39055b5135 100644 --- a/mcs/class/System.Core/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Core/Assembly/AssemblyInfo.cs @@ -67,13 +67,6 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -// Extension attribute should be added by compiler - -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - #if NET_4_0 || MOONLIGHT || MOBILE [assembly: TypeForwardedTo (typeof (System.Security.Cryptography.Aes))] #endif diff --git a/mcs/class/System.Data.OracleClient/Assembly/AssemblyInfo.cs b/mcs/class/System.Data.OracleClient/Assembly/AssemblyInfo.cs index 0c4ee85a4b8..a99d8338b1b 100644 --- a/mcs/class/System.Data.OracleClient/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Data.OracleClient/Assembly/AssemblyInfo.cs @@ -34,22 +34,11 @@ using System.Runtime.InteropServices; #if !TARGET_JVM [assembly: CLSCompliant (true)] - [assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyDelaySign (true)] [assembly: AssemblyKeyFile ("../ecma.pub")] #endif -#if NET_2_0 - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: AllowPartiallyTrustedCallers] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: Dependency ("System.Data,", LoadHint.Always)] -#elif NET_1_1 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: TypeLibVersion (1, 10)] -#elif NET_1_0 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] -#endif +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ComCompatibleVersion (1, 0, 3300, 0)] +[assembly: Dependency ("System.Data,", LoadHint.Always)] diff --git a/mcs/class/System.Data/Assembly/AssemblyInfo.cs b/mcs/class/System.Data/Assembly/AssemblyInfo.cs index e707cac7f4e..9f8a04e98aa 100644 --- a/mcs/class/System.Data/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Data/Assembly/AssemblyInfo.cs @@ -59,27 +59,15 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] [assembly: AllowPartiallyTrustedCallers] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyDelaySign (true)] #if !TARGET_JVM [assembly: AssemblyKeyFile("../ecma.pub")] #endif -#if NET_2_0 - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: InternalsVisibleTo ("System.Design, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] - [assembly: InternalsVisibleTo ("System.Web, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] - -#elif NET_1_1 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: TypeLibVersion (1, 10)] -#elif NET_1_0 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] -#endif +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: ComCompatibleVersion (1, 0, 3300, 0)] +[assembly: InternalsVisibleTo ("System.Design, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: InternalsVisibleTo ("System.Web, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] #if NET_3_5 // [assembly: InternalsVisibleTo ("System.Data.Entity, PublicKey=00000000000000000400000000000000")] diff --git a/mcs/class/System.Design/Assembly/AssemblyInfo.cs b/mcs/class/System.Design/Assembly/AssemblyInfo.cs index 788e4c2e853..90084e72006 100644 --- a/mcs/class/System.Design/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Design/Assembly/AssemblyInfo.cs @@ -55,24 +55,11 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyDelaySign (true)] [assembly: AssemblyKeyFile("../msfinal.pub")] -#if NET_2_0 - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] - [assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] -#elif NET_1_1 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] - [assembly: ComCompatibleVersion (1, 0, 3300, 0)] - [assembly: TypeLibVersion (1, 10)] -#elif NET_1_0 - [assembly: AssemblyTrademark ("")] - [assembly: AssemblyConfiguration ("")] -#endif +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: ComCompatibleVersion (1, 0, 3300, 0)] #if NET_3_5 [assembly: InternalsVisibleTo ("System.Web.Extensions.Design, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] diff --git a/mcs/class/System.IdentityModel.Selectors/Assembly/AssemblyInfo.cs b/mcs/class/System.IdentityModel.Selectors/Assembly/AssemblyInfo.cs index b0fcaf4ace1..f221823bdf7 100644 --- a/mcs/class/System.IdentityModel.Selectors/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.IdentityModel.Selectors/Assembly/AssemblyInfo.cs @@ -59,8 +59,3 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile ("../ecma.pub")] [assembly: ComVisible (false)] - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System.IdentityModel/Assembly/AssemblyInfo.cs b/mcs/class/System.IdentityModel/Assembly/AssemblyInfo.cs index c402e7e981b..dd2571f2b19 100644 --- a/mcs/class/System.IdentityModel/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.IdentityModel/Assembly/AssemblyInfo.cs @@ -61,8 +61,4 @@ using System.Runtime.InteropServices; [assembly: ComCompatibleVersion (1, 0, 3300, 0)] [assembly: AllowPartiallyTrustedCallers] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] [assembly: SecurityCritical (SecurityCriticalScope.Explicit)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System.Json/Assembly/AssemblyInfo.cs b/mcs/class/System.Json/Assembly/AssemblyInfo.cs index 6ea79b915cf..b8c49cd952b 100755 --- a/mcs/class/System.Json/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Json/Assembly/AssemblyInfo.cs @@ -36,7 +36,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about the System.Json assembly -// v3.5 Assembly [assembly: AssemblyTitle ("System.Json.dll")] [assembly: AssemblyDescription ("System.Json.dll")] @@ -56,14 +55,4 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -// Extension attribute should be added by compiler - -/* -[assembly: StringFreezing] -[assembly: DefaultDependency (LoadHint.Always)] -*/ [assembly: SecurityCritical] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System.Net/Assembly/AssemblyInfo.cs b/mcs/class/System.Net/Assembly/AssemblyInfo.cs index ca3d7443b00..4ce53b39296 100644 --- a/mcs/class/System.Net/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Net/Assembly/AssemblyInfo.cs @@ -38,7 +38,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about the System.Net assembly -// v3.5 Assembly [assembly: AssemblyTitle ("System.Net.dll")] [assembly: AssemblyDescription ("System.Net.dll")] @@ -73,8 +72,3 @@ using System.Runtime.InteropServices; #endif [assembly: ComVisible (false)] - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Execution = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System.Runtime.Caching/Assembly/AssemblyInfo.cs b/mcs/class/System.Runtime.Caching/Assembly/AssemblyInfo.cs index b5d614faa89..9583a2495b5 100644 --- a/mcs/class/System.Runtime.Caching/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Runtime.Caching/Assembly/AssemblyInfo.cs @@ -58,13 +58,7 @@ using System.Runtime.Versioning; [assembly: ComVisible (false)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - [assembly: AssemblyKeyFile ("../msfinal.pub")] -[assembly: AssemblyTargetedPatchBand ("1.0.21-0")] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AllowPartiallyTrustedCallers] [assembly: SecurityRules (SecurityRuleSet.Level2, SkipVerificationInFullTrust=true)] diff --git a/mcs/class/System.Runtime.Serialization/Assembly/AssemblyInfo.cs b/mcs/class/System.Runtime.Serialization/Assembly/AssemblyInfo.cs index 3776ee1dcf5..856052858a3 100644 --- a/mcs/class/System.Runtime.Serialization/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Runtime.Serialization/Assembly/AssemblyInfo.cs @@ -55,7 +55,6 @@ using System.Runtime.InteropServices; [assembly: NeutralResourcesLanguage ("en-US")] [assembly: CLSCompliant (true)] [assembly: AssemblyDelaySign (true)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] #if NET_2_1 [assembly: AssemblyKeyFile ("../silverlight.pub")] [assembly: InternalsVisibleTo ("System.ServiceModel, PublicKey=0024000004800000940000000602000000240000525341310004000001000100B5FC90E7027F67871E773A8FDE8938C81DD402BA65B9201D60593E96C492651E889CC13F1415EBB53FAC1131AE0BD333C5EE6021672D9718EA31A8AEBD0DA0072F25D87DBA6FC90FFD598ED4DA35E44C398C454307E8E33B8426143DAEC9F596836F97C8F74750E5975C64E2189F45DEF46B2A2B1247ADC3652BF5C308055DA9")] @@ -76,7 +75,3 @@ using System.Runtime.InteropServices; #endif [assembly: ComVisible (false)] - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System.Security/Assembly/AssemblyInfo.cs b/mcs/class/System.Security/Assembly/AssemblyInfo.cs index e38dc6e14a5..8e95096faaf 100644 --- a/mcs/class/System.Security/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Security/Assembly/AssemblyInfo.cs @@ -49,21 +49,15 @@ using System.Security.Permissions; [assembly: AssemblyDelaySign (true)] [assembly: AssemblyKeyFile ("../msfinal.pub")] -#if NET_2_0 - [assembly: AssemblyDefaultAlias ("System.Security.dll")] - [assembly: AssemblyDescription ("System.Security.dll")] - [assembly: AssemblyTitle ("System.Security.dll")] +[assembly: AssemblyDefaultAlias ("System.Security.dll")] +[assembly: AssemblyDescription ("System.Security.dll")] +[assembly: AssemblyTitle ("System.Security.dll")] - [assembly: AssemblyFileVersion (Consts.FxFileVersion)] - [assembly: AssemblyInformationalVersion (Consts.FxFileVersion)] +[assembly: AssemblyFileVersion (Consts.FxFileVersion)] +[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)] - [assembly: AssemblyCompany (Consts.MonoCompany)] - [assembly: AssemblyProduct (Consts.MonoProduct)] - [assembly: AssemblyCopyright (Consts.MonoCopyright)] +[assembly: AssemblyCompany (Consts.MonoCompany)] +[assembly: AssemblyProduct (Consts.MonoProduct)] +[assembly: AssemblyCopyright (Consts.MonoCopyright)] - [assembly: AllowPartiallyTrustedCallers] - [assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] - [assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] - [assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] - [assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] -#endif +[assembly: AllowPartiallyTrustedCallers] diff --git a/mcs/class/System.ServiceModel/Assembly/AssemblyInfo.cs b/mcs/class/System.ServiceModel/Assembly/AssemblyInfo.cs index fb25930e54d..3acf5c3ff92 100644 --- a/mcs/class/System.ServiceModel/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.ServiceModel/Assembly/AssemblyInfo.cs @@ -66,11 +66,6 @@ using System.Runtime.InteropServices; [assembly: ComVisible (false)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] - #if NET_2_1 //[assembly: InternalsVisibleTo ("System.Xml.Serialization, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] #endif diff --git a/mcs/class/System.Transactions/Assembly/AssemblyInfo.cs b/mcs/class/System.Transactions/Assembly/AssemblyInfo.cs index 0cf622489a1..6f48fbc3926 100644 --- a/mcs/class/System.Transactions/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Transactions/Assembly/AssemblyInfo.cs @@ -28,8 +28,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 - using System; using System.Reflection; using System.Resources; @@ -64,8 +62,4 @@ using System.Security.Permissions; #endif [assembly: AssemblyFileVersion (Consts.FxFileVersion)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] [assembly: BestFitMapping (false)] - -#endif diff --git a/mcs/class/System.Web.Abstractions/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.Abstractions/Assembly/AssemblyInfo.cs index d15b52a0996..8055508ca60 100644 --- a/mcs/class/System.Web.Abstractions/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Web.Abstractions/Assembly/AssemblyInfo.cs @@ -41,7 +41,6 @@ using System.Runtime.Versioning; using System.Web; // General Information about the System.Web.Abstractions assembly -// v3.5 Assembly [assembly: AssemblyTitle ("System.Web.Abstractions.dll")] [assembly: AssemblyDescription ("System.Web.Abstractions.dll")] @@ -66,19 +65,10 @@ using System.Web; #endif [assembly: AllowPartiallyTrustedCallers] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityCritical (SecurityCriticalScope.Explicit)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - // FIXME: We get collisions with this internalsVisibleTo because of Consts.cs and MonoTodo //[assembly: InternalsVisibleTo ("System.ServiceModel.Web, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] #if NET_4_0 -[assembly: AssemblyTargetedPatchBand ("1.0.21-0")] -[assembly: Dependency ("System.Web,", LoadHint.Always)] -[assembly: TargetFramework (".NETFramework,Version=v4.0")] [assembly: SecurityRules (SecurityRuleSet.Level2, SkipVerificationInFullTrust = true)] [assembly: TypeForwardedTo (typeof (System.Web.HttpStaticObjectsCollectionBase))] [assembly: TypeForwardedTo (typeof (System.Web.HttpStaticObjectsCollectionWrapper))] diff --git a/mcs/class/System.Web.ApplicationServices/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.ApplicationServices/Assembly/AssemblyInfo.cs index 8d7c3488660..bb2e6ea0784 100644 --- a/mcs/class/System.Web.ApplicationServices/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Web.ApplicationServices/Assembly/AssemblyInfo.cs @@ -58,17 +58,9 @@ using System.Runtime.Versioning; [assembly: ComVisible (false)] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - [assembly: AssemblyKeyFile ("../winfx.pub")] [assembly: InternalsVisibleTo ("System.Web, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] -#if NET_4_0 -[assembly: AssemblyTargetedPatchBand ("1.0.21-0")] -#endif -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AllowPartiallyTrustedCallers] #if NET_4_0 [assembly: SecurityRules (SecurityRuleSet.Level2, SkipVerificationInFullTrust=true)] diff --git a/mcs/class/System.Web.DynamicData/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.DynamicData/Assembly/AssemblyInfo.cs index 4657e4880f6..203951ce350 100644 --- a/mcs/class/System.Web.DynamicData/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Web.DynamicData/Assembly/AssemblyInfo.cs @@ -61,11 +61,7 @@ using System.Runtime.InteropServices; [assembly: ComCompatibleVersion (1, 0, 3300, 0)] [assembly: AllowPartiallyTrustedCallers] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] [assembly: SecurityCritical (SecurityCriticalScope.Explicit)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] // FIXME: We get collisions with this internalsVisibleTo because of Consts.cs and MonoTodo //[assembly: InternalsVisibleTo ("System.ServiceModel.Web, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] diff --git a/mcs/class/System.Web.Extensions/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.Extensions/Assembly/AssemblyInfo.cs index 38ff0e1ac9b..53bce36c63a 100644 --- a/mcs/class/System.Web.Extensions/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Web.Extensions/Assembly/AssemblyInfo.cs @@ -73,13 +73,6 @@ using System.Security.Permissions; [assembly: TagPrefix ("System.Web.UI.WebControls", "asp")] [assembly: Dependency ("System,", LoadHint.Always)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, Execution = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] - [assembly: WebResource ("MicrosoftAjax.js", "application/x-javascript")] [assembly: WebResource ("MicrosoftAjax.debug.js", "application/x-javascript")] [assembly: WebResource ("MicrosoftAjaxWebForms.js", "application/x-javascript")] diff --git a/mcs/class/System.Web.Routing/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.Routing/Assembly/AssemblyInfo.cs index d11ae830b2d..12d38152640 100644 --- a/mcs/class/System.Web.Routing/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Web.Routing/Assembly/AssemblyInfo.cs @@ -41,7 +41,6 @@ using System.Runtime.Versioning; using System.Web.Routing; // General Information about the System.Web.Routing assembly -// v3.5 Assembly [assembly: AssemblyTitle ("System.Web.Routing.dll")] [assembly: AssemblyDescription ("System.Web.Routing.dll")] @@ -66,19 +65,10 @@ using System.Web.Routing; #endif [assembly: AllowPartiallyTrustedCallers] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityCritical (SecurityCriticalScope.Explicit)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] - // FIXME: We get collisions with this internalsVisibleTo because of Consts.cs and MonoTodo //[assembly: InternalsVisibleTo ("System.ServiceModel.Web, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] #if NET_4_0 -[assembly: AssemblyTargetedPatchBandAttribute ("1.0.21-0")] -[assembly: Dependency ("System.Web,", LoadHint.Always)] -[assembly: TargetFramework (".NETFramework,Version=v4.0")] [assembly: SecurityRules (SecurityRuleSet.Level2, SkipVerificationInFullTrust = true)] [assembly: SecurityTransparent] [assembly: TypeForwardedToAttribute (typeof (System.Web.Routing.RouteBase))] diff --git a/mcs/class/System.Xaml/Assembly/AssemblyInfo.cs b/mcs/class/System.Xaml/Assembly/AssemblyInfo.cs index 5f375c5ba51..10367320015 100644 --- a/mcs/class/System.Xaml/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Xaml/Assembly/AssemblyInfo.cs @@ -38,7 +38,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about the System.Xaml assembly -// v3.0 Assembly [assembly: AssemblyTitle ("System.Xaml.dll")] [assembly: AssemblyDescription ("System.Xaml.dll")] @@ -61,12 +60,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyKeyFile ("../ecma.pub")] [assembly: AllowPartiallyTrustedCallers] [assembly: ComCompatibleVersion (1, 0, 3300, 0)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: SecurityCritical (SecurityCriticalScope.Explicit)] #endif [assembly: ComVisible (false)] - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] diff --git a/mcs/class/System/Assembly/AssemblyInfo.cs b/mcs/class/System/Assembly/AssemblyInfo.cs index ecb4185da97..32fbe1906ec 100644 --- a/mcs/class/System/Assembly/AssemblyInfo.cs +++ b/mcs/class/System/Assembly/AssemblyInfo.cs @@ -61,7 +61,6 @@ using System.Runtime.InteropServices; #endif #if !BOOTSTRAP_WITH_OLDLIB - [assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyDelaySign (true)] #if NET_2_1 [assembly: AssemblyKeyFile ("../silverlight.pub")] @@ -77,9 +76,3 @@ using System.Runtime.InteropServices; [assembly: StringFreezing] [assembly: DefaultDependency (LoadHint.Always)] #endif - -#if NET_2_1 || NET_4_0 -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -#endif - -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] diff --git a/mcs/class/WindowsBase/Assembly/AssemblyInfo.cs b/mcs/class/WindowsBase/Assembly/AssemblyInfo.cs index 9f0fe67172d..35f3685cc0a 100644 --- a/mcs/class/WindowsBase/Assembly/AssemblyInfo.cs +++ b/mcs/class/WindowsBase/Assembly/AssemblyInfo.cs @@ -55,14 +55,7 @@ using System.Windows.Markup; [assembly: ComVisible (false)] [assembly: AllowPartiallyTrustedCallers] -[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)] -[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | - DebuggableAttribute.DebuggingModes.Default)] -[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)] -[assembly: Dependency ("System,", LoadHint.Always)] [assembly: SecurityCritical] -[assembly: PermissionSet (SecurityAction.RequestMinimum, Name = "FullTrust")] -[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: XmlnsPrefixAttribute ("http://schemas.microsoft.com/xps/2005/06", "metro")] [assembly: XmlnsPrefixAttribute ("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")] |