Skip to content

Commit

Permalink
исправлено падение
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Rm committed Nov 18, 2024
1 parent c9aad0d commit da330fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/OneScript.StandardLibrary/Text/ConsoleColorEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the

using System;
using OneScript.Contexts.Enums;
using OneScript.StandardLibrary.XMLSchema.Enumerations;
using OneScript.Types;
using ScriptEngine.Machine.Contexts;

Expand Down
2 changes: 0 additions & 2 deletions src/OneScript.StandardLibrary/Xml/XmlNodeTypeEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System.Collections.Generic;
using System.Xml;
using OneScript.Contexts.Enums;
using OneScript.StandardLibrary.XMLSchema.Enumerations;
using OneScript.Types;
using ScriptEngine.Machine.Contexts;

Expand Down
5 changes: 2 additions & 3 deletions src/OneScript.StandardLibrary/Xml/XmlSpaceEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the

using System.Xml;
using OneScript.Contexts.Enums;
using OneScript.StandardLibrary.XMLSchema.Enumerations;
using OneScript.Types;
using ScriptEngine.Machine.Contexts;

Expand All @@ -19,8 +18,8 @@ public class XmlSpaceEnum : ClrEnumWrapperCached<XmlSpace>
private XmlSpaceEnum(TypeDescriptor typeRepresentation, TypeDescriptor valuesType)
: base(typeRepresentation, valuesType)
{
this.WrapClrValue("ПоУмолчанию", "Default", XmlSpace.Default);
this.WrapClrValue("Сохранять", "Preserve", XmlSpace.Preserve);
MakeValue("ПоУмолчанию", "Default", XmlSpace.Default);
MakeValue("Сохранять", "Preserve", XmlSpace.Preserve);
}

public static XmlSpaceEnum CreateInstance(ITypeManager typeManager)
Expand Down

0 comments on commit da330fd

Please sign in to comment.