@@ -110,22 +110,22 @@ class MyClass
110
110
found = str .Contains ('x' );
111
111
112
112
// No comparisonType in string overload, adds StringComparison.CurrentCulture to resulting fix
113
- found = ! string .Contains (" text" , StringComparison .CurrentCulture );
114
- found = string .Contains (" text" , StringComparison .CurrentCulture );
113
+ found = ! str .Contains (" text" , StringComparison .CurrentCulture );
114
+ found = str .Contains (" text" , StringComparison .CurrentCulture );
115
115
116
116
// comparisonType equal to StringComparison.Ordinal, removes the argument
117
- found = ! string .Contains ('x' );
118
- found = string .Contains ('x' );
117
+ found = ! str .Contains ('x' );
118
+ found = str .Contains ('x' );
119
119
120
- found = ! string .Contains (" text" );
121
- found = string .Contains (" text" );
120
+ found = ! str .Contains (" text" );
121
+ found = str .Contains (" text" );
122
122
123
123
// comparisonType different than StringComparison.Ordinal, preserves the argument
124
- ; found = ! string .Contains ('x' , StringComparison .OrdinalIgnoreCase )
125
- found = string .Contains ('x' , StringComparison .CurrentCulture );
124
+ found = ! str .Contains ('x' , StringComparison .OrdinalIgnoreCase );
125
+ found = str .Contains ('x' , StringComparison .CurrentCulture );
126
126
127
- found = ! string .Contains (" text" , StringComparison .InvariantCultureIgnoreCase );
128
- found = string .Contains (" text" , StringComparison .InvariantCulture );
127
+ found = ! str .Contains (" text" , StringComparison .InvariantCultureIgnoreCase );
128
+ found = str .Contains (" text" , StringComparison .InvariantCulture );
129
129
130
130
// This case had to be manually fixed
131
131
if (! str .Contains (" text" ))
0 commit comments