Skip to content

Commit

Permalink
Fix #1553 S4226: report only on classes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-epure-sonarsource committed Jul 31, 2018
1 parent 6a54fcb commit 5dff008
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 1,147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,71 +4,6 @@
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Configuration\INancyEnvironmentExtensions.cs",
"region": {
"startLine": 16,
"startColumn": 28,
"endLine": 16,
"endColumn": 36
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Configuration\INancyEnvironmentExtensions.cs",
"region": {
"startLine": 27,
"startColumn": 25,
"endLine": 27,
"endColumn": 33
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Configuration\INancyEnvironmentExtensions.cs",
"region": {
"startLine": 39,
"startColumn": 25,
"endLine": 39,
"endColumn": 33
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Configuration\INancyEnvironmentExtensions.cs",
"region": {
"startLine": 52,
"startColumn": 25,
"endLine": 52,
"endColumn": 44
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Configuration\INancyEnvironmentExtensions.cs",
"region": {
"startLine": 67,
"startColumn": 25,
"endLine": 67,
"endColumn": 44
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Conventions\StaticContentHelper.cs",
"region": {
"startLine": 22,
Expand All @@ -82,162 +17,6 @@
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 25,
"startColumn": 32,
"endLine": 25,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 37,
"startColumn": 32,
"endLine": 37,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 51,
"startColumn": 32,
"endLine": 51,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 64,
"startColumn": 32,
"endLine": 64,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 76,
"startColumn": 32,
"endLine": 76,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 86,
"startColumn": 32,
"endLine": 86,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 99,
"startColumn": 32,
"endLine": 99,
"endColumn": 38
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 115,
"startColumn": 32,
"endLine": 115,
"endColumn": 42
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 128,
"startColumn": 32,
"endLine": 128,
"endColumn": 37
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 142,
"startColumn": 32,
"endLine": 142,
"endColumn": 42
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\FormatterExtensions.cs",
"region": {
"startLine": 154,
"startColumn": 32,
"endLine": 154,
"endColumn": 42
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\NancyEngineExtensions.cs",
"region": {
"startLine": 14,
"startColumn": 42,
"endLine": 14,
"endColumn": 55
}
}
},
{
"id": "S4226",
"message": "Either move this extension to another namespace or move the method inside the type itself.",
"location": {
"uri": "sources\Nancy\src\Nancy\Owin\NancyOptionsExtensions.cs",
"region": {
"startLine": 16,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5dff008

Please sign in to comment.