mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
343 B
24 lines
343 B
public class CallSite |
|
{ |
|
public static bool CompareVirtual<T>(Source<T> s, T a, T b) |
|
{ |
|
return a < b; |
|
} |
|
|
|
public static bool CompareDirect(Source<int> s, int a, int b) |
|
{ |
|
return a > b; |
|
} |
|
} |
|
public class Source<T> |
|
{ |
|
public virtual bool operator <(T a, T b) |
|
{ |
|
return false; |
|
} |
|
|
|
public bool operator >(T a, T b) |
|
{ |
|
return false; |
|
} |
|
}
|
|
|