| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,6 +40,5 @@ where | |||
| 40 | 40 | compareToMethod(m, actualParamType) and | |
| 41 | 41 | not implementsIComparable(declaringType, actualParamType) | |
| 42 | 42 | select m, | |
| 43 | - "The parameter of this 'CompareTo' method is of type $@, but $@ does not implement 'IComparable<$@>'.", | ||
| 44 | - actualParamType, actualParamType.getName(), declaringType, declaringType.getName(), | ||
| 45 | - actualParamType, actualParamType.getName() | ||
| 43 | + "The parameter of this 'CompareTo' method is of type '" + actualParamType.getName() + | ||
| 44 | + "', but the declaring type does not implement 'IComparable<" + actualParamType.getName() + ">'." | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,2 @@ | |||
| 1 | - | IncorrectCompareToSignature.cs:5:16:5:24 | CompareTo | The parameter of this 'CompareTo' method is of type $@, but $@ does not implement 'IComparable<$@>'. | IncorrectCompareToSignature.cs:3:10:3:10 | T | T | IncorrectCompareToSignature.cs:3:7:3:11 | C1`1 | C1`1 | IncorrectCompareToSignature.cs:3:10:3:10 | T | T | | ||
| 2 | - | IncorrectCompareToSignatureBad.cs:5:16:5:24 | CompareTo | The parameter of this 'CompareTo' method is of type $@, but $@ does not implement 'IComparable<$@>'. | IncorrectCompareToSignatureBad.cs:3:7:3:9 | Bad | Bad | IncorrectCompareToSignatureBad.cs:3:7:3:9 | Bad | Bad | IncorrectCompareToSignatureBad.cs:3:7:3:9 | Bad | Bad | | ||
| 1 | + | IncorrectCompareToSignature.cs:5:16:5:24 | CompareTo | The parameter of this 'CompareTo' method is of type 'T', but the declaring type does not implement 'IComparable<T>'. | | ||
| 2 | + | IncorrectCompareToSignatureBad.cs:5:16:5:24 | CompareTo | The parameter of this 'CompareTo' method is of type 'Bad', but the declaring type does not implement 'IComparable<Bad>'. | | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments