5 writes to connectionPoint
PresentationFramework (5)
MS\Internal\Controls\ConnectionPointCookie.cs (5)
27
if (cpc.FindConnectionPoint(ref tmp, out
connectionPoint
) != NativeMethods.S_OK)
29
connectionPoint
= null;
39
connectionPoint
= null;
59
connectionPoint
= null;
126
connectionPoint
= null;
9 references to connectionPoint
PresentationFramework (9)
MS\Internal\Controls\ConnectionPointCookie.cs (9)
42
if (
connectionPoint
== null)
54
int hr =
connectionPoint
.Advise(sink, ref cookie);
58
Marshal.FinalReleaseComObject(
connectionPoint
);
70
if (
connectionPoint
== null || cookie == 0)
72
if (
connectionPoint
!= null)
74
Marshal.FinalReleaseComObject(
connectionPoint
);
94
if (
connectionPoint
!= null && cookie != 0)
98
connectionPoint
.Unadvise(cookie);
115
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(
connectionPoint
);