Bug 10961 - Wrong Scope on Exception.HResult
Summary: Wrong Scope on Exception.HResult
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-07 06:56 UTC by Robert Salita
Modified: 2013-03-07 06:56 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Robert Salita 2013-03-07 06:56:55 UTC
Declaration of Exception.HResult has different scoping than Microsoft .Net. In .Net, able to access HResult in Catch, but not under Mono.

.Net:

public int HResult { get; protected set; }

Mono:

protected int HResult { set; get; }

Note You need to log in before you can comment on or make changes to this bug.