Skip to content

Commit

Permalink
[add] warning disable
Browse files Browse the repository at this point in the history
  • Loading branch information
i4004 committed May 23, 2024
1 parent a386794 commit b85dc96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Simplify.Web/System/SimplifyWebTypesFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ public static class SimplifyWebTypesFinder
private static IList<Assembly> CurrentDomainAssemblies => _currentDomainAssemblies ??= AppDomain.CurrentDomain.GetAssemblies();

private static IList<Type> CurrentDomainAssembliesTypes => _currentDomainAssembliesTypes
#pragma warning disable S2365
??= CurrentDomainAssemblies.GetAssembliesTypes(ExcludedAssembliesPrefixes).ToList();

#pragma warning restore S2365

/// <summary>
/// Finds the type derived from specified type in the current domain assemblies.
/// </summary>
Expand Down

0 comments on commit b85dc96

Please sign in to comment.