PclAnalyzer.Reflection.AssemblyParser.GetTypeCalls C# (CSharp) Method

GetTypeCalls() public method

public GetTypeCalls ( string typeName ) : IList
typeName string
return IList
        public IList<MethodCall> GetTypeCalls(string typeName)
        {
            var module = ModuleDefinition.ReadModule(_assemblyPath);

            var methods = from t in module.Types
                          where GetTypeFullName(t) == typeName
                          from m in t.Methods
                          where m.Body != null
                          select m;

            return GetMethodCalls(module, methods).ToList();
        }