You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
[Test]
public void ImplicitThisReferences() {
string program = @"
using System;
using System.Linq;
class Test {
int x;
public void Main (string[] args) {
$x$ = 1;
}
}";
var rr = Resolve<MemberResolveResult>(program);
Assert.That(rr.TargetResult is TypeResolveResult);
}
It's usable, but I think it would be more useful to have the TargetResult be a ThisRessolveResult instead because, after all, that's what the semantics of the expression is.
The text was updated successfully, but these errors were encountered:
The following test passes:
It's usable, but I think it would be more useful to have the TargetResult be a ThisRessolveResult instead because, after all, that's what the semantics of the expression is.
The text was updated successfully, but these errors were encountered: