Skip to content

Commit 8acfabb

Browse files
committed
Удален оставшийся отладочный вывод
1 parent 00967af commit 8acfabb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ScriptEngine/Machine/Contexts/COMWrapperContext.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ protected static (object[] values, ParameterModifier[] flags) MarshalArguments(I
115115
var flags = new ParameterModifier(arguments.Length);
116116
for (int i = 0; i < arguments.Length; i++)
117117
{
118-
if (arguments[i] is IVariable v)
119-
{
120-
values[i] = new System.Runtime.InteropServices.VariantWrapper(MarshalIValue(v.Value));
121-
flags[i] = true;
118+
if (arguments[i] is IVariable v)
119+
{
120+
values[i] = new System.Runtime.InteropServices.VariantWrapper(MarshalIValue(v.Value));
121+
flags[i] = true;
122122
}
123-
else
123+
else
124124
values[i] = MarshalIValue(arguments[i]);
125125

126126
}
@@ -206,7 +206,7 @@ public static IValue CreateIValue(object objParam)
206206
return ValueFactory.Create();
207207

208208
var type = objParam.GetType();
209-
Console.WriteLine($"objt={type.FullName} isI:{objParam is IValue} A:{type.IsArray} asg:{typeof(IValue).IsAssignableFrom(type)} nP:{!type.IsPrimitive} ");
209+
210210
if (typeof(IValue).IsAssignableFrom(type))
211211
{
212212
return (IValue)objParam;

0 commit comments

Comments
 (0)