This project has moved and is read-only. For the latest updates, please go here.

Getting type by fully qualified name

Nov 8, 2013 at 8:42 PM
Hi, I'm trying to query an assembly for a type, but Fasterflect seems to only accept a partially-qualified name. Take the following code, for example:
var systemAssembly = Assembly.GetAssembly(typeof(string));
var fullyQualified = systemAssembly.Types("System.String");
var partialName = systemAssembly.Types("String");

Assert.Equal(1, fullyQualified.Count); // Fails.  Count is 0.
Assert.Equal(1, partialName.Count); // Passes.
Is it safe to just use .NET's built in Assembly.GetType("System.String") instead? Even if it is, it would be nice if Fasterflect supported this.