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

RSRP-55901: Warn when members exist with same name but in different capitalisation

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Jan 15, 2008 1:51:01 PM
Updated Apr 12, 2018 5:56:34 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
For example, two methods (even with different visibilities):

public void Setup() {}
private void SetUp() {}

This could be extended to overloads too:

public void Setup() {}
private void SetUp(int count) {}

Similarly for properties:

public string HostName { get; }
public string Hostname { get; set; }

Though not for members of different types (eg. method vs. field):

private string hostName { get; }
public string Hostname { get { return hostName; }

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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