Skip to content

Commit 28972bb

Browse files
committed
remove redundant cast
1 parent 352e9f4 commit 28972bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ProgressOnderwijsUtils.Tests/HtmlDslGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ string GenerateAttributeLookupTable(
275275
{
276276
// Generate lookup entries for each element
277277
var elementLookups = elements.Select(el => {
278-
var elementAttributes = ((IEnumerable<string>)globalAttributes).Concat(el.attributes).ToDistinctArray();
278+
var elementAttributes = globalAttributes.Concat(el.attributes).ToDistinctArray();
279279
var attributeEntries = elementAttributes.Select(attrName => {
280280
var methodName = $"_{toClassName(attrName)}";
281281
return $"[\"{attrName}\"] = \"{methodName}\"";

0 commit comments

Comments
 (0)