Assembly.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. using System;
  2. using System.Security.Policy;
  3. using System.Runtime.Serialization;
  4. using System.Reflection.Emit;
  5. using System.IO;
  6. using System.Globalization;
  7. namespace System.Reflection {
  8. public class Assembly : System.Object, System.Reflection.ICustomAttributeProvider,
  9. System.Security.IEvidenceFactory, System.Runtime.Serialization.ISerializable {
  10. private string codebase;
  11. private string copiedcodebase;
  12. private string fullname;
  13. private string location;
  14. private Evidence evidence;
  15. private MethodInfo entrypoint;
  16. public virtual string CodeBase { get {return codebase;} }
  17. public virtual string CopiedCodeBase { get {return copiedcodebase;} }
  18. public virtual string FullName { get {return fullname;} }
  19. public MethodInfo EntryPoint { get {return entrypoint;} }
  20. public virtual Evidence Evidence { get {return evidence;} }
  21. public String Location { get {return location;} }
  22. public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
  23. {
  24. }
  25. public virtual Boolean IsDefined(Type attributeType)
  26. {
  27. return false;
  28. }
  29. public virtual bool IsDefined (Type attribute_type, bool inherit)
  30. {
  31. return false;
  32. }
  33. public virtual Object[] GetCustomAttributes()
  34. {
  35. return null;
  36. }
  37. public virtual Object[] GetCustomAttributes(Type attributeType)
  38. {
  39. return null;
  40. }
  41. public virtual object [] GetCustomAttributes (bool inherit)
  42. {
  43. return null;
  44. }
  45. public virtual object [] GetCustomAttributes (Type attribute_type, bool inherit)
  46. {
  47. return null;
  48. }
  49. public virtual void RemoveOnTypeResolve(ResolveEventHandler handler)
  50. {
  51. }
  52. public virtual void AddOnTypeResolve(ResolveEventHandler handler)
  53. {
  54. }
  55. public virtual void RemoveOnResourceResolve(ResolveEventHandler handler)
  56. {
  57. }
  58. public virtual void AddOnResourceResolve(ResolveEventHandler handler)
  59. {
  60. }
  61. public virtual ModuleBuilder DefineDynamicModule(String name, Boolean emitSymbolInfo)
  62. {
  63. return null;
  64. }
  65. public virtual ModuleBuilder DefineDynamicModule(String name)
  66. {
  67. return null;
  68. }
  69. public virtual FileStream[] GetFiles()
  70. {
  71. return null;
  72. }
  73. public virtual FileStream GetFile(String name)
  74. {
  75. return null;
  76. }
  77. public virtual Stream GetManifestResourceStream(String name)
  78. {
  79. return null;
  80. }
  81. public virtual Stream GetManifestResourceStream(Type type, String name)
  82. {
  83. return null;
  84. }
  85. public virtual Type[] GetTypes()
  86. {
  87. return null;
  88. }
  89. public virtual Type[] GetExportedTypes()
  90. {
  91. return null;
  92. }
  93. public virtual Type GetType(String name, Boolean throwOnError)
  94. {
  95. return null;
  96. }
  97. public virtual Type GetType(String name)
  98. {
  99. return GetType (name, true);
  100. }
  101. public virtual AssemblyName GetName(Boolean copiedName)
  102. {
  103. return null;
  104. }
  105. public virtual AssemblyName GetName()
  106. {
  107. return null;
  108. }
  109. public override String ToString()
  110. {
  111. return "FIXME: assembly";
  112. }
  113. public static String CreateQualifiedName(String assemblyName, String typeName)
  114. {
  115. return "FIXME: assembly";
  116. }
  117. public static String nCreateQualifiedName(String assemblyName, String typeName)
  118. {
  119. return "FIXME: assembly";
  120. }
  121. public static Assembly GetAssembly(Type type)
  122. {
  123. return null;
  124. }
  125. public Type GetType(String name, Boolean throwOnError, Boolean ignoreCase)
  126. {
  127. return null;
  128. }
  129. public Assembly GetSatelliteAssembly(CultureInfo culture)
  130. {
  131. return null;
  132. }
  133. public static Assembly LoadFrom(String assemblyFile)
  134. {
  135. return null;
  136. }
  137. public static Assembly LoadFrom(String assemblyFile, Evidence securityEvidence)
  138. {
  139. return null;
  140. }
  141. public static Assembly Load(String assemblyString)
  142. {
  143. return null;
  144. }
  145. public static Assembly Load(String assemblyString, Evidence assemblySecurity)
  146. {
  147. return null;
  148. }
  149. public static Assembly Load(AssemblyName assemblyRef)
  150. {
  151. return null;
  152. }
  153. public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity)
  154. {
  155. return null;
  156. }
  157. public static Assembly Load(Byte[] rawAssembly)
  158. {
  159. return null;
  160. }
  161. public static Assembly Load(Byte[] rawAssembly, Byte[] rawSymbolStore)
  162. {
  163. return null;
  164. }
  165. public static Assembly Load(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence securityEvidence)
  166. {
  167. return null;
  168. }
  169. public Object CreateInstance(String typeName)
  170. {
  171. return null;
  172. }
  173. public Object CreateInstance(String typeName, Boolean ignoreCase)
  174. {
  175. return null;
  176. }
  177. public Object CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
  178. {
  179. return null;
  180. }
  181. public Module[] GetLoadedModules()
  182. {
  183. return null;
  184. }
  185. public Module[] GetModules()
  186. {
  187. return null;
  188. }
  189. public Module GetModule(String name)
  190. {
  191. return null;
  192. }
  193. public String[] GetManifestResourceNames()
  194. {
  195. return null;
  196. }
  197. public static Assembly GetExecutingAssembly()
  198. {
  199. return null;
  200. }
  201. public AssemblyName[] GetReferencedAssemblies()
  202. {
  203. return null;
  204. }
  205. public ManifestResourceInfo GetManifestResourceInfo(String resourceName)
  206. {
  207. return null;
  208. }
  209. public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity, String callerLocation)
  210. {
  211. return null;
  212. }
  213. public static Assembly Load(String assemblyString, Evidence assemblySecurity, String callerLocation)
  214. {
  215. return null;
  216. }
  217. }
  218. }