Fix binding of calling C# methods not working
This commit is contained in:
parent
7f58db1955
commit
30c3223cb4
|
@ -217,7 +217,7 @@ namespace Upsilon.BoundTypes
|
|||
var parent =
|
||||
(UserDataBoundTypeDefinition) ((UserDataVariableSymbol) variable).BoundTypeDefinition;
|
||||
if (functionParameter.ActualType != null &&
|
||||
!string.Equals(functionParameter.ActualType, parent.Name, StringComparison.InvariantCultureIgnoreCase))
|
||||
!parent.ValidInternalTypes.Any(x => string.Equals(x.Name, functionParameter.ActualType)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue