[aot] fixing up cherrypicked of AOT class allocation leak fix
fixing cherrypicked d530d836
Update X509Certificate.cs
Merge pull request #138 from Unity-Technologies/ios/fix-aot-class-leak

Ios/fix aot class leak
Merge pull request #141 from Unity-Technologies/unity-4.5-staging

Mono fixes for 4.5