Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public static string FullMetadataTokenString(this MDToken mdToken)
 {
     return(UintToHexString(mdToken.ToUInt32(), 8));
 }