select keyword not converted correctly from C# to VB

See the differences in query; the C# was the original, the VB the generated. Note the C# "select p" is converted over with no "select", presumably because select is a VB keyword:

property = (from t in containerType.GetInterfaces()
let p = GetTypeDescriptor(t).GetProperties()
.Find(propertyName, true)
where p != null
select p

[property] = (From t In containerType.GetInterfaces()Let p = GetTypeDescriptor(t).GetProperties().Find(propertyName, True) Where p IsNot Nothingp).FirstOrDefault()

C# has where p != null select p, VB has Where p ISNot Nothingp, where the p is pushed against the "Nothing" keyword.
» Post Comment

Comments (1)

No comments, yet. Be the first!

Post Comment

Your Comment :
Commenting is disabled when the portal is unlicensed.