Skip to content

Commit f404415

Browse files
committed
fix: Update BuildCurrentPath method visibility to public in DeserializationContext and SerializationContext
1 parent 5717e6d commit f404415

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ReflectorNet/ReflectorNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<!-- NuGet Package Information -->
1111
<PackageId>com.IvanMurzak.ReflectorNet</PackageId>
12-
<Version>3.2.0</Version>
12+
<Version>3.2.1</Version>
1313
<Authors>Ivan Murzak</Authors>
1414
<Copyright>Copyright © Ivan Murzak 2025</Copyright>
1515
<Description>ReflectorNet is an advanced .NET reflection toolkit designed for AI-driven scenarios. Effortlessly search for C# methods using natural language queries, invoke any method by supplying arguments as JSON, and receive results as JSON. The library also provides a powerful API to inspect, modify, and manage in-memory object instances dynamically via JSON data. Ideal for automation, testing, and AI integration workflows.</Description>

ReflectorNet/src/Model/DeserializationContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public bool TryResolve(string refPath, out object? result)
8080
/// <returns>The current path as a JSON Pointer string.</returns>
8181
public string GetCurrentPath() => BuildCurrentPath();
8282

83-
private string BuildCurrentPath()
83+
public string BuildCurrentPath()
8484
{
8585
if (_pathStack.Count == 1)
8686
return "#";

ReflectorNet/src/Model/SerializationContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public bool Enter(object obj, string? segment)
4949
return true;
5050
}
5151

52-
private string BuildCurrentPath()
52+
public string BuildCurrentPath()
5353
{
5454
if (_pathStack.Count == 1)
5555
return "#";

0 commit comments

Comments
 (0)