Skip to content

Commit 64e394d

Browse files
committed
Update [DebuggerDisplay] & XML doc comment of IndirectReference
1 parent c22408a commit 64e394d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Castle.Core/DynamicProxy/Generators/Emitters/SimpleAST/IndirectReference.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ namespace Castle.DynamicProxy.Generators.Emitters.SimpleAST
2222
using System.Reflection.Emit;
2323

2424
/// <summary>
25-
/// Wraps a reference that is passed
26-
/// ByRef and provides indirect load/store support.
25+
/// Represents the storage location <c>X</c> referenced by a <see cref="Reference"/>
26+
/// holding a managed pointer ("by-ref") <c>&amp;X</c> to it.
27+
/// It essentially has the same function as the pointer indirection / dereferencing operator <c>*</c>.
2728
/// </summary>
28-
[DebuggerDisplay("&{OwnerReference}")]
29+
[DebuggerDisplay("*{byRefReference}")]
2930
internal class IndirectReference : Reference
3031
{
3132
private readonly Reference byRefReference;

0 commit comments

Comments
 (0)