bug fix in intellisense: declaration of extension method with same name that static method in compiled class
This commit is contained in:
parent
317b76cab3
commit
ea9de57405
|
|
@ -805,6 +805,8 @@ namespace CodeCompletion
|
|||
if (topScope != null)
|
||||
{
|
||||
ps = topScope.FindNameOnlyInThisType(meth_name) as ProcScope;
|
||||
if (ps != null && ps is CompiledMethodScope)
|
||||
ps = null;
|
||||
if (ps == null)
|
||||
{
|
||||
ps = new ProcScope(meth_name, topScope);
|
||||
|
|
@ -1082,6 +1084,8 @@ namespace CodeCompletion
|
|||
if (topScope != null)
|
||||
{
|
||||
ps = topScope.FindNameOnlyInThisType(meth_name) as ProcScope;
|
||||
if (ps != null && ps is CompiledMethodScope)
|
||||
ps = null;
|
||||
if (ps == null)
|
||||
{
|
||||
ps = new ProcScope(meth_name, topScope);
|
||||
|
|
|
|||
Loading…
Reference in a new issue