org.sonar.plugins.csharp.S3876.html Maven / Gradle / Ivy
Why is this an issue?
Strings and integral types are typically used as indexers. When some other type is required, it typically indicates design problems, and
potentially a situation where a method should be used instead.
Noncompliant code example
public int this[MyCustomClass index] // Noncompliant
{
// get and set accessors
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy