You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.163
Former-commit-id: 108ef693596ba53323fc750a7d4fdc946d0f5322
This commit is contained in:
parent
0875d0d9cd
commit
6b5644868c
@ -56,6 +56,18 @@ namespace Xamarin.ApiDiff {
|
||||
change.AppendAdded ("[NonSerialized]\n");
|
||||
}
|
||||
}
|
||||
|
||||
var srcHasFieldMarshal = (source & FieldAttributes.HasFieldMarshal) != 0;
|
||||
var tgtHasFieldMarshal = (target & FieldAttributes.HasFieldMarshal) != 0;
|
||||
if (srcHasFieldMarshal != tgtHasFieldMarshal) {
|
||||
// this is not a breaking change, so only render it if it changed.
|
||||
if (srcHasFieldMarshal) {
|
||||
change.AppendRemoved ("[MarshalAs]", false);
|
||||
} else {
|
||||
change.AppendAdded ("[MarshalAs]", false);
|
||||
}
|
||||
change.Append (Environment.NewLine);
|
||||
}
|
||||
}
|
||||
|
||||
// the visibility values are the same for MethodAttributes and FieldAttributes, so just use the same method.
|
||||
|
Reference in New Issue
Block a user