Skip to content

Commit 3ef9106

Browse files
committed
Fix APTCA causes MethodAccessException in Windows Phone. Issue #64
AllowPartiallyTrustedCallersAttribute is not required in reality, and it causes assembly makes SecurityTransparent, so it causes MethodAccessException for non-core libraries in FCL like System.Collections.Concurrent or System.Numerics.
1 parent 115860b commit 3ef9106

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/MsgPack.WinRT.Portable/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929

3030
[assembly: AssemblyFileVersion( "0.5.1857.601" )]
3131

32-
[assembly: AllowPartiallyTrustedCallers]
33-
3432
#if DEBUG || PERFORMANCE_TEST
3533
[assembly: InternalsVisibleTo( "MsgPack.UnitTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a967de8de9d45380b93a6aa56f64fc2cb2d3c9d4b400e00de01f31ba9e15cf5ca95926dbf8760cce413eabd711e23df0c133193a570da8a3bb1bdc00ef170fccb2bc033266fa5346442c9cf0b071133d5b484845eab17095652aeafeeb71193506b8294d9c8c91e3fd01cc50bdbc2d0eb78dd655bb8cd0bd3cdbbcb192549cb4" )]
3634
[assembly: InternalsVisibleTo( "MsgPack.UnitTest.BclExtensions, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a967de8de9d45380b93a6aa56f64fc2cb2d3c9d4b400e00de01f31ba9e15cf5ca95926dbf8760cce413eabd711e23df0c133193a570da8a3bb1bdc00ef170fccb2bc033266fa5346442c9cf0b071133d5b484845eab17095652aeafeeb71193506b8294d9c8c91e3fd01cc50bdbc2d0eb78dd655bb8cd0bd3cdbbcb192549cb4" )]

0 commit comments

Comments
 (0)