{"action":"closed","issue":{"url":"https://api.github.com/repos/urasandesu/Prig/issues/44","labels_url":"https://api.github.com/repos/urasandesu/Prig/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/urasandesu/Prig/issues/44/comments","events_url":"https://api.github.com/repos/urasandesu/Prig/issues/44/events","html_url":"https://github.com/urasandesu/Prig/issues/44","id":104520395,"number":44,"title":"Namespace reference not added for parameter that is array type? ","user":{"login":"alc6379","id":2375660,"avatar_url":"https://avatars.githubusercontent.com/u/2375660?v=3","gravatar_id":"","url":"https://api.github.com/users/alc6379","html_url":"https://github.com/alc6379","followers_url":"https://api.github.com/users/alc6379/followers","following_url":"https://api.github.com/users/alc6379/following{/other_user}","gists_url":"https://api.github.com/users/alc6379/gists{/gist_id}","starred_url":"https://api.github.com/users/alc6379/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alc6379/subscriptions","organizations_url":"https://api.github.com/users/alc6379/orgs","repos_url":"https://api.github.com/users/alc6379/repos","events_url":"https://api.github.com/users/alc6379/events{/privacy}","received_events_url":"https://api.github.com/users/alc6379/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/urasandesu/Prig/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-02T16:24:24Z","updated_at":"2015-09-18T01:03:39Z","closed_at":"2015-09-18T01:03:38Z","body":"I have a method with this signature: \r\n\r\n`protected int ExecuteNonQuery(String commandText, CommandType commandType, DbParameter[] parameters)`\r\n\r\n`CommandType` is in the System.Data namespace, and `DbParameter` is in the System.Data.Common namespace. \r\n\r\nWhen I attempt to generate a stub, I get this stub: \r\n\r\n`      <add name=\"ExecuteNonQueryStringCommandTypeDbParameterArray\" alias=\"ExecuteNonQueryStringCommandTypeDbParameterArray\">\r\n        <RuntimeMethodInfo xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:x=\"http://www.w3.org/2001/XMLSchema\" z:Id=\"1\" z:FactoryType=\"MemberInfoSerializationHolder\" z:Type=\"System.Reflection.MemberInfoSerializationHolder\" z:Assembly=\"0\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/System.Reflection\">\r\n          <Name z:Id=\"2\" z:Type=\"System.String\" z:Assembly=\"0\" xmlns=\"\">ExecuteNonQuery</Name>\r\n          <AssemblyName z:Id=\"3\" z:Type=\"System.String\" z:Assembly=\"0\" xmlns=\"\">Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</AssemblyName>\r\n          <ClassName z:Id=\"4\" z:Type=\"System.String\" z:Assembly=\"0\" xmlns=\"\">Common.Repository.AbstractSqlRepository</ClassName>\r\n          <Signature z:Id=\"5\" z:Type=\"System.String\" z:Assembly=\"0\" xmlns=\"\">Int32 ExecuteNonQuery(System.String, System.Data.CommandType, System.Data.Common.DbParameter[])</Signature>\r\n          <Signature2 z:Id=\"6\" z:Type=\"System.String\" z:Assembly=\"0\" xmlns=\"\">System.Int32 ExecuteNonQuery(System.String, System.Data.CommandType, System.Data.Common.DbParameter[])</Signature2>\r\n          <MemberType z:Id=\"7\" z:Type=\"System.Int32\" z:Assembly=\"0\" xmlns=\"\">8</MemberType>\r\n          <GenericArguments i:nil=\"true\" xmlns=\"\" />\r\n        </RuntimeMethodInfo>\r\n      </add>`\r\n\r\nThe code file is generated for the stub, but I get this Type for the IndirectionFunc: \r\n\r\n`public IndirectionFunc<Common.Repository.AbstractSqlRepository, System.String, System.Data.CommandType, DbParameter[], System.Int32> Body`\r\n\r\n\r\n(`Common.Repository.AbstractSqlRepository` is my class.)\r\n\r\nIf you notice, all of the parameters have the full namespace listed, with the exception of the `DbParameter[]` type. I'm wondering if it has something to do with the fact that the command type is an array? The System.Data.Common `using` statement isn't there in the file, either. "}}