3 instantiations of Module
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (3)
CSharpFunctionResolverTests.cs (3)
319var moduleB = new Module(default(ImmutableArray<byte>), name: "B.dll"); 462new Module(metadata: default), // emulates failure of the debugger to retrieve metadata 463new Module(metadata: TestResources.MetadataTests.Invalid.IncorrectCustomAssemblyTableSize_TooManyMethodSpecs.ToImmutableArray()));
25 references to Module
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (25)
CSharpFunctionResolverTests.cs (7)
30var module = new Module(compilation.EmitToArray()); 68var moduleA = new Module(bytesA, name: "A.dll"); 69var moduleB = new Module(bytesB, name: "B.dll"); 243var module = new Module(bytes); 318var moduleA = new Module(CreateCompilation(sourceA).EmitToArray(), name: "A.dll"); 319var moduleB = new Module(default(ImmutableArray<byte>), name: "B.dll"); 320var moduleC = new Module(CreateCompilation(sourceC).EmitToArray(), name: "C.dll");
FunctionResolverTestBase.cs (1)
34private static string GetMethodSignature(Module module, int token)
Process.cs (7)
15private readonly List<Module> _modules; 17internal Process(params Module[] modules) : this(true, modules) 21internal Process(bool shouldEnable, params Module[] modules) 24_modules = new List<Module>(modules); 35internal void AddModule(Module module) 40internal Module[] GetModules() 47foreach (var module in _modules)
Request.cs (3)
15internal readonly Module Module; 20internal Address(Module module, int token, int version, int ilOffset) 45internal void OnFunctionResolved(Module module, int token, int version, int ilOffset)
Resolver.cs (6)
13internal sealed class Resolver : FunctionResolverBase<Process, Module, Request> 46internal void OnModuleLoad(Process process, Module module) 56internal override IEnumerable<Module> GetAllModules(Process process) 61internal override string GetModuleName(Module module) 66internal override unsafe bool TryGetMetadata(Module module, out byte* pointer, out int length) 98private static void OnFunctionResolved(Module module, Request request, int token, int version, int ilOffset)
VisualBasicFunctionResolverTests.cs (1)
40var module = new Module(bytes);