47 references to Equals
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Expressions.vb (3)
2434If CaseInsensitiveComparison.Equals(name, "Null") OrElse CaseInsensitiveComparison.Equals(name, "Empty") OrElse CaseInsensitiveComparison.Equals(name, "RND") Then
Lowering\StateMachineRewriter\SynthesizedContainer.vb (1)
224Return If(CaseInsensitiveComparison.Equals(name, WellKnownMemberNames.InstanceConstructorName),
SymbolDisplay\SymbolDisplayVisitor.Members.vb (2)
409If CaseInsensitiveComparison.Equals(symbol.Name, WellKnownMemberNames.ImplicitConversionName) Then 411ElseIf CaseInsensitiveComparison.Equals(symbol.Name, WellKnownMemberNames.ExplicitConversionName) Then
SymbolDisplay\SymbolDisplayVisitor.vb (2)
99If CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.REMKeyword), text) OrElse 100CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.NewKeyword), text) Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1918If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then 1939If Not CaseInsensitiveComparison.Equals(declParameter.Name, implParameter.Name) Then 2335If Not CaseInsensitiveComparison.Equals(defaultPropertyName, baseDefaultPropertyName) Then 3068If Not CaseInsensitiveComparison.Equals(firstAssociatedSymbol.Name,
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
554If CaseInsensitiveComparison.Equals(method.Name, getEnumeratorName) AndAlso 588If CaseInsensitiveComparison.Equals(prop.Name, getEnumeratorName) AndAlso
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\VisualBasicInferredMemberNameSimplifier.vb (4)
26Not CaseInsensitiveComparison.Equals(inferredName, node.NameColonEquals.Name.Identifier.ValueText) Then 45Not CaseInsensitiveComparison.Equals(inferredName, node.Name.Identifier.ValueText) Then 61If argument.NameColonEquals Is Nothing AndAlso CaseInsensitiveComparison.Equals(argument.Expression.TryGetInferredMemberName(), name) Then 79If inferredInitializer IsNot Nothing AndAlso CaseInsensitiveComparison.Equals(inferredInitializer.Expression.TryGetInferredMemberName(), name) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (2)
298If CaseInsensitiveComparison.Equals(identifierValue, "Assembly") OrElse 299CaseInsensitiveComparison.Equals(identifierValue, "Module") Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
984If CaseInsensitiveComparison.Equals(parameterName, identifier.Identifier.ValueText) AndAlso
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.ReferenceRewriter.vb (1)
39If Not CaseInsensitiveComparison.Equals(node.Identifier.ValueText, _definition.Identifier.ValueText) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (24)
Classification\SyntaxClassification\IdentifierNameSyntaxClassifier.vb (1)
30If CaseInsensitiveComparison.Equals(identifier.ValueText, s_awaitText) Then
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (3)
65If Not CaseInsensitiveComparison.Equals(valueText, idText) Then 82If Not CaseInsensitiveComparison.Equals(valueText, idText) Then 107If Not CaseInsensitiveComparison.Equals(valueText, idText) Then
Rename\VisualBasicRenameRewriterLanguageService.vb (13)
439Dim isOldText = CaseInsensitiveComparison.Equals(oldToken.ValueText, _originalText) 442CaseInsensitiveComparison.Equals(oldToken.ValueText, _replacementText) OrElse 643ElseIf newToken.Kind = SyntaxKind.XmlNameToken AndAlso CaseInsensitiveComparison.Equals(oldToken.ValueText, _originalText) Then 741CaseInsensitiveComparison.Equals(renamedSymbol.ContainingSymbol.Name, renamedSymbol.Name) Then 813CaseInsensitiveComparison.Equals(renameSymbol.Name, "Current") 816(CaseInsensitiveComparison.Equals(renameSymbol.Name, "MoveNext") OrElse 817CaseInsensitiveComparison.Equals(renameSymbol.Name, "GetEnumerator"))) 822If Not CaseInsensitiveComparison.Equals(renamedSymbol.Name, renameSymbol.Name) Then 915If CaseInsensitiveComparison.Equals(renamedSymbol.Name, "MoveNext") OrElse 916CaseInsensitiveComparison.Equals(renamedSymbol.Name, "GetEnumerator") OrElse 917CaseInsensitiveComparison.Equals(renamedSymbol.Name, "Current") Then 986If replacementText.Length > AttributeSuffixLength AndAlso CaseInsensitiveComparison.Equals(halfWidthReplacementText.Substring(halfWidthReplacementText.Length - AttributeSuffixLength), AttributeSuffix) Then 1013If Not CaseInsensitiveComparison.Equals(valueText, replacementText) Then
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\VisualBasicInferredMemberNameSimplifier.vb (4)
26Not CaseInsensitiveComparison.Equals(inferredName, node.NameColonEquals.Name.Identifier.ValueText) Then 45Not CaseInsensitiveComparison.Equals(inferredName, node.Name.Identifier.ValueText) Then 61If argument.NameColonEquals Is Nothing AndAlso CaseInsensitiveComparison.Equals(argument.Expression.TryGetInferredMemberName(), name) Then 79If inferredInitializer IsNot Nothing AndAlso CaseInsensitiveComparison.Equals(inferredInitializer.Expression.TryGetInferredMemberName(), name) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (2)
298If CaseInsensitiveComparison.Equals(identifierValue, "Assembly") OrElse 299CaseInsensitiveComparison.Equals(identifierValue, "Module") Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
984If CaseInsensitiveComparison.Equals(parameterName, identifier.Identifier.ValueText) AndAlso
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
4040If CaseInsensitiveComparison.Equals(eventName.Substring(0, parentName.Length), parentName) Then