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