diff --git a/analyzers/its/expected/Nancy/Nancy--net452-S2223.json b/analyzers/its/expected/Nancy/Nancy--net452-S2223.json index 8c705f0d29c..f33562d4425 100644 --- a/analyzers/its/expected/Nancy/Nancy--net452-S2223.json +++ b/analyzers/its/expected/Nancy/Nancy--net452-S2223.json @@ -15,71 +15,6 @@ }, { "id": "S2223", -"message": "Change the visibility of 'hexChars' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 47, -"startColumn": 23, -"endLine": 47, -"endColumn": 31 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'entitiesLock' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 48, -"startColumn": 23, -"endLine": 48, -"endColumn": 35 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'entities' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 49, -"startColumn": 47, -"endLine": 49, -"endColumn": 55 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'defaultEncoder' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 54, -"startColumn": 28, -"endLine": 54, -"endColumn": 42 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'currentEncoder' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 56, -"startColumn": 28, -"endLine": 56, -"endColumn": 42 -} -} -}, -{ -"id": "S2223", "message": "Change the visibility of 'DEFAULT_SWITCHOVER_THRESHOLD' or make it 'const' or 'readonly'.", "location": { "uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", @@ -93,19 +28,6 @@ }, { "id": "S2223", -"message": "Change the visibility of 'mimeTypes' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\MimeTypes.cs", -"region": { -"startLine": 41, -"startColumn": 44, -"endLine": 41, -"endColumn": 53 -} -} -}, -{ -"id": "S2223", "message": "Change the visibility of 'NoBody' or make it 'const' or 'readonly'.", "location": { "uri": "sources\Nancy\src\Nancy\Response.cs", diff --git a/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S2223.json b/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S2223.json index 8c705f0d29c..f33562d4425 100644 --- a/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S2223.json +++ b/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S2223.json @@ -15,71 +15,6 @@ }, { "id": "S2223", -"message": "Change the visibility of 'hexChars' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 47, -"startColumn": 23, -"endLine": 47, -"endColumn": 31 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'entitiesLock' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 48, -"startColumn": 23, -"endLine": 48, -"endColumn": 35 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'entities' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 49, -"startColumn": 47, -"endLine": 49, -"endColumn": 55 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'defaultEncoder' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 54, -"startColumn": 28, -"endLine": 54, -"endColumn": 42 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'currentEncoder' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", -"region": { -"startLine": 56, -"startColumn": 28, -"endLine": 56, -"endColumn": 42 -} -} -}, -{ -"id": "S2223", "message": "Change the visibility of 'DEFAULT_SWITCHOVER_THRESHOLD' or make it 'const' or 'readonly'.", "location": { "uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", @@ -93,19 +28,6 @@ }, { "id": "S2223", -"message": "Change the visibility of 'mimeTypes' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Nancy\src\Nancy\MimeTypes.cs", -"region": { -"startLine": 41, -"startColumn": 44, -"endLine": 41, -"endColumn": 53 -} -} -}, -{ -"id": "S2223", "message": "Change the visibility of 'NoBody' or make it 'const' or 'readonly'.", "location": { "uri": "sources\Nancy\src\Nancy\Response.cs", diff --git a/analyzers/its/expected/Net5/Net5--net5.0-S2223.json b/analyzers/its/expected/Net5/Net5--net5.0-S2223.json deleted file mode 100644 index 950afd59eb7..00000000000 --- a/analyzers/its/expected/Net5/Net5--net5.0-S2223.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S2223", -"message": "Change the visibility of 'foo' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Net5\Net5\S3604.cs", -"region": { -"startLine": 7, -"startColumn": 20, -"endLine": 7, -"endColumn": 23 -} -} -}, -{ -"id": "S2223", -"message": "Change the visibility of 'bar' or make it 'const' or 'readonly'.", -"location": { -"uri": "sources\Net5\Net5\S3604.cs", -"region": { -"startLine": 8, -"startColumn": 20, -"endLine": 8, -"endColumn": 23 -} -} -} -] -}