system\appdomain.cs (37)
67private Assembly _RequestingAssembly;
75public Assembly RequestingAssembly
88public ResolveEventArgs(String name, Assembly requestingAssembly)
98private Assembly _LoadedAssembly;
100public Assembly LoadedAssembly {
106public AssemblyLoadEventArgs(Assembly loadedAssembly)
118public delegate Assembly ResolveEventHandler(Object sender, ResolveEventArgs args);
191Assembly assembly=Assembly.Load(Info[i].TargetTypeAssembly);
629Assembly assembly = Assembly.GetEntryAssembly();
1155private Assembly ResolveAssemblyForIntrospection(Object sender, ResolveEventArgs args)
1158return Assembly.ReflectionOnlyLoad(ApplyPolicy(args.Name));
1183args.ResolvedAssemblies.Add(Assembly.ReflectionOnlyLoadFrom(fileName));
1843public Assembly Load(AssemblyName assemblyRef)
1851public Assembly Load(String assemblyString)
1859public Assembly Load(byte[] rawAssembly)
1874public Assembly Load(byte[] rawAssembly,
1893public Assembly Load(byte[] rawAssembly,
1917public Assembly Load(AssemblyName assemblyRef,
1927public Assembly Load(String assemblyString,
1964RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile, assemblySecurity);
1976RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile);
2000RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile,
2017RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile,
2055RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName, assemblySecurity);
2065RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName);
2085RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName, assemblySecurity);
2095RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName);
2238public Assembly[] GetAssemblies()
2244public Assembly[] ReflectionOnlyGetAssemblies()
2252private extern Assembly[] nGetAssemblies(bool forIntrospection);
3129Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(resourceName, assembly));
3149Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(typeName, assembly));
3172Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(assemblyFullName, assembly));
3191Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(assemblyFullName, assembly));
3228internal static RuntimeAssembly GetRuntimeAssembly(Assembly asm)
system\attribute.cs (8)
748public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType)
753public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType, bool inherit)
768public static Attribute[] GetCustomAttributes(Assembly element)
773public static Attribute[] GetCustomAttributes(Assembly element, bool inherit)
782public static bool IsDefined (Assembly element, Type attributeType)
787public static bool IsDefined (Assembly element, Type attributeType, bool inherit)
803public static Attribute GetCustomAttribute(Assembly element, Type attributeType)
808public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit)
system\diagnostics\eventing\frameworkeventsource.cs (25)
343public void ResourceManagerLookupStarted(String baseName, Assembly mainAssembly, String cultureName) {
349public void ResourceManagerLookingForResourceSet(String baseName, Assembly mainAssembly, String cultureName) {
355public void ResourceManagerFoundResourceSetInCache(String baseName, Assembly mainAssembly, String cultureName) {
361public void ResourceManagerFoundResourceSetInCacheUnexpected(String baseName, Assembly mainAssembly, String cultureName) {
367public void ResourceManagerStreamFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) {
373public void ResourceManagerStreamNotFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) {
379public void ResourceManagerGetSatelliteAssemblySucceeded(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) {
385public void ResourceManagerGetSatelliteAssemblyFailed(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) {
391public void ResourceManagerCaseInsensitiveResourceStreamLookupSucceeded(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) {
397public void ResourceManagerCaseInsensitiveResourceStreamLookupFailed(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) {
403public void ResourceManagerManifestResourceAccessDenied(String baseName, Assembly mainAssembly, String assemblyName, String canonicalName) {
409public void ResourceManagerNeutralResourcesSufficient(String baseName, Assembly mainAssembly, String cultureName) {
415public void ResourceManagerNeutralResourceAttributeMissing(Assembly mainAssembly) {
421public void ResourceManagerCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName, String fileName) {
427public void ResourceManagerNotCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName) {
433public void ResourceManagerLookupFailed(String baseName, Assembly mainAssembly, String cultureName) {
439public void ResourceManagerReleasingResources(String baseName, Assembly mainAssembly) {
445public void ResourceManagerNeutralResourcesNotFound(String baseName, Assembly mainAssembly, String resName) {
451public void ResourceManagerNeutralResourcesFound(String baseName, Assembly mainAssembly, String resName) {
457public void ResourceManagerAddingCultureFromConfigFile(String baseName, Assembly mainAssembly, String cultureName) {
463public void ResourceManagerCultureNotFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) {
469public void ResourceManagerCultureFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) {
474private static string GetName(Assembly assembly) {
system\reflection\assembly.cs (67)
73public static Assembly GetAssembly(Type type)
87public static bool operator ==(Assembly left, Assembly right)
100public static bool operator !=(Assembly left, Assembly right)
125public static Assembly LoadFrom(String assemblyFile)
127Contract.Ensures(Contract.Result<Assembly>() != null);
128Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
166public static Assembly ReflectionOnlyLoadFrom(String assemblyFile)
168Contract.Ensures(Contract.Result<Assembly>() != null);
188public static Assembly LoadFrom(String assemblyFile,
191Contract.Ensures(Contract.Result<Assembly>() != null);
211public static Assembly LoadFrom(String assemblyFile,
216Contract.Ensures(Contract.Result<Assembly>() != null);
234public static Assembly LoadFrom(String assemblyFile,
256public static Assembly UnsafeLoadFrom(string assemblyFile)
259Contract.Ensures(Contract.Result<Assembly>() != null);
260Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
278public static Assembly Load(String assemblyString)
280Contract.Ensures(Contract.Result<Assembly>() != null);
281Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
323public static Assembly ReflectionOnlyLoad(String assemblyString)
325Contract.Ensures(Contract.Result<Assembly>() != null);
334public static Assembly Load(String assemblyString, Evidence assemblySecurity)
336Contract.Ensures(Contract.Result<Assembly>() != null);
337Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
351public static Assembly Load(AssemblyName assemblyRef)
353Contract.Ensures(Contract.Result<Assembly>() != null);
354Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
370public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity)
372Contract.Ensures(Contract.Result<Assembly>() != null);
373Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
383public static Assembly LoadWithPartialName(String partialName)
392public static Assembly LoadWithPartialName(String partialName, Evidence securityEvidence)
408public static Assembly Load(byte[] rawAssembly)
410Contract.Ensures(Contract.Result<Assembly>() != null);
411Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
431public static Assembly ReflectionOnlyLoad(byte[] rawAssembly)
433Contract.Ensures(Contract.Result<Assembly>() != null);
458public static Assembly Load(byte[] rawAssembly,
462Contract.Ensures(Contract.Result<Assembly>() != null);
463Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
482public static Assembly Load(byte[] rawAssembly,
487Contract.Ensures(Contract.Result<Assembly>() != null);
488Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
512internal static Assembly LoadImageSkipIntegrityCheck(byte[] rawAssembly,
517Contract.Ensures(Contract.Result<Assembly>() != null);
518Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
543public static Assembly Load(byte[] rawAssembly,
548Contract.Ensures(Contract.Result<Assembly>() != null);
549Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
579public static Assembly LoadFile(String path)
582Contract.Ensures(Contract.Result<Assembly>() != null);
583Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
597public static Assembly LoadFile(String path,
601Contract.Ensures(Contract.Result<Assembly>() != null);
602Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
643public static Assembly GetExecutingAssembly()
651public static Assembly GetCallingAssembly()
661public static Assembly GetEntryAssembly() {
837public virtual Assembly GetSatelliteAssembly(CultureInfo culture)
843public virtual Assembly GetSatelliteAssembly(CultureInfo culture, Version version)
2811Assembly sys = Assembly.Load("System, Version=" + ThisAssembly.Version + ", Culture=neutral, PublicKeyToken=" + AssemblyRef.EcmaPublicKeyToken);
2862public override Assembly GetSatelliteAssembly(CultureInfo culture)
2870public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version)
2878internal Assembly InternalGetSatelliteAssembly(CultureInfo culture,
system\type.cs (7)
112Func<AssemblyName, Assembly> assemblyResolver,
113Func<Assembly, string, bool, Type> typeResolver)
122Func<AssemblyName, Assembly> assemblyResolver,
123Func<Assembly, string, bool, Type> typeResolver,
133Func<AssemblyName, Assembly> assemblyResolver,
134Func<Assembly, string, bool, Type> typeResolver,
322public abstract Assembly Assembly {
system\typenameparser.cs (10)
79Func<AssemblyName, Assembly> assemblyResolver,
80Func<Assembly, string, bool, Type> typeResolver,
132Func<AssemblyName, Assembly> assemblyResolver,
133Func<Assembly, string, bool, Type> typeResolver,
139Assembly assembly = null;
209private static Assembly ResolveAssembly(string asmName, Func<AssemblyName, Assembly> assemblyResolver, bool throwOnError, ref StackCrawlMark stackMark)
213Assembly assembly = null;
247private static Type ResolveType(Assembly assembly, string[] names, Func<Assembly, string, bool, Type> typeResolver, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark)