ResolveAssemblyRef() private method

private ResolveAssemblyRef ( int index ) : Assembly
index int
return Assembly
Example #1
0
 internal Type GetType(ModuleReader module, string typeName)
 {
     if (type == null)
     {
         Assembly asm = module.ResolveAssemblyRef(assemblyRef);
         type = asm.GetType(typeName, true);
     }
     return(type);
 }
Example #2
0
 internal Type GetType(ModuleReader module, TypeName typeName)
 {
     if (type == null)
     {
         Assembly asm = module.ResolveAssemblyRef(assemblyRef);
         type = asm.ResolveType(typeName);
         if (type == null)
         {
             throw new TypeLoadException(typeName.ToString());
         }
     }
     return(type);
 }
Example #3
0
			internal Type GetType(ModuleReader module, TypeName typeName)
			{
				if (type == null)
				{
					Assembly asm = module.ResolveAssemblyRef(assemblyRef);
					type = asm.ResolveType(typeName);
					if (type == null)
					{
						throw new TypeLoadException(typeName.ToString());
					}
				}
				return type;
			}
Example #4
0
			internal Type GetType(ModuleReader module, string typeName)
			{
				if (type == null)
				{
					Assembly asm = module.ResolveAssemblyRef(assemblyRef);
					type = asm.GetType(typeName, true);
				}
				return type;
			}