Skip to content

Commit 2abfc1e

Browse files
committed
Revert "Bump to mono/cecil/master@cb6c1ca (#462)"
This reverts commit 807ed48. This change doesn't play well with XA/master branch, because it uses older cecil version without the API break. I have created mono-2019-08 branch here in Java.Interop for mono/2019-08 specific changes for dotnet/android#3449 integration PR. Changes from mono-2019-08 branch (plus this reverted bump) could be merged to master, once the integration PR is merged to XA.
1 parent c350895 commit 2abfc1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

external/cecil

Submodule cecil updated from cb6c1ca to a6c8f5e

src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/MethodDefinitionRocks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static bool IsParameterCompatibleWith (TypeReference a, TypeReference b)
110110
return true;
111111
var gpa = (GenericParameter) a;
112112
foreach (var c in gpa.Constraints) {
113-
if (!c.ConstraintType.IsAssignableFrom (b))
113+
if (!c.IsAssignableFrom (b))
114114
return false;
115115
}
116116
return true;

tools/generator/Java.Interop.Tools.Generator.ObjectModel/GenericParameterDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static GenericParameterDefinitionList FromMetadata (IEnumerable<GenericPa
7272
ret.Add (new GenericParameterDefinition (
7373
p.FullNameCorrected (),
7474
(from a in p.Constraints
75-
select a.ConstraintType.FullNameCorrected ()).ToArray ()));
75+
select a.FullNameCorrected ()).ToArray ()));
7676
}
7777
return ret;
7878
}

0 commit comments

Comments
 (0)