private static T AssertException <T>(string syntax) where T : Exception { return(Should.Throw <T>(() => ILAsmParser.ParseType(syntax, P))); }
public TypeReference GetTypeReference(string ilasmSyntax) { return(ILAsmParser.ParseType(ilasmSyntax, typeProvider)); }
private static void AssertCallTree(string syntax, string expected) { ILAsmParser.ParseType(syntax, P).ShouldBe(expected); }