Commit b56a43f
committed
Switch to explicit impl for redeclared events
The failing test from the previous commit causes the following metadata
to be emitted:
.property instance class [mscorlib]System.Action`1<bool> Property()
{
.get instance class [mscorlib]System.Action`1<bool>
Castle.Proxies.IDerivedProxy::get_Property()
}
.property instance class [mscorlib]System.Action Property()
{
.get instance class [mscorlib]System.Action
Castle.Proxies.IDerivedProxy::get_Property()
}
Obviously we need to switch to explicit implementation for one of these
events in order to avoid a name collision. We do that by changing the
"collision detection" such that it does not take into account events'
return types; only their name matters.1 parent f04a993 commit b56a43f
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 131 | | |
137 | 132 | | |
138 | 133 | | |
| |||
0 commit comments