11 references to ComAwareBit
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (5)
133
if ((current &
ComAwareBit
) == 0)
137
nint newTaggedHandle = newHandle |
ComAwareBit
| (taggedHandle & TracksResurrectionBit);
155
Debug.Assert((taggedHandle &
ComAwareBit
) != 0);
172
Debug.Assert((taggedHandle &
ComAwareBit
) == 0);
175
taggedHandle = newHandle |
ComAwareBit
| (taggedHandle & TracksResurrectionBit);
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (4)
24
internal const nint HandleTagBits = TracksResurrectionBit |
ComAwareBit
;
109
if ((th &
ComAwareBit
) != 0)
167
if ((th &
ComAwareBit
) != 0)
205
if ((th &
ComAwareBit
) != 0 || comInfo != null)
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (2)
109
if ((th &
ComAwareBit
) != 0 || comInfo != null)
142
if ((th &
ComAwareBit
) != 0)