Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r--Test/Mono.Cecil.Tests/PortablePdbTests.cs22
1 files changed, 0 insertions, 22 deletions
diff --git a/Test/Mono.Cecil.Tests/PortablePdbTests.cs b/Test/Mono.Cecil.Tests/PortablePdbTests.cs
index 45b0333..fe60dc8 100644
--- a/Test/Mono.Cecil.Tests/PortablePdbTests.cs
+++ b/Test/Mono.Cecil.Tests/PortablePdbTests.cs
@@ -748,27 +748,5 @@ class Program
Assert.AreNotEqual (mvid1_in, mvid2_in);
Assert.AreNotEqual (mvid1_out, mvid2_out);
}
-
- [Test]
- public void LoadPdbOnDemand ()
- {
- var assembly = File.ReadAllBytes (GetAssemblyResourcePath ("Microsoft.AspNetCore.Components.dll"));
- var pdb = File.ReadAllBytes (GetAssemblyResourcePath ("Microsoft.AspNetCore.Components.pdb"));
-
- var module = ModuleDefinition.ReadModule (new MemoryStream (assembly), new ReaderParameters (ReadingMode.Immediate));
-
- var type = module.GetType ("Microsoft.AspNetCore.Components.Rendering.ComponentState");
- var main = type.GetMethod ("RenderIntoBatch");
- var debug_info = main.DebugInformation;
-
- var pdbReaderProvider = new PdbReaderProvider ();
- var symbolReader = pdbReaderProvider.GetSymbolReader (module, new MemoryStream (pdb));
- module.ReadSymbols (symbolReader);
- type = module.GetType ("Microsoft.AspNetCore.Components.Rendering.ComponentState");
- main = type.GetMethod ("RenderIntoBatch");
- debug_info = main.DebugInformation;
- Assert.AreEqual (9, debug_info.SequencePoints.Count);
- }
-
}
}