UnitySerializationHolder.GetModuleData (this, info, context);
}
-#if !NET_2_1
- public X509Certificate GetSignerCertificate ()
- {
- try {
- return X509Certificate.CreateFromSignedFile (assembly.Location);
- }
- catch {
- return null;
- }
- }
-#endif
-
[ComVisible (true)]
public virtual Type GetType(string className)
{
}
[MethodImplAttribute (MethodImplOptions.InternalCall)]
- private extern Type[] InternalGetTypes ();
-
- public virtual Type[] GetTypes()
- {
- return InternalGetTypes ();
- }
+ internal extern Type[] InternalGetTypes ();
public override string ToString ()
{
{
throw CreateNIE ();
}
+
+ public virtual X509Certificate GetSignerCertificate ()
+ {
+ throw CreateNIE ();
+ }
+
+ public virtual Type[] GetTypes()
+ {
+ throw CreateNIE ();
+ }
#endif
}
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
+using System.Security.Cryptography.X509Certificates;
namespace System.Reflection {
return res;
}
+#if !NET_2_1
+
+ public
+#if NET_4_0
+ override
+#endif
+ X509Certificate GetSignerCertificate ()
+ {
+ try {
+ return X509Certificate.CreateFromSignedFile (assembly.Location);
+ }
+ catch {
+ return null;
+ }
+ }
+#endif
+
+#if NET_4_0
+ public override
+#else
+ public virtual
+#endif
+ Type[] GetTypes()
+ {
+ return InternalGetTypes ();
+ }
+
#if NET_4_0
public override IList<CustomAttributeData> GetCustomAttributesData () {
return CustomAttributeData.GetCustomAttributes (this);