Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use ToArray in one more place
  • Loading branch information
jkoritzinsky authored Oct 6, 2022
commit 484ec478832bb1fc521cd4bc7b07bc7f6ee2d08e
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ internal override RestrictionFlags ValidRestrictionFlags
XsdSimpleValue simpleValue = (XsdSimpleValue)unionTypedValue;
values.Add(new XmlAtomicValue(simpleValue.XmlType, simpleValue.TypedValue, nsmgr));
}
array = values.ToArray(typeof(XmlAtomicValue));
array = ToArray(values, typeof(XmlAtomicValue[]));
}
else
{ //Variety == List or Atomic
Expand Down