35 references to GetResource
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (35)
EditAndContinue\ActiveStatementTests.vb (14)
348Diagnostic(RudeEditKind.DeleteActiveStatement, "Class C", GetResource("method", "C.Goo(Integer)"))) 781Diagnostic(RudeEditKind.Delete, "", GetResource("Module", "Module1")), 782Diagnostic(RudeEditKind.DeleteActiveStatement, "", GetResource("method", "Module1.Main()"))) 1743Diagnostic(RudeEditKind.Delete, "a As New D(2)", GetResource("field", "b")), 1744Diagnostic(RudeEditKind.Delete, "e As New D(2)", GetResource("field", "f"))) 1778Diagnostic(RudeEditKind.DeleteActiveStatement, "Partial Class C", GetResource("field", "a")) 2253Diagnostic(RudeEditKind.DeleteActiveStatement, "Class C", GetResource("field", "C.a")), 2254Diagnostic(RudeEditKind.Delete, "Class C", GetResource("field", "a"))) 2307Diagnostic(RudeEditKind.DeleteActiveStatement, "Class C", GetResource("field", "C.b")), 2308Diagnostic(RudeEditKind.Delete, "a, c As New D()", GetResource("field", "b"))) 2335Diagnostic(RudeEditKind.DeleteActiveStatement, "Class C", GetResource("field", "C.c")), 2336Diagnostic(RudeEditKind.Delete, "a, b As New D()", GetResource("field", "c"))) 2390Diagnostic(RudeEditKind.DeleteActiveStatement, "Class C", GetResource("field", "C.c")), 2391Diagnostic(RudeEditKind.Delete, "a,b As Integer", GetResource("field", "c")))
EditAndContinue\TopLevelEditingTests.vb (21)
730Diagnostic(RudeEditKind.Renamed, keyword & " c", GetResource(keyword, "C"))) 744Diagnostic(RudeEditKind.Renamed, "Class D", GetResource("Class", "C"))) 762Diagnostic(RudeEditKind.Renamed, "Class D", GetResource("Class", "C"))) 780Diagnostic(RudeEditKind.Renamed, "Class D", GetResource("Class", "C"))) 801Diagnostic(RudeEditKind.Renamed, "Class D", GetResource("Class", "C"))) 895Diagnostic(RudeEditKind.Renamed, "Interface D", GetResource("interface", "C"))) 904edits.VerifySemanticDiagnostics(Diagnostic(RudeEditKind.Renamed, "Structure D", GetResource("structure", "C"))) 917Diagnostic(RudeEditKind.Renamed, "Class LongerMame", GetResource("class", "LongerName"))) 2077Diagnostic(RudeEditKind.Renamed, "Enum Colors", GetResource("enum", "Color"))) 2319Diagnostic(RudeEditKind.Renamed, "Orange", GetResource("enum value", "Red"))) 2376Diagnostic(RudeEditKind.Renamed, "Public Delegate Sub Z()", GetResource("delegate", "D"))) 2586Diagnostic(RudeEditKind.Renamed, "S", GetResource("type parameter", "T"))) 5338Diagnostic(RudeEditKind.Renamed, "Sub Bar", GetResource("method", "Goo()"))) 7581Diagnostic(RudeEditKind.Renamed, "b", GetResource("field", "a"))) 8043{Diagnostic(RudeEditKind.Delete, "Class C", GetResource("event", "a"))}, 11412{Diagnostic(RudeEditKind.Delete, "Class C", GetResource("event", "E(a As Integer)"))}, 11430{Diagnostic(RudeEditKind.Delete, "Class C", GetResource("event", "E()"))}, 12238Diagnostic(RudeEditKind.Renamed, "B", GetResource("type parameter", "A"))) 12266Diagnostic(RudeEditKind.Renamed, "C", GetResource("type parameter", "A"))) 12344Diagnostic(RudeEditKind.Renamed, "B", GetResource("type parameter", "A"))) 12372Diagnostic(RudeEditKind.Renamed, "C", GetResource("type parameter", "A")))