diff options
author | Jb Evain <jb@evain.net> | 2019-02-12 10:00:55 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2019-02-12 10:00:55 +0300 |
commit | 529bd983dc300d5a5f163452a4f56dd4c5fb0412 (patch) | |
tree | 0a87f061951ca8065c8b63a3000bd037873953de /symbols/pdb/Test/Mono.Cecil.Tests | |
parent | 2eaa73661006c3cc51daa31688e8d7ccfc4562ba (diff) |
Run symbols tests in ReadOnly mode as well
Diffstat (limited to 'symbols/pdb/Test/Mono.Cecil.Tests')
-rw-r--r-- | symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs b/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs index d729020..02dea2b 100644 --- a/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs +++ b/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs @@ -1,4 +1,3 @@ -#if !READ_ONLY using System.IO; using System.Linq; @@ -411,6 +410,7 @@ namespace Mono.Cecil.Tests { }, readOnly: !Platform.HasNativePdbSupport, symbolReaderProvider: typeof (PdbReaderProvider), symbolWriterProvider: typeof (PdbWriterProvider)); } +#if !READ_ONLY [Test] public void CreateMethodFromScratch () { @@ -464,6 +464,6 @@ namespace Mono.Cecil.Tests { Assert.AreEqual ("temp", method.DebugInformation.Scope.Variables [0].Name); } +#endif } } -#endif
\ No newline at end of file |