Skip to content

Commit 96e1e86

Browse files
committed
[api-merge] Update "constant" values if they change between API levels.
1 parent 0aede13 commit 96e1e86

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

build-tools/api-merge/ApiDescription.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ public void Merge (XDocument n, string apiLocation)
147147
}
148148
*/
149149

150+
// Yes, "constant" values can change between API levels.
151+
smember.SetAttributeValue ("value", nmember.Attribute ("value")?.Value);
152+
150153
UpdateDeprecatedSince (smember, nmember, platform);
151154

152155
#if KEEP_OLD_WRONG_COMPATIBILITY

0 commit comments

Comments
 (0)