Modify rule S4635: Update title (#2197)
This commit is contained in:
parent
025936fdfb
commit
1eaefdee30
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"title": "Seeking characters from a substring should be avoided",
|
"title": "Start index should be used instead of calling Substring",
|
||||||
"quickfix": "targeted"
|
"quickfix": "targeted"
|
||||||
}
|
}
|
@ -107,4 +107,4 @@ BenchmarkDotNet=v0.13.5, OS=Windows 10 (10.0.19045.2965/22H2/2022Update)
|
|||||||
.NET Framework 4.6.2 : .NET Framework 4.8 (4.8.4614.0), X64 RyuJIT VectorSize=256
|
.NET Framework 4.6.2 : .NET Framework 4.8 (4.8.4614.0), X64 RyuJIT VectorSize=256
|
||||||
----
|
----
|
||||||
|
|
||||||
include::../rspecator.adoc[]
|
include::../rspecator-dotnet.adoc[]
|
||||||
|
18
rules/S4635/rspecator-dotnet.adoc
Normal file
18
rules/S4635/rspecator-dotnet.adoc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
ifdef::env-github,rspecator-view[]
|
||||||
|
|
||||||
|
'''
|
||||||
|
== Implementation Specification
|
||||||
|
(visible only on this page)
|
||||||
|
|
||||||
|
=== Message
|
||||||
|
|
||||||
|
Replace 'XXX' with the overload that accepts a startIndex parameter.
|
||||||
|
|
||||||
|
include::highlighting.adoc[]
|
||||||
|
|
||||||
|
'''
|
||||||
|
== Comments And Links
|
||||||
|
(visible only on this page)
|
||||||
|
|
||||||
|
include::comments-and-links.adoc[]
|
||||||
|
endif::env-github,rspecator-view[]
|
Loading…
x
Reference in New Issue
Block a user