12 references to StubHelpers
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Reflection\InvokerEmitUtil.cs (2)
355
s_NextCallReturnAddress ??= typeof(StubHelpers.
StubHelpers
).GetMethod(nameof(StubHelpers.
StubHelpers
.NextCallReturnAddress), BindingFlags.NonPublic | BindingFlags.Static)!;
src\System\StubHelpers.cs (10)
239
bool hasTrailByte =
StubHelpers
.TryGetStringTrailByte(strManaged, out byte trailByte);
304
StubHelpers
.CheckStringLength(length);
323
StubHelpers
.SetStringTrailByte(ret, ((byte*)bstr)[length - 1]);
516
return
StubHelpers
.AddToCleanupList(ref cleanupWorkList, handle);
1041
StubHelpers
.CheckStringLength(pManagedHomeCapacity);
1105
StubHelpers
.FmtClassUpdateNativeInternal(pManagedHome, (byte*)pNativeHome, ref cleanupWorkList);
1175
StubHelpers
.FmtClassUpdateCLRInternal(pManagedHome, (byte*)pNativeHome);
1226
StubHelpers
.DestroyCleanupList(ref cleanupWorkList);
1305
StubHelpers
.SafeHandleRelease(m_handle);
1311
return
StubHelpers
.SafeHandleAddRef(m_handle, ref m_owned);