Skip to content

Commit 7b65313

Browse files
committed
Fixed reference to instance member
1 parent cd13f03 commit 7b65313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DotNext/Runtime/BoxedValue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private BoxedValue()
8080
/// Unboxes the value.
8181
/// </summary>
8282
/// <param name="boxedValue">The boxed representation of the value.</param>
83-
public static implicit operator T(BoxedValue<T> boxedValue) => boxedValue.Value;
83+
public static implicit operator T(BoxedValue<T> boxedValue) => boxedValue.value;
8484

8585
/// <summary>
8686
/// Converts a value type to an object reference.
@@ -118,5 +118,5 @@ private BoxedValue()
118118
/// <param name="boxedValue">Boxed value.</param>
119119
/// <returns>Mutable reference to the boxed value.</returns>
120120
public static implicit operator ValueReference<T>(BoxedValue<T> boxedValue)
121-
=> new(boxedValue, ref boxedValue.Value);
121+
=> new(boxedValue, ref boxedValue.value);
122122
}

0 commit comments

Comments
 (0)