Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type.GetType returns null at least for types from the current assembly #404

Closed
MatthiasJentsch opened this issue Sep 4, 2018 · 1 comment · Fixed by nanoframework/nf-interpreter#847

Comments

@MatthiasJentsch
Copy link
Contributor

Details about Problem

nanoFramework area: nanoCLR preview 791 / nanoFramework.CoreLibrary preview 62

Worked before? No

Detailed repro steps so we can see the same problem

using System;

namespace NFApp1
{
	public class Program
	{
		public static void Main()
		{
			Type type = Type.GetType(typeof(Program).FullName);
		}
	}
}

type is null. But the documentation stated:

If the type is in the currently executing assembly or in Mscorlib.dll, it is sufficient to supply the type name qualified by its namespace.

@MatthiasJentsch
Copy link
Contributor Author

With the fix for #397 that is also fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants