Skip to content

Commit 95be15c

Browse files
committed
[fix] added internal call
1 parent 1295757 commit 95be15c

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

VSharp.CSharpUtils/EnvironmentUtils.cs

+7
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,11 @@ public static class EnvironmentUtils
44
{
55
[Implements("System.Void System.Environment..cctor()")]
66
public static void EnvironmentStaticConstructor() { }
7+
8+
[Implements("System.String System.IO.Path.GetFullPathInternal(System.String)")]
9+
public static string GetFullPathInternal(string s)
10+
{
11+
// TODO: implement fully
12+
return s;
13+
}
714
}

VSharp.CSharpUtils/JetBrainsDiagnosticsUtils.cs

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
public static class JetBrainsDiagnosticsUtils
44
{
5-
[Implements("System.Void JetBrains.Diagnostics.Log..cctor()")]
6-
public static void LogStaticConstructor() { }
75

86
[Implements("System.Boolean JetBrains.Diagnostics.LogEx.IsTraceEnabled(JetBrains.Diagnostics.ILog)")]
97
public static bool LogIsTraceEnabled()

VSharp.IL/Loader.fs

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ module Loader =
112112
"System.Boolean System.Numerics.Vector`1[T].op_Equality(System.Numerics.Vector`1[T], System.Numerics.Vector`1[T])"
113113
"System.Numerics.Vector`1[T] System.Numerics.Vector.BitwiseOr(System.Numerics.Vector`1[T, System.Numerics.Vector`1[T])"
114114
"System.Numerics.Vector`1[T] System.Numerics.Vector.BitwiseAnd(System.Numerics.Vector`1[T, System.Numerics.Vector`1[T])"
115+
"System.Numerics.Vector`1[T] System.Numerics.Vector.Equals(System.Numerics.Vector`1[T], System.Numerics.Vector`1[T])"
115116
|]
116117
let runtimeHelpers = [|
117118
"System.Boolean System.Runtime.CompilerServices.RuntimeHelpers.IsKnownConstant(System.Char)"
@@ -236,6 +237,7 @@ module Loader =
236237
"System.String System.IO.Path.GetFullPath(System.String)"
237238
"System.Boolean System.OperatingSystem.IsOSPlatform(System.String)"
238239
"System.Collections.IDictionary System.Environment.GetEnvironmentVariables()"
240+
"System.IO.TextWriter System.Console.get_Out()"
239241

240242
// Text
241243
"System.Int32 System.Text.UTF8Encoding.GetBytes(this, System.String, System.Int32, System.Int32, System.Byte[], System.Int32)"

VSharp.SILI/CILState.fs

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ type cilState =
4444
/// </summary>
4545
id : uint
4646
}
47+
override x.ToString() = System.String.Empty
4748

4849
interface IGraphTrackableState with
4950
override this.CodeLocation = this.currentLoc

0 commit comments

Comments
 (0)