1 write to _nativeCookedUrl
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\NativeInterop\CookedUrl.cs (1)
16
_nativeCookedUrl
= nativeCookedUrl;
16 references to _nativeCookedUrl
Microsoft.AspNetCore.Shared.Tests (16)
src\Shared\HttpSys\NativeInterop\CookedUrl.cs (16)
21
if (!
_nativeCookedUrl
.pFullUrl.Equals(null) &&
_nativeCookedUrl
.FullUrlLength > 0)
23
return Marshal.PtrToStringUni((IntPtr)
_nativeCookedUrl
.pFullUrl.Value,
_nativeCookedUrl
.FullUrlLength / 2);
30
if (!
_nativeCookedUrl
.pHost.Equals(null) &&
_nativeCookedUrl
.HostLength > 0)
32
return Marshal.PtrToStringUni((IntPtr)
_nativeCookedUrl
.pHost.Value,
_nativeCookedUrl
.HostLength / 2);
39
if (!
_nativeCookedUrl
.pAbsPath.Equals(null) &&
_nativeCookedUrl
.AbsPathLength > 0)
41
return Marshal.PtrToStringUni((IntPtr)
_nativeCookedUrl
.pAbsPath.Value,
_nativeCookedUrl
.AbsPathLength / 2);
48
if (!
_nativeCookedUrl
.pQueryString.Equals(null) &&
_nativeCookedUrl
.QueryStringLength > 0)
50
return Marshal.PtrToStringUni((IntPtr)
_nativeCookedUrl
.pQueryString.Value,
_nativeCookedUrl
.QueryStringLength / 2);