From 08de8416f5de0fdeb779ddd5c20d7a635608e75f Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Tue, 12 Jan 2021 19:07:43 +0100 Subject: [PATCH] The attribute "embeddedSourceLength" doesn't seem to be part of XML element any more --- ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs b/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs index 81a3d6277..dd5ea53d3 100644 --- a/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs +++ b/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs @@ -93,7 +93,7 @@ namespace ICSharpCode.Decompiler.Tests foreach (var file in document.Descendants("file")) { file.Attribute("checksum").Remove(); - file.Attribute("embeddedSourceLength").Remove(); + file.Attribute("embeddedSourceLength")?.Remove(); file.ReplaceNodes(new XCData(file.Value.Replace("\uFEFF", ""))); } document.Save(fileName, SaveOptions.None);