Example #1
0
 public static int Of(IMethodDefinition method, PdbReader pdb, IMetadataHost host)
 {
     if (method.HasOperations())
         return method.CalculateStatements(pdb, host);
     else
         return 0;
 }
Example #2
0
 public static int Of(IMethodDefinition method, PdbReader pdb, IMetadataHost host)
 {
     if (method.HasOperations())
     {
         return(method.CalculateStatements(pdb, host));
     }
     else
     {
         return(0);
     }
 }