projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1349 from martinjt/MachineKeyProtect
[mono.git]
/
mcs
/
class
/
Microsoft.CSharp
/
Microsoft.CSharp.RuntimeBinder
/
CSharpIsEventBinder.cs
diff --git
a/mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpIsEventBinder.cs
b/mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpIsEventBinder.cs
index 3c46c0ff68405030718dddb6c07380d1cc0333cb..e485e40ba146458103eb08f81b26595b616cbdd3 100644
(file)
--- a/
mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpIsEventBinder.cs
+++ b/
mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpIsEventBinder.cs
@@
-52,11
+52,11
@@
namespace Microsoft.CSharp.RuntimeBinder
var queried_type = ctx.ImportType (target.LimitType);
var rc = new Compiler.ResolveContext (new RuntimeBinderContext (ctx, context_type), 0);
var queried_type = ctx.ImportType (target.LimitType);
var rc = new Compiler.ResolveContext (new RuntimeBinderContext (ctx, context_type), 0);
- var expr = Compiler.Expression.MemberLookup (rc,
context_typ
e, queried_type,
+ var expr = Compiler.Expression.MemberLookup (rc,
fals
e, queried_type,
name, 0, Compiler.Expression.MemberLookupRestrictions.ExactArity, Compiler.Location.Null);
var binder = new CSharpBinder (
name, 0, Compiler.Expression.MemberLookupRestrictions.ExactArity, Compiler.Location.Null);
var binder = new CSharpBinder (
- this, new Compiler.BoolConstant (expr is Compiler.EventExpr, Compiler.Location.Null), null);
+ this, new Compiler.BoolConstant (
ctx.CompilerContext.BuiltinTypes,
expr is Compiler.EventExpr, Compiler.Location.Null), null);
binder.AddRestrictions (target);
return binder.Bind (ctx, callingContext);
binder.AddRestrictions (target);
return binder.Bind (ctx, callingContext);