<commit_before>using System;
using System.Reflection;
using slang.Compiler.Clr.Compilation.Definitions;

namespace slang.Tests.IL
{

    static class AssemblyDefinitionExtensions
    {
        public static Type [] GetTypes (this AssemblyDefinition assemblyDefinition)
        {
            return assemblyDefinition.LoadAssembly ().GetTypes ();
        }

        public static Assembly LoadAssembly (this AssemblyDefinition assemblyDefinition)
        {
            return AppDomain.CurrentDomain.Load (new AssemblyName (assemblyDefinition.Name));
        }
    }    
}<commit_msg>Stop loading dynamic modules from disk<commit_after>﻿using System;
using System.Reflection;
using slang.Compiler.Clr.Compilation.Definitions;

namespace slang.Tests.IL
{

    static class AssemblyDefinitionExtensions
    {
        public static Type [] GetTypes (this AssemblyDefinition assemblyDefinition)
        {
            return assemblyDefinition.LoadAssembly ().GetTypes ();
        }

        public static Assembly LoadAssembly (this AssemblyDefinition assemblyDefinition)
        {
            throw new InvalidOperationException("We will no longer be loading dynamic assemblies for disk so this operation is no longer possible.");
        }
    }    
}
{'fraction_non_alphanumeric': 0.06650641025641026, 'fraction_numerical': 0.0, 'mean_word_length': 3.0551948051948052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6962543', 'n_tokens_mistral': 287, 'n_tokens_neox': 275, 'n_words': 85}