Skip to content

Commit

Permalink
Fix S4056: FP for overloads with different signature (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-epure-sonarsource authored and duncanp-sonar committed Apr 24, 2019
1 parent 30fc149 commit c2366e4
Show file tree
Hide file tree
Showing 47 changed files with 238 additions and 2,582 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,97 +17,6 @@
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\AutoMapperConfigurationException.cs",
"region": {
"startLine": 121,
"startColumn": 44,
"endLine": 121,
"endColumn": 88
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Configuration\Conventions\ReplaceName.cs",
"region": {
"startLine": 39,
"startColumn": 49,
"endLine": 39,
"endColumn": 98
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Configuration\Conventions\ReplaceName.cs",
"region": {
"startLine": 40,
"startColumn": 91,
"endLine": 40,
"endColumn": 129
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Execution\ProxyGenerator.cs",
"region": {
"startLine": 159,
"startColumn": 32,
"endLine": 159,
"endColumn": 71
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Internal\ReflectionHelper.cs",
"region": {
"startLine": 46,
"startColumn": 17,
"endLine": 46,
"endColumn": 55
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Internal\ReflectionHelper.cs",
"region": {
"startLine": 51,
"startColumn": 17,
"endLine": 51,
"endColumn": 46
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Internal\ReflectionHelper.cs",
"region": {
"startLine": 64,
"startColumn": 24,
"endLine": 64,
"endColumn": 55
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\LowerUnderscoreNamingConvention.cs",
"region": {
"startLine": 11,
Expand Down Expand Up @@ -147,32 +56,6 @@
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Mappers\TypeConverterMapper.cs",
"region": {
"startLine": 18,
"startColumn": 38,
"endLine": 18,
"endColumn": 91
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\Mappers\TypeConverterMapper.cs",
"region": {
"startLine": 24,
"startColumn": 38,
"endLine": 24,
"endColumn": 71
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\PascalCaseNamingConvention.cs",
"region": {
"startLine": 10,
Expand All @@ -194,32 +77,6 @@
"endColumn": 87
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\QueryableExtensions\Impl\QueryMapperVisitor.cs",
"region": {
"startLine": 156,
"startColumn": 21,
"endLine": 156,
"endColumn": 70
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\AutoMapper\QueryableExtensions\ProjectionExpression.cs",
"region": {
"startLine": 45,
"startColumn": 52,
"endLine": 45,
"endColumn": 81
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\IntegrationTests\ExplicitExpansion\ProjectionWithExplicitExpansion.cs",
"region": {
"startLine": 77,
"startColumn": 71,
"endLine": 77,
"endColumn": 105
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Automapper\src\IntegrationTests\Inheritance\ProjectToAbstractType.cs",
"region": {
"startLine": 273,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,6 @@
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 63,
"startColumn": 17,
"endLine": 63,
"endColumn": 41
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 64,
"startColumn": 25,
"endLine": 64,
Expand All @@ -45,19 +32,6 @@
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 65,
"startColumn": 22,
"endLine": 65,
"endColumn": 44
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 66,
"startColumn": 25,
"endLine": 66,
Expand All @@ -71,19 +45,6 @@
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 67,
"startColumn": 22,
"endLine": 67,
"endColumn": 45
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Ember\EmberWorkAroundPlugin.cs",
"region": {
"startLine": 68,
"startColumn": 25,
"endLine": 68,
Expand Down Expand Up @@ -194,19 +155,6 @@
"endColumn": 70
}
}
},
{
"id": "S4056",
"message": "Use the overload that takes a 'CultureInfo' or 'IFormatProvider' parameter.",
"location": {
"uri": "sources\Ember-MM\Ember.Plugins\Utility.cs",
"region": {
"startLine": 44,
"startColumn": 22,
"endLine": 44,
"endColumn": 45
}
}
}
]
}
Loading

0 comments on commit c2366e4

Please sign in to comment.