1 write to s_globalInstanceForMarshalling
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
1461
if (null != Interlocked.CompareExchange(ref
s_globalInstanceForMarshalling
, instance, null))
7 references to s_globalInstanceForMarshalling
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (5)
765
else if (
s_globalInstanceForMarshalling
== wrapper)
1519
if (
s_globalInstanceForMarshalling
== null)
1529
return
s_globalInstanceForMarshalling
.GetOrCreateComInterfaceForObject(instance, CreateComInterfaceFlags.TrackerSupport);
1550
if (
s_globalInstanceForMarshalling
== null)
1555
return
s_globalInstanceForMarshalling
.GetOrCreateObjectForComInstance(externalComObject, flags);
src\System\Runtime\InteropServices\ComWrappers.CoreCLR.cs (2)
70
if (
s_globalInstanceForMarshalling
== null)
89
if (
s_globalInstanceForMarshalling
== null)