[corlib] Tweak Dictionary initial capacity to be more conservative. Fixes #21375
[mono.git] / mcs / class / corlib / System.Diagnostics.SymbolStore / ISymbolReader.cs
old mode 100755 (executable)
new mode 100644 (file)
index 05a5494..00856c6
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Diagnostics.SymbolStore
 {
-
-public interface ISymbolReader {
-
-       SymbolToken UserEntryPoint {get; }
-
-       ISymbolDocument GetDocument (
-               string url,
-               Guid language,
-               Guid languageVendor,
-               Guid documentType);
-       ISymbolDocument[] GetDocuments ();
-       ISymbolVariable[] GetGlobalVariables ();
-
-       ISymbolMethod GetMethod (SymbolToken method);
-       ISymbolMethod GetMethod (SymbolToken method, int version);
-
-       ISymbolMethod GetMethodFromDocumentPosition (
-               ISymbolDocument document,
-               int line,
-               int column);
-       ISymbolNamespace[] GetNamespaces ();
-       byte[] GetSymAttribute (SymbolToken parent, string name);
-       ISymbolVariable[] GetVariables (SymbolToken parent);
-
-}
-
+       [ComVisible (true)]
+       public interface ISymbolReader {
+               SymbolToken UserEntryPoint {get; }
+
+               ISymbolDocument GetDocument (
+                       string url,
+                       Guid language,
+                       Guid languageVendor,
+                       Guid documentType);
+               ISymbolDocument[] GetDocuments ();
+               ISymbolVariable[] GetGlobalVariables ();
+
+               ISymbolMethod GetMethod (SymbolToken method);
+               ISymbolMethod GetMethod (SymbolToken method, int version);
+
+               ISymbolMethod GetMethodFromDocumentPosition (
+                       ISymbolDocument document,
+                       int line,
+                       int column);
+               ISymbolNamespace[] GetNamespaces ();
+               byte[] GetSymAttribute (SymbolToken parent, string name);
+               ISymbolVariable[] GetVariables (SymbolToken parent);
+       }
 }