122 references to VBResources
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticProviderTests.vb (2)
200Message=<%= VBResources.ERR_EndSubExpected %>/> 202Message=<%= VBResources.ERR_ExpectedEOS %>/>
Microsoft.CodeAnalysis.VisualBasic (73)
Binding\MemberSemanticModel.vb (6)
573Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 607Throw New ArgumentException(VBResources.AnonymousObjectCreationExpressionSyntaxNotWithinTree) 623Throw New ArgumentException(VBResources.FieldInitializerSyntaxNotWithinSyntaxTree) 658Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 679Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 696Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree)
Compilation\QuerySymbolInfo.vb (3)
78Throw New ArgumentException(VBResources.VariableSyntaxNotWithinSyntaxTree) 97Throw New ArgumentException(VBResources.AggregateSyntaxNotWithinSyntaxTree) 196Throw New ArgumentException(VBResources.FunctionSyntaxNotWithinSyntaxTree)
Compilation\SemanticModel.vb (13)
574Throw New ArgumentException(VBResources.PositionIsNotWithinSyntax) 583Throw New ArgumentException(VBResources.NodeIsNotWithinSyntaxTree) 593Throw New InvalidOperationException(VBResources.ChainingSpeculativeModelIsNotSupported) 597Throw New ArgumentException(VBResources.SpeculatedSyntaxNodeCannotBelongToCurrentCompilation) 2381Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 2443Throw New ArgumentException(VBResources.FieldInitializerSyntaxNotWithinSyntaxTree) 2459Throw New ArgumentException(VBResources.AnonymousObjectCreationExpressionSyntaxNotWithinTree) 2475Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2491Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2507Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2523Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinSyntaxTree) 3239Throw New ArgumentException(VBResources.NotAVbSymbol, NameOf(container)) 3393Throw New ArgumentException(VBResources.StatementOrExpressionIsNotAValidType)
Compilation\SpeculativeSemanticModelWithMemberModel.vb (1)
27Debug.Assert(Not parentSemanticModel.IsSpeculativeSemanticModel, VBResources.ChainingSpeculativeModelIsNotSupported)
Compilation\SyntaxTreeSemanticModel.vb (11)
882If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 901If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 920If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 939If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 962Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 1110Throw New ArgumentException(VBResources.TypeParameterNotWithinTree) 1159Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 1185Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 1311Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 1359Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinTree) 1712Throw New ArgumentException(argName & VBResources.NotWithinTree)
Compilation\VisualBasicCompilation.vb (20)
944Throw New ArgumentNullException(String.Format(VBResources.Trees0, i)) 948Throw New ArgumentException(String.Format(VBResources.TreesMustHaveRootNode, i)) 952Throw New ArgumentException(VBResources.CannotAddCompilerSpecialTree) 956Throw New ArgumentException(VBResources.SyntaxTreeAlreadyPresent, String.Format(VBResources.Trees0, i)) 966Throw New ArgumentException(VBResources.SubmissionCanHaveAtMostOneSyntaxTree, NameOf(trees)) 1014Throw New ArgumentException(VBResources.CannotRemoveCompilerSpecialTree) 1054Throw New ArgumentException(String.Format(VBResources.SyntaxTreeNotFoundToRemove, tree)) 1082Throw New ArgumentException(VBResources.TreeMustHaveARootNodeWithCompilationUnit, NameOf(newTree)) 1089Throw New ArgumentException(VBResources.CannotRemoveCompilerSpecialTree) 1093Throw New ArgumentException(VBResources.CannotAddCompilerSpecialTree) 1099Throw New ArgumentException(VBResources.SyntaxTreeAlreadyPresent, NameOf(newTree)) 2870Throw New NotSupportedException(VBResources.ThereAreNoPointerTypesInVB) 2880Throw New NotSupportedException(VBResources.ThereAreNoFunctionPointerTypesInVB) 2884Throw New NotSupportedException(VBResources.ThereAreNoNativeIntegerTypesInVB) 3054Throw New NotSupportedException(VBResources.ThereIsNoDynamicTypeInVB) 3077Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3092Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3111Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3123Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter))
Compilation\VisualBasicCompilationReference.vb (1)
129Return VBResources.CompilationVisualBasic + _compilation.AssemblyName
Errors\ErrorFactories.vb (1)
90s_resourceManager = New Resources.ResourceManager(GetType(VBResources).FullName, GetType(ERRID).GetTypeInfo().Assembly)
Microsoft.CodeAnalysis.VisualBasic.VBResources.vb (1)
14s_resourceManager = New Global.System.Resources.ResourceManager(GetType(VBResources))
SymbolDisplay\SymbolDisplay.vb (2)
97Throw New ArgumentException(VBResources.SemanticModelMustBeProvided) 99Throw New ArgumentOutOfRangeException(VBResources.PositionNotWithinTree)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (2)
64Return New UnsupportedMetadataTypeSymbol(VBResources.PositionOfTypeParameterTooLarge) 68Return New UnsupportedMetadataTypeSymbol(VBResources.AssociatedTypeDoesNotHaveTypeParameters)
Symbols\ReferenceManager.vb (1)
113Throw New NotSupportedException(String.Format(VBResources.CantReferenceCompilationFromTypes, compilationReference.GetType(), "Visual Basic"))
Symbols\SymbolExtensions.vb (1)
448Throw New ArgumentException(VBResources.NotAVbSymbol, paramName)
Symbols\TypeSubstitution.vb (2)
404Throw New ArgumentException(VBResources.NumberOfTypeParametersAndArgumentsMustMatch) 823Throw New ArgumentException(VBResources.NumberOfTypeParametersAndArgumentsMustMatch)
Symbols\TypeSymbolExtensions.vb (2)
960Throw New ArgumentException(VBResources.TypeArgumentCannotBeNothing, NameOf(typeArguments)) 965Throw New ArgumentException(VBResources.WrongNumberOfTypeArguments, NameOf(typeArguments))
Syntax\SyntaxFactory.vb (1)
1069Throw New ArgumentException(VBResources.SyntaxTreeIsNotASubmission)
VisualBasicExtensions.vb (5)
1391Throw New ArgumentException(String.Format(VBResources.IConversionExpressionIsNotVisualBasicConversion, 1409Throw New ArgumentException(String.Format(VBResources.IArgumentIsNotVisualBasicArgument, 1427Throw New ArgumentException(String.Format(VBResources.IArgumentIsNotVisualBasicArgument, 1449Throw New ArgumentException(String.Format(VBResources.ICompoundAssignmentOperationIsNotVisualBasicCompoundAssignment, 1471Throw New ArgumentException(String.Format(VBResources.ICompoundAssignmentOperationIsNotVisualBasicCompoundAssignment,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (38)
Diagnostics\Suppression\SuppressionTests.vb (38)
64#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 66#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 100#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 103#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 140#Disable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 143#Enable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 184#Disable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 187#Enable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 226#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 229#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 264#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 267#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 303#Disable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 307#Enable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 344#Disable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 348#Enable Warning BC42025 ' {VBResources.WRN_SharedMemberThroughInstance_Title} 385#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 389#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 434#Disable Warning BC40008 ' {VBResources.WRN_UseOfObsoleteSymbolNoMessage1_Title} 438#Enable Warning BC40008 ' {VBResources.WRN_UseOfObsoleteSymbolNoMessage1_Title} 480#Disable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 482#Enable Warning BC42024 ' {VBResources.WRN_UnusedLocal_Title} 526#Disable Warning BC40008 ' {VBResources.WRN_UseOfObsoleteSymbolNoMessage1_Title} 528#Enable Warning BC40008 ' {VBResources.WRN_UseOfObsoleteSymbolNoMessage1_Title} 569#Disable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 572#Enable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 586#Disable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 589#Enable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 601Dim expected = $"#Disable Warning BC42312 ' {VBResources.WRN_XMLDocWithoutLanguageElement_Title} 603#Enable Warning BC42312 ' {VBResources.WRN_XMLDocWithoutLanguageElement_Title}" 611Dim expected = $"#Disable Warning BC42312 ' {VBResources.WRN_XMLDocWithoutLanguageElement_Title} 613#Enable Warning BC42312 ' {VBResources.WRN_XMLDocWithoutLanguageElement_Title}" 628#Disable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 631#Enable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 645#Disable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 648#Enable Warning BC42309 ' {VBResources.WRN_XMLDocCrefAttributeNotFound1_Title} 660#Disable Warning BC42302 ' {VBResources.WRN_XMLDocNotFirstOnLine_Title} 662#Enable Warning BC42302 ' {VBResources.WRN_XMLDocNotFirstOnLine_Title}
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
7212Assert.Contains(VBResources.NotAVbSymbol, ex.Message)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (5)
MissingAssemblyTests.vb (1)
539Assert.Equal($"error BC30652: { String.Format(VBResources.ERR_UnreferencedAssembly3, missingIdentity, "MissingType")}", errorMessage)
ReferencedModulesTests.vb (4)
576Assert.Equal($"error BC30560: { String.Format(VBResources.ERR_AmbiguousInNamespace2, "C1", "N") }", errorMessage) 583Assert.Equal($"error BC30560: { String.Format(VBResources.ERR_AmbiguousInNamespace2, "C1", "N") }", errorMessage) 587Assert.Equal($"error BC30554: { String.Format(VBResources.ERR_AmbiguousInUnnamedNamespace1, "C2") }", errorMessage) 591Assert.True(errorMessage.StartsWith($"error BC30521: { String.Format(VBResources.ERR_NoMostSpecificOverload2, "F", "") }"))
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (2)
CommandLineRunnerTests.vb (2)
106(1) : error BC30002: " + String.Format(VBResources.ERR_UndefinedType1, "C1") + " 120(1) : error BC2017: " + String.Format(VBResources.ERR_LibNotFound, "://invalidfilepath") + "
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
479Dim message = String.Format("Add resource string named '{0}' for Title of '{1}' to '{2}'", missingResource, descriptor.Id, NameOf(VBResources))