Exemplo n.º 1
0
 internal static void CheckEncLogDefinitions(
     MetadataReader reader,
     params EditAndContinueLogEntry[] rows
     )
 {
     AssertEx.Equal(
         rows,
         reader.GetEditAndContinueLogEntries().Where(IsDefinition),
         itemInspector: EncLogRowToString
         );
 }
Exemplo n.º 2
0
        private void WriteEnCLog()
        {
            AddHeader(
                "Entity",
                "Operation");

            foreach (var entry in reader.GetEditAndContinueLogEntries())
            {
                AddRow(
                    Token(entry.Handle),
                    EnumValue <int>(entry.Operation));
            }

            WriteRows("EnC Log (0x1e):");
        }
Exemplo n.º 3
0
 internal void VerifyEncLog(IEnumerable <EditAndContinueLogEntry> expected)
 {
     AssertEx.Equal(expected, _metadataReader.GetEditAndContinueLogEntries(), itemInspector: EncLogRowToString, message: GetAssertMessage("EncLog doesn't match"));
 }