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)
40
var actual = _readers.GetStrings(
_metadataReader
.GetTypeDefNames());
46
var actual = _readers.GetStrings(
_metadataReader
.GetMethodDefNames());
52
var actual = _readers.GetStrings(
_metadataReader
.GetMemberRefNames());
58
var actual = _readers.GetStrings(
_metadataReader
.GetFieldDefNames());
64
var actual = _readers.GetStrings(
_metadataReader
.GetPropertyDefNames());
76
AssertEx.AreEqual(expected,
_metadataReader
.GetTableRowCount(table), message: GetAssertMessage($"{table} table size doesnt't match"));
81
AssertEx.Equal(expected,
_metadataReader
.GetEditAndContinueLogEntries(), itemInspector: EncLogRowToString, message: GetAssertMessage("EncLog doesn't match"));
86
AssertEx.Equal(expected,
_metadataReader
.GetEditAndContinueMapEntries(), itemInspector: EncMapRowToString, message: GetAssertMessage("EncMap doesn't match"));
91
AssertEx.Equal(expected,
_metadataReader
.GetEditAndContinueLogEntries().Where(e => IsDefinition(e.Handle.Kind)), itemInspector: EncLogRowToString, message: GetAssertMessage("EncLog definitions don't match"));
96
AssertEx.Equal(expected,
_metadataReader
.GetEditAndContinueMapEntries().Where(e => IsDefinition(e.Kind)), itemInspector: EncMapRowToString, message: GetAssertMessage("EncMap definitions don't match"));
101
AssertEx.Equal(expected,
_metadataReader
.GetCustomAttributeRows(), itemInspector: AttributeRowToString);