8 references to strlen
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (3)
76
int nbBytes = string.
strlen
((byte*)ptr);
1196
NativeMemory.Clear((void*)s, (nuint)string.
strlen
((byte*)s));
1206
NativeMemory.Clear((void*)s, (nuint)string.
strlen
((byte*)s));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (1)
263
value != null ? new ReadOnlySpan<byte>(value, string.
strlen
(value)) :
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
190
int numBytes =
strlen
((byte*)value);
src\System\RuntimeType.CoreCLR.cs (1)
4308
m_StringHeapByteLength = string.
strlen
(pStringBytes);
src\System\StubHelpers.cs (2)
225
int nbBytes = string.
strlen
(pBytes);
1189
length = string.
strlen
((byte*)pNativeHome);