コード例 #1
0
 /// <summary>
 /// Create a descriptor for comparing the given method without generics.
 /// </summary>
 private static string CreateNoGenericsDescriptor(XMethodReference method)
 {
     return /*CreateNoGenericsDescriptor(method.ReturnType) + ":" +*/
            (string.Join(",", method.Parameters.Select(x => XBuilder.CreateNoGenericsDescriptor(x.ParameterType))));
 }
コード例 #2
0
 /// <summary>
 /// Create a descriptor for comparing the given field without generics.
 /// </summary>
 private static string CreateNoGenericsDescriptor(XFieldReference field)
 {
     return(XBuilder.CreateNoGenericsDescriptor(field.FieldType));
 }