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