Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Throw meaningful exception if type doesn't derive from System.Object - #1230

Merged
jkotas merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:protectHierarchy
May 3, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:protectHierarchy

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

If we can't find an implementation of the Finalize method in the
hierarchy, the type hierarchy starts with something weird.

Marking as TODO because we still need to standardize on what exception
types to throw and how to throw them.

Related to #1226.

If we can't find an implementation of the Finalize method in the
hierarchy, the type hierarchy starts with something weird.

Marking as TODO because we still need to standardize on what exception
types to throw and how to throw them.
@jkotas

jkotas commented May 3, 2016

Copy link
Copy Markdown
Member

LGTM

@jkotas
jkotas merged commit fac6d52 into dotnet:master May 3, 2016
@MichalStrehovsky
MichalStrehovsky deleted the protectHierarchy branch May 3, 2016 05:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants