Removed unnecessary casts

This commit is contained in:
Joshua Askharoun
2021-03-31 17:15:06 -05:00
parent f7d5fa4120
commit 9b09412b45
587 changed files with 7864 additions and 7862 deletions
+3 -3
View File
@@ -13,11 +13,11 @@ namespace Microsoft.Iris.Markup
private short _typeID;
public UIXEnumSchema(short typeID, string name, Type runtimeType, bool isFlags)
: base((LoadResult)MarkupSystem.UIXGlobal)
: base(MarkupSystem.UIXGlobal)
{
this._typeID = typeID;
this.Initialize(name, runtimeType, isFlags, (string[])null, (int[])null);
UIXTypes.RegisterTypeForID(typeID, (TypeSchema)this);
this.Initialize(name, runtimeType, isFlags, null, null);
UIXTypes.RegisterTypeForID(typeID, this);
}
protected override void InitializeNameToValueMap() => this._nameToValueMap = UIXEnumData.GetDataForType(this._typeID);