134 references to GetResource
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (134)
EditAndContinue\ActiveStatementTests.vb (9)
2069Diagnostic(RudeEditKind.ModifiersUpdate, "Private Const a As Integer = 1", GetResource("field"))) 2114Diagnostic(RudeEditKind.ModifiersUpdate, "Private Const a As Integer = 1, b As Integer = 2", GetResource("field")), 2115Diagnostic(RudeEditKind.ModifiersUpdate, "Private Const a As Integer = 1, b As Integer = 2", GetResource("field"))) 4624Diagnostic(RudeEditKind.ComplexQueryExpression, "Join y In ys On F() Equals G()", GetResource("Lambda"))) 4776Diagnostic(RudeEditKind.ActiveStatementLambdaRemoved, "Function(b)", GetResource("Lambda"))) 4804Diagnostic(RudeEditKind.ActiveStatementLambdaRemoved, "Function(b)", GetResource("Lambda"))) 4952Diagnostic(RudeEditKind.ComplexQueryExpression, "Sub Main()", GetResource("method")), 5726Diagnostic(RudeEditKind.ChangingFromAsynchronousToSynchronous, "Function()", GetResource("Lambda"))) 5764Diagnostic(RudeEditKind.ModifiersUpdate, "Function()", GetResource("Lambda")))
EditAndContinue\LineEditTests.vb (2)
493diagnostics:={Diagnostic(RudeEditKind.UpdateStaticLocal, "Static a = 0", GetResource("method"))}) 1038Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, " ", GetResource("field"))
EditAndContinue\StatementEditingTests.vb (18)
1368RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1410RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1453RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaReturnType, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1500RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1547RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaReturnType, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1630RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaReturnType, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1753RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1893RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 1950RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 2033RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 3943RuntimeRudeEdit(0, RudeEditKind.ChangingLambdaParameters, syntaxMap.NodePosition(0), {GetResource("lambda")}) 3979RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.NodePosition(0), {GetResource("select clause")}) 4013RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.NodePosition(0), {GetResource("select clause")}) 4047RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.NodePosition(0), {GetResource("select clause")}) 4081RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.Position(0), {GetResource("from clause")}) 4264RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.Position(0), {GetResource("let clause")}) 4300RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.NodePosition(0), {GetResource("orderby clause")}) 4336RuntimeRudeEdit(0, RudeEditKind.ChangingQueryLambdaType, syntaxMap.NodePosition(0), {GetResource("orderby clause")})
EditAndContinue\TopLevelEditingTests.vb (105)
551Diagnostic(RudeEditKind.ChangingAccessibility, keyword + " S", GetResource(keyword))) 636{Diagnostic(RudeEditKind.ChangingAttributesNotSupportedByRuntime, keyword & " C", GetResource(keyword))}, 856diagnostics:={Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Module C", GetResource("module"))}, 871diagnostics:={Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Partial Module C", GetResource("module"))}, 1326Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Property P1(i As Integer)", GetResource("property")), 1335Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Property P1(i As Integer)", GetResource("property")) 1777Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Sub F()", GetResource("method")), 1778Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Sub F()", GetResource("method")), 1779Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Sub F()", GetResource("method")) 1978Diagnostic(RudeEditKind.ChangingNamespace, keyword + " C", GetResource(keyword), "N", "M")) 1992Diagnostic(RudeEditKind.ChangingNamespace, "Delegate Sub F()", GetResource("Delegate"), "N", "M")) 2006Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N", "M.O")) 2455Diagnostic(RudeEditKind.TypeUpdate, "a As Integer", GetResource("delegate"))) 2480Diagnostic(RudeEditKind.TypeUpdate, "Public Delegate Function D()", GetResource("delegate"))) 2493{Diagnostic(RudeEditKind.RenamingNotSupportedByRuntime, "b", GetResource("parameter"))}, 2516Diagnostic(RudeEditKind.TypeUpdate, "a As Byte", GetResource("delegate"))) 2655Diagnostic(RudeEditKind.Move, "Class C", GetResource("Class"))) 2668Diagnostic(RudeEditKind.Move, "Class D", GetResource("Class"))) 2683Diagnostic(RudeEditKind.Move, "Class D", GetResource("Class"))) 2697Diagnostic(RudeEditKind.Move, "Class D", GetResource("Class"))) 2743Diagnostic(RudeEditKind.Move, "Class C", GetResource("Class"))) 3518{Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Class C", GetResource("Class"))}, 3533{Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Class C", GetResource("Class"))}, 3554{Diagnostic(RudeEditKind.ChangingNamespace, keyword & " X", GetResource(keyword), "Global", "N")}, 3565{Diagnostic(RudeEditKind.ChangingNamespace, "Delegate Sub X()", GetResource("Delegate"), "Global", "N")}, 3577Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "Global", "N"), 3578Diagnostic(RudeEditKind.ChangingNamespace, "Class D", GetResource("Class"), "Global", "N") 3590{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "Global", "N")}, 3601{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N", "N.M")}, 3612{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "Global", "N.M")}, 3623{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "Global", "N.M")}, 3640{Diagnostic(RudeEditKind.ChangingNamespace, keyword + " X", GetResource(keyword), "N", "Global")}, 3652{Diagnostic(RudeEditKind.ChangingNamespace, "Delegate Sub X()", GetResource("Delegate"), "N", "Global")}, 3664Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N", "Global"), 3665Diagnostic(RudeEditKind.ChangingNamespace, "Class D", GetResource("Class"), "N", "Global") 3677{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N.M", "Global")}, 3694{Diagnostic(RudeEditKind.ChangingNamespace, keyword + " X", GetResource(keyword), "N", "M")}, 3706{Diagnostic(RudeEditKind.ChangingNamespace, "Delegate Sub X()", GetResource("Delegate"), "N", "M")}, 3718Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N", "M"), 3719Diagnostic(RudeEditKind.ChangingNamespace, "Class D", GetResource("Class"), "N", "M") 3731{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N.M", "N.M.O")}, 3742{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N.M", "N")}, 3753{Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N.M1.O", "N.M2.O")}, 3793Diagnostic(RudeEditKind.ChangingNamespace, "Partial Class C", GetResource("Class"), "N", "M") 3797Diagnostic(RudeEditKind.ChangingNamespace, "Partial Class C", GetResource("Class"), "N", "M") 3811Diagnostic(RudeEditKind.ChangingNamespace, "Partial Class C", GetResource("Class"), "M", "X"), 3812Diagnostic(RudeEditKind.Delete, "Partial Class C", DeletedSymbolDisplay(GetResource("Class"), "C"))) 3823Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N2", "M2"), 3824Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N1", "M1")) 3859Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N.M", "M"), 3860Diagnostic(RudeEditKind.ChangingNamespace, "Class C(Of T)", GetResource("Class"), "N.M", "M")) 3875Diagnostic(RudeEditKind.ChangingNamespace, "Class C", GetResource("Class"), "N1.M", "N2.M")) 4169Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Sub F(Of T)()", GetResource("method")) 4199Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Sub F(Of T)()", GetResource("method")) 4878Diagnostic(RudeEditKind.TypeUpdate, "a As Boolean", GetResource("method"))) 5167Diagnostic(RudeEditKind.InsertOrMoveComInterfaceMember, "Sub H()", GetResource("method"))) 5191Diagnostic(RudeEditKind.InsertVirtual, "Sub F()", GetResource("method")), 5192Diagnostic(RudeEditKind.InsertOrMoveComInterfaceMember, "Sub F()", GetResource("method"))) 5267Diagnostic(RudeEditKind.RenamingNotSupportedByRuntime, "Shared Sub G()", GetResource("method")) 5914Diagnostic(RudeEditKind.UpdateStaticLocal, "Static a = 0", GetResource("method"))) 5924Diagnostic(RudeEditKind.UpdateStaticLocal, "Static a = 0", GetResource("method"))) 5934Diagnostic(RudeEditKind.UpdateStaticLocal, "Sub F()", GetResource("method"))) 6299Diagnostic(RudeEditKind.ModifiersUpdate, "Public Sub New()", GetResource("shared constructor"))) 6337Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Public Sub New(a As Integer)", GetResource("constructor")) 7568GetResource(If(oldModifiers.Contains("Const"), "const field", "field")))) 7802Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "Dim WithEvents WE As Object", GetResource("WithEvents field"), GetResource("class"))) 7824Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "WE2", GetResource("WithEvents field"), GetResource("class"))) 8057Diagnostic(RudeEditKind.ModifiersUpdate, "WithEvents a As WE", GetResource("field"))) 8070Diagnostic(RudeEditKind.ModifiersUpdate, "Dim a As WE", GetResource("WithEvents field"))) 8141Diagnostic(RudeEditKind.InsertOrMoveStructMember, "Private Event d", GetResource("event"), GetResource("structure")), 8142Diagnostic(RudeEditKind.InsertOrMoveStructMember, "b As Integer", GetResource("field"), GetResource("structure"))) 8207Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "b As Integer", GetResource("field"), GetResource("class")), 8208Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "c As Integer", GetResource("field"), GetResource("class")), 8209Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "d As Integer", GetResource("field"), GetResource("class"))) 8237Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "b As Integer", GetResource("field"), GetResource("class")), 8238Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "c As Integer", GetResource("field"), GetResource("class")), 8239Diagnostic(RudeEditKind.InsertOrMoveTypeWithLayoutMember, "d As Integer", GetResource("field"), GetResource("class"))) 8392{Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Function(c)", GetResource("Lambda")), 8393Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "B", GetResource("field"))}, 8707Diagnostic(rudeEditKind, "Property R", GetResource("auto-property"), GetResource(keyword))) 9005Diagnostic(rudeEditKind, "Private Property b", GetResource("auto-property"), GetResource(type))) 9041{Diagnostic(rudeEditKind, "Private Shared Property c", GetResource("auto-property"), GetResource(type))}, 9809{Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "a As Integer = 2", GetResource("field"))}, 9826Diagnostic(RudeEditKind.UpdatingGenericNotSupportedByRuntime, "Property a", GetResource("auto-property")) 10290Diagnostic(RudeEditKind.ModifiersUpdate, "Dim x As Integer = 0", GetResource("const field"))) 10300Diagnostic(RudeEditKind.ModifiersUpdate, "Const x = 0", GetResource("field"))) 11795{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "Public Sub M()", GetResource("method"))}, 11819{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "Public Sub M(b As Integer)", GetResource("method"))}, 12155{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "A", GetResource("method"))}, 12178{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "B", GetResource("method"))}, 12201{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "Public Sub M ()", GetResource("method"))}, 12224{Diagnostic(RudeEditKind.ChangingSignatureNotSupportedByRuntime, "Public Sub M(Of B )()", GetResource("method"))},