Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287802: Throwing ArgumentNullException for parameter prefixed with '@' falsely claims the parameter cannot be resolved

$
0
0
Reporter Stephen Swensen (Stephen.Swensen) Stephen Swensen (Stephen.Swensen)
Created Jan 16, 2012 5:19:01 PM
Updated Jan 16, 2012 5:19:01 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
In the following example, ReSharper says "Cannot resolve symbol '@this'"

public static bool SequenceEquals<T, R>(this IEnumerable<T> @this, IEnumerable<R> other, Func<T, R, bool> comparer) {
    if(@this == null)
        throw new ArgumentNullException("@this");

    if (other == null)
        throw new ArgumentNullException("other");

    return false;
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>