PdbCustomDebugInfo ReadTupleElementNames()
        {
            var tupleListRec = new PortablePdbTupleElementNamesCustomDebugInfo();

            while (reader.Position < reader.Length)
            {
                var name = ReadUTF8Z(reader.Length);
                tupleListRec.Names.Add(name);
            }
            return(tupleListRec);
        }
Beispiel #2
0
 void WriteTupleElementNames(PortablePdbTupleElementNamesCustomDebugInfo cdi)
 {
     foreach (var name in cdi.Names)
     {
         if (name == null)
         {
             helper.Error("Tuple name is null");
             return;
         }
         WriteUTF8Z(name);
     }
 }
        void WriteTupleElementNames(PortablePdbTupleElementNamesCustomDebugInfo cdi)
        {
            var cdiNames = cdi.Names;
            int count    = cdiNames.Count;

            for (int i = 0; i < count; i++)
            {
                var name = cdiNames[i];
                if (name == null)
                {
                    helper.Error("Tuple name is null");
                    return;
                }
                WriteUTF8Z(name);
            }
        }