You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@ -45,14 +45,16 @@ namespace Xamarin.ApiDiff {
|
||||
|
||||
void RenderFieldAttributes (FieldAttributes source, FieldAttributes target, ApiChange change)
|
||||
{
|
||||
var srcNotSerialized = (source & FieldAttributes.NotSerialized) == FieldAttributes.NotSerialized;
|
||||
var tgtNotSerialized = (target & FieldAttributes.NotSerialized) == FieldAttributes.NotSerialized;
|
||||
if (srcNotSerialized != tgtNotSerialized) {
|
||||
// this is not a breaking change, so only render it if it changed.
|
||||
if (srcNotSerialized) {
|
||||
change.AppendRemoved ("[NonSerialized]\n");
|
||||
} else {
|
||||
change.AppendAdded ("[NonSerialized]\n");
|
||||
if (!State.IgnoreNonbreaking) {
|
||||
var srcNotSerialized = (source & FieldAttributes.NotSerialized) == FieldAttributes.NotSerialized;
|
||||
var tgtNotSerialized = (target & FieldAttributes.NotSerialized) == FieldAttributes.NotSerialized;
|
||||
if (srcNotSerialized != tgtNotSerialized) {
|
||||
// this is not a breaking change, so only render it if it changed.
|
||||
if (srcNotSerialized) {
|
||||
change.AppendRemoved ("[NonSerialized]\n");
|
||||
} else {
|
||||
change.AppendAdded ("[NonSerialized]\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user