You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@@ -264,6 +264,9 @@ namespace Mono.Cecil.Pdb {
|
||||
var import = new ImportDebugInformation ();
|
||||
|
||||
foreach (var used_namespace in scope.usedNamespaces) {
|
||||
if (string.IsNullOrEmpty (used_namespace))
|
||||
continue;
|
||||
|
||||
ImportTarget target = null;
|
||||
var value = used_namespace.Substring (1);
|
||||
switch (used_namespace [0]) {
|
||||
|
@@ -80,6 +80,10 @@ namespace Mono.Cecil.Pdb {
|
||||
this.metadata = metadata;
|
||||
}
|
||||
|
||||
void IMetadataSymbolWriter.WriteModule ()
|
||||
{
|
||||
}
|
||||
|
||||
void DefineCustomMetadata (MethodDebugInformation info, MetadataToken import_parent)
|
||||
{
|
||||
var metadata = new CustomMetadataWriter (this.writer);
|
||||
|
@@ -153,6 +153,13 @@ namespace Mono.Cecil.Tests {
|
||||
}, readOnly: Platform.OnMono, symbolReaderProvider: typeof (PdbReaderProvider), symbolWriterProvider: typeof (PdbWriterProvider));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void EmptyRootNamespace ()
|
||||
{
|
||||
TestModule ("EmptyRootNamespace.dll", module => {
|
||||
}, readOnly: Platform.OnMono, symbolReaderProvider: typeof(PdbReaderProvider), symbolWriterProvider: typeof(PdbWriterProvider));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void LocalVariables ()
|
||||
{
|
||||
|
BIN
external/cecil/symbols/pdb/Test/Resources/assemblies/EmptyRootNamespace.pdb
vendored
Normal file
BIN
external/cecil/symbols/pdb/Test/Resources/assemblies/EmptyRootNamespace.pdb
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user