71 references to VBResources
Microsoft.CodeAnalysis.VisualBasic (71)
artifacts\obj\Microsoft.CodeAnalysis.VisualBasic\Release\net10.0\Microsoft.CodeAnalysis.VisualBasic.VBResources.vb (1)
14
s_resourceManager = New Global.System.Resources.ResourceManager(GetType(
VBResources
))
Binding\MemberSemanticModel.vb (6)
572
Throw New ArgumentException(
VBResources
.IdentifierSyntaxNotWithinSyntaxTree)
606
Throw New ArgumentException(
VBResources
.AnonymousObjectCreationExpressionSyntaxNotWithinTree)
622
Throw New ArgumentException(
VBResources
.FieldInitializerSyntaxNotWithinSyntaxTree)
657
Throw New ArgumentException(
VBResources
.IdentifierSyntaxNotWithinSyntaxTree)
678
Throw New ArgumentException(
VBResources
.IdentifierSyntaxNotWithinSyntaxTree)
695
Throw New ArgumentException(
VBResources
.IdentifierSyntaxNotWithinSyntaxTree)
Compilation\QuerySymbolInfo.vb (3)
78
Throw New ArgumentException(
VBResources
.VariableSyntaxNotWithinSyntaxTree)
97
Throw New ArgumentException(
VBResources
.AggregateSyntaxNotWithinSyntaxTree)
196
Throw New ArgumentException(
VBResources
.FunctionSyntaxNotWithinSyntaxTree)
Compilation\SemanticModel.vb (13)
578
Throw New ArgumentException(
VBResources
.PositionIsNotWithinSyntax)
587
Throw New ArgumentException(
VBResources
.NodeIsNotWithinSyntaxTree)
597
Throw New InvalidOperationException(
VBResources
.ChainingSpeculativeModelIsNotSupported)
601
Throw New ArgumentException(
VBResources
.SpeculatedSyntaxNodeCannotBelongToCurrentCompilation)
2378
Throw New ArgumentException(
VBResources
.IdentifierSyntaxNotWithinSyntaxTree)
2440
Throw New ArgumentException(
VBResources
.FieldInitializerSyntaxNotWithinSyntaxTree)
2456
Throw New ArgumentException(
VBResources
.AnonymousObjectCreationExpressionSyntaxNotWithinTree)
2472
Throw New ArgumentException(
VBResources
.RangeVariableSyntaxNotWithinSyntaxTree)
2488
Throw New ArgumentException(
VBResources
.RangeVariableSyntaxNotWithinSyntaxTree)
2504
Throw New ArgumentException(
VBResources
.RangeVariableSyntaxNotWithinSyntaxTree)
2520
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinSyntaxTree)
3236
Throw New ArgumentException(
VBResources
.NotAVbSymbol, NameOf(container))
3390
Throw New ArgumentException(
VBResources
.StatementOrExpressionIsNotAValidType)
Compilation\SpeculativeSemanticModelWithMemberModel.vb (1)
27
Debug.Assert(Not parentSemanticModel.IsSpeculativeSemanticModel,
VBResources
.ChainingSpeculativeModelIsNotSupported)
Compilation\SyntaxTreeSemanticModel.vb (11)
882
If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
901
If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
920
If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
939
If Not IsInTree(declarationSyntax) Then Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
962
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
1110
Throw New ArgumentException(
VBResources
.TypeParameterNotWithinTree)
1159
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
1185
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
1311
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
1359
Throw New ArgumentException(
VBResources
.DeclarationSyntaxNotWithinTree)
1712
Throw New ArgumentException(argName &
VBResources
.NotWithinTree)
Compilation\VisualBasicCompilation.vb (18)
951
Throw New ArgumentException(String.Format(
VBResources
.TreesMustHaveRootNode, i))
955
Throw New ArgumentException(
VBResources
.CannotAddCompilerSpecialTree)
959
Throw New ArgumentException(
VBResources
.SyntaxTreeAlreadyPresent, $"trees({i})")
969
Throw New ArgumentException(
VBResources
.SubmissionCanHaveAtMostOneSyntaxTree, NameOf(trees))
1017
Throw New ArgumentException(
VBResources
.CannotRemoveCompilerSpecialTree)
1057
Throw New ArgumentException(String.Format(
VBResources
.SyntaxTreeNotFoundToRemove, tree))
1085
Throw New ArgumentException(
VBResources
.TreeMustHaveARootNodeWithCompilationUnit, NameOf(newTree))
1092
Throw New ArgumentException(
VBResources
.CannotRemoveCompilerSpecialTree)
1096
Throw New ArgumentException(
VBResources
.CannotAddCompilerSpecialTree)
1102
Throw New ArgumentException(
VBResources
.SyntaxTreeAlreadyPresent, NameOf(newTree))
2921
Throw New NotSupportedException(
VBResources
.ThereAreNoPointerTypesInVB)
2931
Throw New NotSupportedException(
VBResources
.ThereAreNoFunctionPointerTypesInVB)
2935
Throw New NotSupportedException(
VBResources
.ThereAreNoNativeIntegerTypesInVB)
3105
Throw New NotSupportedException(
VBResources
.ThereIsNoDynamicTypeInVB)
3128
Throw New ArgumentException(
VBResources
.NoNoneSearchCriteria, NameOf(filter))
3143
Throw New ArgumentException(
VBResources
.NoNoneSearchCriteria, NameOf(filter))
3162
Throw New ArgumentException(
VBResources
.NoNoneSearchCriteria, NameOf(filter))
3174
Throw New ArgumentException(
VBResources
.NoNoneSearchCriteria, NameOf(filter))
Compilation\VisualBasicCompilationReference.vb (1)
129
Return
VBResources
.CompilationVisualBasic + _compilation.AssemblyName
Errors\ErrorFactories.vb (1)
90
s_resourceManager = New Resources.ResourceManager(GetType(
VBResources
).FullName, GetType(ERRID).GetTypeInfo().Assembly)
SymbolDisplay\SymbolDisplay.vb (2)
127
Throw New ArgumentException(
VBResources
.SemanticModelMustBeProvided)
129
Throw New ArgumentOutOfRangeException(
VBResources
.PositionNotWithinTree)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (2)
64
Return New UnsupportedMetadataTypeSymbol(
VBResources
.PositionOfTypeParameterTooLarge)
68
Return New UnsupportedMetadataTypeSymbol(
VBResources
.AssociatedTypeDoesNotHaveTypeParameters)
Symbols\ReferenceManager.vb (1)
113
Throw New NotSupportedException(String.Format(
VBResources
.CantReferenceCompilationFromTypes, compilationReference.GetType(), "Visual Basic"))
Symbols\SymbolExtensions.vb (1)
448
Throw New ArgumentException(
VBResources
.NotAVbSymbol, paramName)
Symbols\TypeSubstitution.vb (2)
404
Throw New ArgumentException(
VBResources
.NumberOfTypeParametersAndArgumentsMustMatch)
823
Throw New ArgumentException(
VBResources
.NumberOfTypeParametersAndArgumentsMustMatch)
Symbols\TypeSymbolExtensions.vb (2)
960
Throw New ArgumentException(
VBResources
.TypeArgumentCannotBeNothing, NameOf(typeArguments))
965
Throw New ArgumentException(
VBResources
.WrongNumberOfTypeArguments, NameOf(typeArguments))
Syntax\SyntaxFactory.vb (1)
1069
Throw New ArgumentException(
VBResources
.SyntaxTreeIsNotASubmission)
VisualBasicExtensions.vb (5)
1391
Throw New ArgumentException(String.Format(
VBResources
.IConversionExpressionIsNotVisualBasicConversion,
1409
Throw New ArgumentException(String.Format(
VBResources
.IArgumentIsNotVisualBasicArgument,
1427
Throw New ArgumentException(String.Format(
VBResources
.IArgumentIsNotVisualBasicArgument,
1449
Throw New ArgumentException(String.Format(
VBResources
.ICompoundAssignmentOperationIsNotVisualBasicCompoundAssignment,
1471
Throw New ArgumentException(String.Format(
VBResources
.ICompoundAssignmentOperationIsNotVisualBasicCompoundAssignment,