Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests for RS0015 analyzer #353

Closed
genlu opened this issue Nov 10, 2015 · 3 comments
Closed

Add unit tests for RS0015 analyzer #353

genlu opened this issue Nov 10, 2015 · 3 comments
Labels

Comments

@genlu
Copy link
Member

genlu commented Nov 10, 2015

No description provided.

@genlu genlu added the Test label Nov 10, 2015
@tmeschter
Copy link
Contributor

@genlu Which one is RS0015?

@genlu
Copy link
Member Author

genlu commented Nov 19, 2015

It’s under Roslyn Diagnostics.

RS0015: Always consume the value returned by methods marked with PreserveSigAttribute
PreserveSigAttribute indicates that a method will return an HRESULT, rather than throwing an exception. Therefore, it is important to consume the HRESULT returned by the method, so that errors can be detected. Generally, this is done by calling Marshal.ThrowExceptionForHR.
Category: Reliability
Severity: Warning

From: Tom Meschter [mailto:[email protected]]
Sent: Thursday, November 19, 2015 7:45 AM
To: dotnet/roslyn-analyzers [email protected]
Cc: Gen Lu [email protected]
Subject: Re: [roslyn-analyzers] Add unit tests for RS0015 analyzer (#353)

@genluhttps://github.com/genlu Which one is RS0015?


Reply to this email directly or view it on GitHubhttps://github.com//issues/353#issuecomment-158095633.

@srivatsn
Copy link
Contributor

srivatsn commented Jan 6, 2016

Part of #701

@srivatsn srivatsn closed this as completed Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants