Address PR feedback.
This commit is contained in:
parent
d2188cd95a
commit
baf28233f4
6 changed files with 5 additions and 7 deletions
|
@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{
|
||||
private string _coreClrVersion;
|
||||
private string _crossGenPath;
|
||||
private List<string> _excludedLibraries = new List<string>()
|
||||
private static readonly string[] s_excludedLibraries =
|
||||
{
|
||||
"mscorlib.dll",
|
||||
"mscorlib.ni.dll"
|
||||
|
@ -100,7 +100,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{
|
||||
string fileName = Path.GetFileName(file);
|
||||
|
||||
if (_excludedLibraries.Any(lib => String.Equals(lib, fileName, StringComparison.OrdinalIgnoreCase))
|
||||
if (s_excludedLibraries.Any(lib => String.Equals(lib, fileName, StringComparison.OrdinalIgnoreCase))
|
||||
|| !PEUtils.HasMetadata(file))
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue