71 references to VBResources
Microsoft.CodeAnalysis.VisualBasic (71)
artifacts\obj\Microsoft.CodeAnalysis.VisualBasic\Release\net10.0\Microsoft.CodeAnalysis.VisualBasic.VBResources.vb (1)
14s_resourceManager = New Global.System.Resources.ResourceManager(GetType(VBResources))
Binding\MemberSemanticModel.vb (6)
572Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 606Throw New ArgumentException(VBResources.AnonymousObjectCreationExpressionSyntaxNotWithinTree) 622Throw New ArgumentException(VBResources.FieldInitializerSyntaxNotWithinSyntaxTree) 657Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 678Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 695Throw 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)
578Throw New ArgumentException(VBResources.PositionIsNotWithinSyntax) 587Throw New ArgumentException(VBResources.NodeIsNotWithinSyntaxTree) 597Throw New InvalidOperationException(VBResources.ChainingSpeculativeModelIsNotSupported) 601Throw New ArgumentException(VBResources.SpeculatedSyntaxNodeCannotBelongToCurrentCompilation) 2378Throw New ArgumentException(VBResources.IdentifierSyntaxNotWithinSyntaxTree) 2440Throw New ArgumentException(VBResources.FieldInitializerSyntaxNotWithinSyntaxTree) 2456Throw New ArgumentException(VBResources.AnonymousObjectCreationExpressionSyntaxNotWithinTree) 2472Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2488Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2504Throw New ArgumentException(VBResources.RangeVariableSyntaxNotWithinSyntaxTree) 2520Throw New ArgumentException(VBResources.DeclarationSyntaxNotWithinSyntaxTree) 3236Throw New ArgumentException(VBResources.NotAVbSymbol, NameOf(container)) 3390Throw 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 (18)
951Throw New ArgumentException(String.Format(VBResources.TreesMustHaveRootNode, i)) 955Throw New ArgumentException(VBResources.CannotAddCompilerSpecialTree) 959Throw New ArgumentException(VBResources.SyntaxTreeAlreadyPresent, $"trees({i})") 969Throw New ArgumentException(VBResources.SubmissionCanHaveAtMostOneSyntaxTree, NameOf(trees)) 1017Throw New ArgumentException(VBResources.CannotRemoveCompilerSpecialTree) 1057Throw New ArgumentException(String.Format(VBResources.SyntaxTreeNotFoundToRemove, tree)) 1085Throw New ArgumentException(VBResources.TreeMustHaveARootNodeWithCompilationUnit, NameOf(newTree)) 1092Throw New ArgumentException(VBResources.CannotRemoveCompilerSpecialTree) 1096Throw New ArgumentException(VBResources.CannotAddCompilerSpecialTree) 1102Throw New ArgumentException(VBResources.SyntaxTreeAlreadyPresent, NameOf(newTree)) 2921Throw New NotSupportedException(VBResources.ThereAreNoPointerTypesInVB) 2931Throw New NotSupportedException(VBResources.ThereAreNoFunctionPointerTypesInVB) 2935Throw New NotSupportedException(VBResources.ThereAreNoNativeIntegerTypesInVB) 3105Throw New NotSupportedException(VBResources.ThereIsNoDynamicTypeInVB) 3128Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3143Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3162Throw New ArgumentException(VBResources.NoNoneSearchCriteria, NameOf(filter)) 3174Throw 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)
SymbolDisplay\SymbolDisplay.vb (2)
127Throw New ArgumentException(VBResources.SemanticModelMustBeProvided) 129Throw 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,