Skip to content

Commit da330fd

Browse files
committed
исправлено падение
1 parent c9aad0d commit da330fd

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/OneScript.StandardLibrary/Text/ConsoleColorEnum.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the
77

88
using System;
99
using OneScript.Contexts.Enums;
10-
using OneScript.StandardLibrary.XMLSchema.Enumerations;
1110
using OneScript.Types;
1211
using ScriptEngine.Machine.Contexts;
1312

src/OneScript.StandardLibrary/Xml/XmlNodeTypeEnum.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ This Source Code Form is subject to the terms of the
55
at http://mozilla.org/MPL/2.0/.
66
----------------------------------------------------------*/
77

8-
using System.Collections.Generic;
98
using System.Xml;
109
using OneScript.Contexts.Enums;
11-
using OneScript.StandardLibrary.XMLSchema.Enumerations;
1210
using OneScript.Types;
1311
using ScriptEngine.Machine.Contexts;
1412

src/OneScript.StandardLibrary/Xml/XmlSpaceEnum.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the
77

88
using System.Xml;
99
using OneScript.Contexts.Enums;
10-
using OneScript.StandardLibrary.XMLSchema.Enumerations;
1110
using OneScript.Types;
1211
using ScriptEngine.Machine.Contexts;
1312

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

2625
public static XmlSpaceEnum CreateInstance(ITypeManager typeManager)

0 commit comments

Comments
 (0)