Skip to content

Commit

Permalink
Update Test/Mono.Cecil.Tests/PortablePdbTests.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Jackson Schuster <[email protected]>
  • Loading branch information
sbomer and jtschuster committed Jun 6, 2024
1 parent ec3d6f8 commit 0455859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Test/Mono.Cecil.Tests/PortablePdbTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ public void ModifyTypeDefinitionDebugInformation ()
using (var module = GetResourceModule ("TypeDefinitionDebugInformation.dll", new ReaderParameters { SymbolReaderProvider = new PortablePdbReaderProvider () })) {
var enum_type = module.GetType ("TypeDefinitionDebugInformation.Enum");
var binary_custom_debug_info = enum_type.CustomDebugInformations.OfType<BinaryCustomDebugInformation> ().FirstOrDefault ();
Assert.AreEqual (new byte [] { 0x1 }, binary_custom_debug_info.Data);
binary_custom_debug_info.Data = new byte [] { 0x2 };

var outputModule = RoundtripModule (module, RoundtripType.None);
Expand Down

0 comments on commit 0455859

Please sign in to comment.