public static void WriteSuffixString(this MDToken token, ITextOutput output) { if (!DisplaySettingsPanel.CurrentDisplaySettings.ShowMetadataTokens) { return; } output.WriteSpace(); output.Write('@', TextTokenType.Operator); output.Write(string.Format("{0:X8}", token.ToUInt32()), TextTokenType.Number); }
public static string FullMetadataTokenString(this MDToken mdToken) { return(UintToHexString(mdToken.ToUInt32(), 8)); }