4 writes to _delegateWrappers
mscorlib (4)
system\Runtime\InteropServices\ComEventsMethod.cs (4)
118
_delegateWrappers
= null;
187
_delegateWrappers
= newDelegateWrappers;
214
_delegateWrappers
= null;
229
_delegateWrappers
= newDelegateWrappers;
15 references to _delegateWrappers
mscorlib (15)
system\Runtime\InteropServices\ComEventsMethod.cs (15)
163
get { return
_delegateWrappers
== null ||
_delegateWrappers
.Length == 0; }
168
if (
_delegateWrappers
!= null) {
169
count =
_delegateWrappers
.Length;
173
if (
_delegateWrappers
[i].Delegate.GetType() == d.GetType()) {
174
_delegateWrappers
[i].Delegate = Delegate.Combine(
_delegateWrappers
[i].Delegate, d);
181
_delegateWrappers
.CopyTo(newDelegateWrappers, 0);
192
int count =
_delegateWrappers
.Length;
196
if (
_delegateWrappers
[i].Delegate.GetType() == d.GetType()) {
205
Delegate newDelegate = Delegate.Remove(
_delegateWrappers
[removeIdx].Delegate, d);
207
_delegateWrappers
[removeIdx].Delegate = newDelegate;
221
newDelegateWrappers[j] =
_delegateWrappers
[j];
225
newDelegateWrappers[j] =
_delegateWrappers
[j + 1];
237
DelegateWrapper[] invocationList =
_delegateWrappers
;