@@ -23,7 +23,7 @@ namespace DotNext.Runtime;
2323public abstract class BoxedValue < T > // do not add any interfaces or base types
2424 where T : struct
2525{
26- internal T value ;
26+ internal T Value ;
2727
2828 /// <summary>
2929 /// Converts untyped reference to a boxed value into a typed reference.
@@ -61,7 +61,7 @@ namespace DotNext.Runtime;
6161 /// Unboxes the value.
6262 /// </summary>
6363 /// <param name="boxedValue">The boxed representation of the value.</param>
64- public static implicit operator T ( BoxedValue < T > boxedValue ) => boxedValue . value ;
64+ public static implicit operator T ( BoxedValue < T > boxedValue ) => boxedValue . Value ;
6565
6666 /// <summary>
6767 /// Converts a value type to an object reference.
@@ -93,7 +93,7 @@ namespace DotNext.Runtime;
9393 /// <param name="boxedValue">Boxed value.</param>
9494 /// <returns>Mutable reference to the boxed value.</returns>
9595 public static implicit operator ValueReference < T > ( BoxedValue < T > boxedValue )
96- => new ( boxedValue , ref boxedValue . value ) ;
96+ => new ( boxedValue , ref boxedValue . Value ) ;
9797
9898 /// <inheritdoc />
9999 public abstract override bool Equals ( [ NotNullWhen ( true ) ] object ? obj ) ; // abstract to avoid inlining by AOT/JIT
@@ -118,7 +118,7 @@ public static class BoxedValue
118118 /// <returns>A reference to the boxed value.</returns>
119119 public static ref T Unbox < T > ( this BoxedValue < T > boxedValue )
120120 where T : struct
121- => ref boxedValue . value ;
121+ => ref boxedValue . Value ;
122122
123123 /// <summary>
124124 /// Creates a bitwise copy of the boxed value.
0 commit comments