Skip to content

Remove public API on DocumentOptionSet#43428

Merged
mavasani merged 1 commit intodotnet:release/dev16.6from
mavasani:ApiBreakFix
Apr 17, 2020
Merged

Remove public API on DocumentOptionSet#43428
mavasani merged 1 commit intodotnet:release/dev16.6from
mavasani:ApiBreakFix

Conversation

@mavasani
Copy link
Contributor

#42931 added this API as we thought converting the base type's OptionSet.GetOption method from an abstract to non-abstract method and removing the override on DocumentOptionSet would be a binary breaking change for callers. However, based on the public API review meeting, it was identified that it would indeed not be a breaking change as the compiler would have emitted a callvirt to OptionSet.GetOption.

dotnet#42931 added this API as we thought converting the base `OptionSet` type's abstract method to non-abstract and removing the override on `DocumentOptionSet` would be a binary breaking change for callers. However, based on the public API review meeting, it was identified that it would indeed not be a breaking change as the compiler would have emitted a callvirt to `OptionSet.GetOption`.
@mavasani
Copy link
Contributor Author

Thanks @jinujoseph

@mavasani mavasani merged commit 6c5512f into dotnet:release/dev16.6 Apr 17, 2020
@mavasani mavasani deleted the ApiBreakFix branch April 17, 2020 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants