Skip to content

Commit

Permalink
Add additional exclusions for dependency collection
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Nov 14, 2024
1 parent 1faff1a commit c81313f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ internal void AssemblyLoaded(AssemblyName assembly, string moduleVersionId)
|| (assemblyName.StartsWith("Expressions", StringComparison.Ordinal) && IsHexString(assemblyName, 11))
|| (assembly.Version is { Major: 0, Minor: 0, Build: 0, Revision: 0 } && IsZeroVersionAssemblyPattern(assemblyName))
|| IsGuid(assemblyName)
|| IsHexString(assemblyName, 0)
|| IsZxPattern(assemblyName))
{
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ public void DoesNotHaveChangesWhenSameAssemblyAddedTwice()
[InlineData("ℛ*1887feb5-1546-46da-a64e-07cba2cb32fa#112-0")]
[InlineData("ℛ*bcd9d48c-2728-46f5-bd56-bfb58cb0bb22#1156-0")]
[InlineData("OK_IM_NO-GUID-BUUT-NOT_-THAT_FAR_OFF")]
[InlineData("454845b558934321ad350977dd095960")]
[InlineData("41e68894e3e54239abe61eb16cb0e158")]
[InlineData("a1bc683e730d425c9de5fdf00dbdc003")]
public void DoesNotHaveChangesWhenAssemblyNameIsIgnoredAssembly(string assemblyName)
{
var ignoredName = CreateAssemblyName(new Version(1, 0), name: assemblyName);
Expand Down

0 comments on commit c81313f

Please sign in to comment.