Skip to content

Commit

Permalink
(cake-buildGH-2640) Remove unnecessary parameter
Browse files Browse the repository at this point in the history
This is a private method, so there should be no outside callers,
therefore this is not a breaking change.
  • Loading branch information
gep13 committed Oct 16, 2019
1 parent 0e23b55 commit 13b13e6
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Expand Down Expand Up @@ -79,7 +79,7 @@ public AssemblyInfoCreatorData(AssemblyInfoSettings settings, bool isVisualBasic
{
foreach (var item in settings.MetaDataAttributes.Where(item => item != null))
{
AddMetadataAttribute(item.Name, item.NameSpace, item.Key, item.Value);
AddMetadataAttribute(item.NameSpace, item.Key, item.Value);
}
}
}
Expand Down Expand Up @@ -132,7 +132,7 @@ private string AttributeValueToString(object value)
}
}

private void AddMetadataAttribute(string name, string @namespace, string key, string value)
private void AddMetadataAttribute(string @namespace, string key, string value)
{
if (key != null && value != null)
{
Expand All @@ -153,4 +153,4 @@ private void AddAttributeCore(IDictionary<string, string> dict, string name, str
Namespaces.Add(@namespace);
}
}
}
}

0 comments on commit 13b13e6

Please sign in to comment.