Closed ViIvanov closed 7 years ago
It's already marked with necessary annotation https://github.com/JetBrains/ExternalAnnotations/blob/8b9d8a1726ba096dc7fdf3deda4cb8dbfd1bb787/Annotations/.NETFramework/System/Attributes.xml#L12
@ViIvanov, issue is not related to external annotations - please file an issue in ReSharper tracker.
Oh, and it's not ReSharper's issue at all.
@derigel23 I think you did not read this ticket carefully. Debug.Fail
is not the method in question. It is ExceptionDispatchInfo#Throw
. (That is, the instance method Throw
.) You have linked to the annotation for Debug.Fail
.
@chrisoverzero agree. That's why PR is always better :)
This method always throws an exception: http://referencesource.microsoft.com/#mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs,fc3b312e2d0ab87a
But R# does not know about it:
// I will try to send PR for this