neuecc / LINQ-to-BigQuery

LINQ to BigQuery is C# LINQ Provider for Google BigQuery. It also enables Desktop GUI Client with LINQPad and plug-in driver.
MIT License
85 stars 16 forks source link

Error: Exception - Cannot compile typed context: 'location': member names cannot be the same as their enclosing type (line 221) #55

Open shlomiw opened 5 years ago

shlomiw commented 5 years ago

Hi,

When the Linqpad's driver is fetching the schema I get the following error: Error: Exception - Cannot compile typed context: 'location': member names cannot be the same as their enclosing type (line 221)

I don't have a any location column in my schema so I'm not sure where this comes from. It used to work well (3 months ago).

Any idea? Thanks in advance

shlomiw commented 5 years ago

Hi, finally found the issue, we had a different dataset there with record named location with internal string member also named location. So the exception is probably when trying to compile a class named Location with same member name which is not allowed.

Up to you if you wanna solve it..

For now I just set only the dataset I need which doesn't have this problem.

Feel free to close this issue.