GetTypeName() private method

private GetTypeName ( int typeNamespace, int typeName ) : TypeName
typeNamespace int
typeName int
return TypeName
Example #1
0
			internal Type GetType(ModuleReader module)
			{
				// guard against circular type forwarding
				if (type == MarkerType.Pinned)
				{
					TypeName typeName = module.GetTypeName(module.ExportedType.records[index].TypeNamespace, module.ExportedType.records[index].TypeName);
					return module.universe.GetMissingTypeOrThrow(module, module, null, typeName).SetCyclicTypeForwarder();
				}
				else if (type == null)
				{
					type = MarkerType.Pinned;
					type = module.ResolveExportedType(index);
				}
				return type;
			}