Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit aff0975

Browse files
committed
Use StringComparison.InvariantCultureIgnoreCase
Fix CA error.
1 parent 4eb1ff8 commit aff0975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.VisualStudio/BindingPathUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static bool IsAssemblyLoaded(string assemblyLocation)
3939
{
4040
var prefix = Path.GetFileNameWithoutExtension(assemblyLocation) + ",";
4141
return AppDomain.CurrentDomain.GetAssemblies()
42-
.Where(a => a.FullName.StartsWith(prefix))
42+
.Where(a => a.FullName.StartsWith(prefix, StringComparison.InvariantCultureIgnoreCase))
4343
.Where(a => a.Location.Equals(assemblyLocation, StringComparison.OrdinalIgnoreCase))
4444
.Any();
4545
}

0 commit comments

Comments
 (0)