26 references to SimpleNameComparer
Microsoft.CodeAnalysis (15)
Desktop\DesktopAssemblyIdentityComparer.cs (6)
87
SimpleNameComparer
.Equals(reference.Name, definition.Name) &&
88
SimpleNameComparer
.Equals(reference.Name, "mscorlib"))
262
if (
SimpleNameComparer
.Equals(identity.Name, "System") ||
263
SimpleNameComparer
.Equals(identity.Name, "System.Core"))
274
if (
SimpleNameComparer
.Equals(identity.Name, "Microsoft.VisualBasic"))
280
if (
SimpleNameComparer
.Equals(identity.Name, "System.ComponentModel.Composition"))
Desktop\DesktopAssemblyIdentityComparer.Fx.cs (3)
23
: base(
SimpleNameComparer
)
67
return
SimpleNameComparer
.Equals(this.Name, other.Name)
78
return
SimpleNameComparer
.GetHashCode(Name) ^ PublicKeyToken[0];
MetadataReference\AssemblyIdentity.cs (2)
416
Hash.Combine(AssemblyIdentityComparer.
SimpleNameComparer
.GetHashCode(_name),
462
if (!AssemblyIdentityComparer.
SimpleNameComparer
.Equals(x._name, y._name))
MetadataReference\AssemblyIdentityComparer.cs (2)
138
if (!
SimpleNameComparer
.Equals(reference.Name, definition.Name))
156
if (!
SimpleNameComparer
.Equals(reference.Name, definition.Name))
MetadataReference\AssemblyIdentityMap.cs (1)
24
_map = new Dictionary<string, OneOrMany<KeyValuePair<AssemblyIdentity, TValue>>>(AssemblyIdentityComparer.
SimpleNameComparer
);
ReferenceManager\CommonReferenceManager.Binding.cs (1)
19
new ObjectPool<MultiDictionary<string, (AssemblyData DefinitionData, int DefinitionIndex)>>(() => new MultiDictionary<string, (AssemblyData DefinitionData, int DefinitionIndex)>(AssemblyIdentityComparer.
SimpleNameComparer
));
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.AssemblyComparers.cs (2)
16
=> AssemblyIdentityComparer.
SimpleNameComparer
.Equals(x?.Name, y?.Name);
19
=> obj is null ? 0 : AssemblyIdentityComparer.
SimpleNameComparer
.GetHashCode(obj.Name);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
399
!AssemblyIdentityComparer.
SimpleNameComparer
.Equals(x.ContainingAssembly.Name, y.ContainingAssembly.Name) &&
Microsoft.CodeAnalysis.CSharp (2)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
241
return AssemblyIdentityComparer.
SimpleNameComparer
.Equals(leftIdentity.Name, rightIdentity.Name) &&
Symbols\ReferenceManager.cs (1)
121
Debug.Assert(AssemblyIdentityComparer.
SimpleNameComparer
.Equals(identity1.Name, identity2.Name));
Microsoft.CodeAnalysis.Scripting (2)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (2)
91
_loadedAssembliesBySimpleName = new Dictionary<string, List<LoadedAssemblyInfo>>(AssemblyIdentityComparer.
SimpleNameComparer
);
278
AssemblyIdentityComparer.
SimpleNameComparer
.Equals(info.Identity.Name, identity.Name) &&
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (1)
210
Return AssemblyIdentityComparer.
SimpleNameComparer
.Equals(leftIdentity.Name, rightIdentity.Name) AndAlso
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.AssemblyComparers.cs (2)
16
=> AssemblyIdentityComparer.
SimpleNameComparer
.Equals(x?.Name, y?.Name);
19
=> obj is null ? 0 : AssemblyIdentityComparer.
SimpleNameComparer
.GetHashCode(obj.Name);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
399
!AssemblyIdentityComparer.
SimpleNameComparer
.Equals(x.ContainingAssembly.Name, y.ContainingAssembly.Name) &&