Skip to content

Commit

Permalink
fix string <> int convertion error
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie authored and siegfriedpammer committed May 30, 2021
1 parent 2048273 commit 6a34df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static CustomDebugInformationKind GetKind(MetadataReader metadata, GuidHandle h)

public int RID => MetadataTokens.GetRowNumber(handle);

public object Offset => offset == null ? "n/a" : offset;
public object Offset => offset == null ? null : offset;

[StringFormat("X8")]
public int Parent => MetadataTokens.GetToken(debugInfo.Parent);
Expand Down

0 comments on commit 6a34df5

Please sign in to comment.