File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ dotnet_diagnostic.CA1505.severity = none
200200dotnet_diagnostic.CA1506.severity = none
201201
202202# Use nameof to express symbol names
203- dotnet_diagnostic.CA1507.severity = suggestion
203+ dotnet_diagnostic.CA1507.severity = warning
204204
205205# Avoid dead conditional code
206206dotnet_diagnostic.CA1508.severity = none
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ public string toolsVersion
134134 {
135135 get
136136 {
137- return ( string ) base [ " toolsVersion" ] ;
137+ return ( string ) base [ nameof ( toolsVersion ) ] ;
138138 }
139139
140140 set
@@ -740,7 +740,7 @@ public string DefaultOverrideToolsVersion
740740 // whenever the base class gives us an empty string.
741741 // Note this means we can't distinguish between the attribute being present but containing
742742 // an empty string for its value and the attribute not being present at all.
743- string defaultValue = ( string ) base [ " DefaultOverrideToolsVersion" ] ;
743+ string defaultValue = ( string ) base [ nameof ( DefaultOverrideToolsVersion ) ] ;
744744 return String . IsNullOrEmpty ( defaultValue ) ? null : defaultValue ;
745745 }
746746
You can’t perform that action at this time.
0 commit comments