class RuntimeBinderContext : Compiler.IMemberContext
{
readonly Compiler.CompilerContext ctx;
- readonly Type currentType;
+ readonly Compiler.TypeSpec currentType;
- public RuntimeBinderContext (Compiler.CompilerContext ctx, Type currentType)
+ public RuntimeBinderContext (Compiler.CompilerContext ctx, Compiler.TypeSpec currentType)
{
this.ctx = ctx;
this.currentType = currentType;
#region IMemberContext Members
- public Type CurrentType {
+ public Compiler.TypeSpec CurrentType {
get { return currentType; }
}
get { throw new NotImplementedException (); }
}
- public Compiler.TypeContainer CurrentTypeDefinition {
+ public Compiler.MemberCore CurrentMemberDefinition {
get {
// For operators and methods
return new Compiler.ModuleContainer (currentType.Assembly);
}
}
+ public bool HasUnresolvedConstraints {
+ get {
+ return false;
+ }
+ }
+
public bool IsObsolete {
get {
// Always true to ignore obsolete attribute checks
throw new NotImplementedException ();
}
- public Compiler.ExtensionMethodGroupExpr LookupExtensionMethod (Type extensionType, string name, Mono.CSharp.Location loc)
+ public Compiler.ExtensionMethodGroupExpr LookupExtensionMethod (Compiler.TypeSpec extensionType, string name, int arity, Mono.CSharp.Location loc)
{
// No extension method lookup in this context
return null;
}
- public Compiler.FullNamedExpression LookupNamespaceOrType (string name, Mono.CSharp.Location loc, bool ignore_cs0104)
+ public Compiler.FullNamedExpression LookupNamespaceOrType (string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104)
{
throw new NotImplementedException ();
}