<commit_before>﻿using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;

using Orleans.Concurrency;

namespace Orleankka
{
    [Immutable, Serializable]
    public sealed class ActorPath : IEquatable<ActorPath>
    {
        static readonly ConcurrentDictionary<Type, Type> actorInterfaceMap = 
                    new ConcurrentDictionary<Type, Type>();

        internal static ActorPath Map(Type type, string id)
        {
            Requires.NotNull(type, "type");
            Requires.NotNullOrWhitespace(id, "id");

            return new ActorPath(ActorInterfaceOf(type), id);
        }

        static Type ActorInterfaceOf(Type type)<commit_msg>Remove unnecessary check for internal member<commit_after>﻿using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;

using Orleans.Concurrency;

namespace Orleankka
{
    [Immutable, Serializable]
    public sealed class ActorPath : IEquatable<ActorPath>
    {
        static readonly ConcurrentDictionary<Type, Type> actorInterfaceMap = 
                    new ConcurrentDictionary<Type, Type>();

        internal static ActorPath Map(Type type, string id)
        {
            return new ActorPath(ActorInterfaceOf(type), id);
        }

        static Type ActorInterfaceOf(Type type)
{'fraction_non_alphanumeric': 0.07854984894259819, 'fraction_numerical': 0.0, 'mean_word_length': 3.153605015673981, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5811539', 'n_tokens_mistral': 351, 'n_tokens_neox': 336, 'n_words': 92}