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