Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

View File

@ -258,7 +258,10 @@ namespace Xamarin.ApiDiff {
public override void Removed (XElement source)
{
string name = State.Namespace + "." + GetTypeName (source);
if (source.Elements ("attributes").SelectMany (a => a.Elements ("attribute")).Any (c => c.Attribute ("name")?.Value == "System.ObsoleteAttribute"))
return;
string name = State.Namespace + "." + GetTypeName (source);
var memberDescription = $"{name}: Removed type";
State.LogDebugMessage ($"Possible -r value: {memberDescription}");
@ -285,4 +288,4 @@ namespace Xamarin.ApiDiff {
return State.Type + "." + base.GetTypeName (type);
}
}
}
}