Browse Source

add check on ReadMetadata

pull/15/head
Eusebiu Marcu 15 years ago
parent
commit
50e8e7d16a
  1. 5
      src/Main/Base/Project/Src/Services/DecompilerService/DecompilerService.cs

5
src/Main/Base/Project/Src/Services/DecompilerService/DecompilerService.cs

@ -51,6 +51,11 @@ namespace ICSharpCode.SharpDevelop @@ -51,6 +51,11 @@ namespace ICSharpCode.SharpDevelop
public static void ReadMetadata(IClass c, out string filePath)
{
if (c == null) {
filePath = null;
return;
}
CodeCompileUnit compileUnit = new CodeCompileUnit();
// add namespace

Loading…
Cancel
Save