@@ -164,7 +164,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
164
164
165
165
case 1 : return colour_cyan ;
166
166
167
- default : throw new ArgumentOutOfRangeException ( ) ;
167
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
168
168
}
169
169
170
170
case 3 :
@@ -176,7 +176,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
176
176
177
177
case 2 : return colour_cyan ;
178
178
179
- default : throw new ArgumentOutOfRangeException ( ) ;
179
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
180
180
}
181
181
182
182
case 4 :
@@ -190,7 +190,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
190
190
191
191
case 3 : return colour_purple ;
192
192
193
- default : throw new ArgumentOutOfRangeException ( ) ;
193
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
194
194
}
195
195
196
196
case 5 :
@@ -206,7 +206,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
206
206
207
207
case 4 : return colour_cyan ;
208
208
209
- default : throw new ArgumentOutOfRangeException ( ) ;
209
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
210
210
}
211
211
212
212
case 6 :
@@ -224,7 +224,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
224
224
225
225
case 5 : return colour_pink ;
226
226
227
- default : throw new ArgumentOutOfRangeException ( ) ;
227
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
228
228
}
229
229
230
230
case 7 :
@@ -244,7 +244,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
244
244
245
245
case 6 : return colour_pink ;
246
246
247
- default : throw new ArgumentOutOfRangeException ( ) ;
247
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
248
248
}
249
249
250
250
case 8 :
@@ -266,7 +266,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
266
266
267
267
case 7 : return colour_purple ;
268
268
269
- default : throw new ArgumentOutOfRangeException ( ) ;
269
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
270
270
}
271
271
272
272
case 9 :
@@ -290,7 +290,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
290
290
291
291
case 8 : return colour_purple ;
292
292
293
- default : throw new ArgumentOutOfRangeException ( ) ;
293
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
294
294
}
295
295
296
296
case 10 :
@@ -316,7 +316,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
316
316
317
317
case 9 : return colour_purple ;
318
318
319
- default : throw new ArgumentOutOfRangeException ( ) ;
319
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
320
320
}
321
321
}
322
322
@@ -339,7 +339,7 @@ private Color4 getColourForLayout(int columnIndex, StageDefinition stage)
339
339
340
340
case 5 : return colour_green ;
341
341
342
- default : throw new ArgumentOutOfRangeException ( ) ;
342
+ default : throw new ArgumentOutOfRangeException ( nameof ( columnIndex ) ) ;
343
343
}
344
344
}
345
345
}
0 commit comments