1 write to _metadataReader
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTest.GenerationVerifier.cs (1)
27_metadataReader = generationInfo.MetadataReader;
11 references to _metadataReader
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
Emit\EditAndContinue\EditAndContinueTest.GenerationVerifier.cs (11)
40var actual = _readers.GetStrings(_metadataReader.GetTypeDefNames()); 46var actual = _readers.GetStrings(_metadataReader.GetMethodDefNames()); 52var actual = _readers.GetStrings(_metadataReader.GetMemberRefNames()); 58var actual = _readers.GetStrings(_metadataReader.GetFieldDefNames()); 64var actual = _readers.GetStrings(_metadataReader.GetPropertyDefNames()); 76AssertEx.AreEqual(expected, _metadataReader.GetTableRowCount(table), message: GetAssertMessage($"{table} table size doesnt't match")); 81AssertEx.Equal(expected, _metadataReader.GetEditAndContinueLogEntries(), itemInspector: EncLogRowToString, message: GetAssertMessage("EncLog doesn't match")); 86AssertEx.Equal(expected, _metadataReader.GetEditAndContinueMapEntries(), itemInspector: EncMapRowToString, message: GetAssertMessage("EncMap doesn't match")); 91AssertEx.Equal(expected, _metadataReader.GetEditAndContinueLogEntries().Where(e => IsDefinition(e.Handle.Kind)), itemInspector: EncLogRowToString, message: GetAssertMessage("EncLog definitions don't match")); 96AssertEx.Equal(expected, _metadataReader.GetEditAndContinueMapEntries().Where(e => IsDefinition(e.Kind)), itemInspector: EncMapRowToString, message: GetAssertMessage("EncMap definitions don't match")); 101AssertEx.Equal(expected, _metadataReader.GetCustomAttributeRows(), itemInspector: AttributeRowToString);