Skip to content

Commit

Permalink
Use Array.Empty in CompositeFileProvider (#38086)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi authored Jun 18, 2020
1 parent 14dd91a commit 643f5e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class CompositeFileProvider : IFileProvider
/// <param name="fileProviders">The collection of <see cref="IFileProvider" /></param>
public CompositeFileProvider(params IFileProvider[] fileProviders)
{
_fileProviders = fileProviders ?? new IFileProvider[0];
_fileProviders = fileProviders ?? Array.Empty<IFileProvider>();
}

/// <summary>
Expand Down

0 comments on commit 643f5e1

Please sign in to comment.