C#: Add declaration visibility modifiers

This commit is contained in:
Tamas Vajk
2020-10-02 13:41:22 +02:00
parent 466e0cf085
commit 7d544e34af
199 changed files with 912 additions and 895 deletions

View File

@@ -7,7 +7,7 @@ namespace Semmle.Extraction.CIL.Entities
/// <summary>
/// A namespace.
/// </summary>
interface INamespace : ITypeContainer
internal interface INamespace : ITypeContainer
{
}
@@ -56,13 +56,13 @@ namespace Semmle.Extraction.CIL.Entities
public override IEnumerable<Type> MethodParameters => throw new NotImplementedException();
static string parseNamespaceName(string fqn)
private static string parseNamespaceName(string fqn)
{
var i = fqn.LastIndexOf('.');
return i == -1 ? fqn : fqn.Substring(i + 1);
}
static Namespace? createParentNamespace(Context cx, string fqn)
private static Namespace? createParentNamespace(Context cx, string fqn)
{
if (fqn.Length == 0) return null;
var i = fqn.LastIndexOf('.');