Skip to content

Commit

Permalink
ctaggart#35 PdbReader just leave implicit ISymbolReader interface imp…
Browse files Browse the repository at this point in the history
…lemenation
  • Loading branch information
Cameron Taggart authored and Chet Husk committed Nov 25, 2014
1 parent 1071c10 commit 47ba6e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 67 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ AssemblyInfo.cs
/docs/output
/docs/content/release-notes.md
/docs/files/img/SourceLink128.jpg
/docs/SourceLink128.jpg
/docs/SourceLink128.jpg
*.sln.ide
67 changes: 1 addition & 66 deletions SymbolStore/PdbReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,6 @@ public void Dispose()
}
}

public ISymbolReader SymbolReader
{
get
{
if (symReader == null)
{
throw new ObjectDisposedException("SymReader");
}

return symReader;
}
}

public ISymUnmanagedReader SymUnmanagedReader
{
get
Expand Down Expand Up @@ -103,59 +90,7 @@ public string GetDownloadUrl(string sourceFilePath)
return SrcSrv.GetFileUrl(sessionCookie, moduleCookie, sourceFilePath);
}

// explicit ISymbolReader

ISymbolDocument ISymbolReader.GetDocument(string url, Guid language, Guid languageVendor, Guid documentType)
{
return this.symReader.GetDocument(url, language, languageVendor, documentType);
}

ISymbolDocument[] ISymbolReader.GetDocuments()
{
return this.symReader.GetDocuments();
}

ISymbolVariable[] ISymbolReader.GetGlobalVariables()
{
return this.symReader.GetGlobalVariables();
}

ISymbolMethod ISymbolReader.GetMethod(SymbolToken method, int version)
{
return this.symReader.GetMethod(method, version);
}

ISymbolMethod ISymbolReader.GetMethod(SymbolToken method)
{
return this.symReader.GetMethod(method);
}

ISymbolMethod ISymbolReader.GetMethodFromDocumentPosition(ISymbolDocument document, int line, int column)
{
return this.symReader.GetMethodFromDocumentPosition(document, line, column);
}

ISymbolNamespace[] ISymbolReader.GetNamespaces()
{
return this.symReader.GetNamespaces();
}

byte[] ISymbolReader.GetSymAttribute(SymbolToken parent, string name)
{
return this.symReader.GetSymAttribute(parent, name);
}

ISymbolVariable[] ISymbolReader.GetVariables(SymbolToken parent)
{
return this.symReader.GetVariables(parent);
}

SymbolToken ISymbolReader.UserEntryPoint
{
get { return this.symReader.UserEntryPoint; }
}

// implicit ISymbolReader
// implicit ISymbolReader interface implemenation

public ISymbolDocument GetDocument(string url, Guid language, Guid languageVendor, Guid documentType)
{
Expand Down

0 comments on commit 47ba6e8

Please sign in to comment.