Skip to content

Commit

Permalink
add InternalsVisibleToAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
shaopeng-gh committed Nov 4, 2023
1 parent fd08f19 commit b752cd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/BinSkim.Rules/RulesExtensionMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;

using Microsoft.CodeAnalysis.BinaryParsers.ProgramDatabase;

[assembly: InternalsVisibleToAttribute("Test.UnitTests.BinSkim.Rules")]
namespace Microsoft.CodeAnalysis.IL.Rules
{
public static class RulesExtensionMethods
Expand Down Expand Up @@ -130,7 +132,7 @@ private static string CreateLibraryKey(ObjectModuleDetails objectModuleDetail)

private static readonly Dictionary<CryptoError, string> s_cryptoErrorToDescriptionMap = BuildCryptoErrorDescriptions();

public static Dictionary<CryptoError, string> BuildCryptoErrorDescriptions()
internal static Dictionary<CryptoError, string> BuildCryptoErrorDescriptions()
{
var result = new Dictionary<CryptoError, string>()
{
Expand Down

0 comments on commit b752cd0

Please sign in to comment.