1 write to Value
Microsoft.AspNetCore.Server.IIS (1)
Windows.Win32.PCWSTR.g.cs (1)
34 internal PCWSTR(char* value) => this.Value = value;
15 references to Value
Microsoft.AspNetCore.Server.IIS (15)
src\Shared\HttpSys\NativeInterop\CookedUrl.cs (4)
23return Marshal.PtrToStringUni((IntPtr)_nativeCookedUrl.pFullUrl.Value, _nativeCookedUrl.FullUrlLength / 2); 32return Marshal.PtrToStringUni((IntPtr)_nativeCookedUrl.pHost.Value, _nativeCookedUrl.HostLength / 2); 41return Marshal.PtrToStringUni((IntPtr)_nativeCookedUrl.pAbsPath.Value, _nativeCookedUrl.AbsPathLength / 2); 50return Marshal.PtrToStringUni((IntPtr)_nativeCookedUrl.pQueryString.Value, _nativeCookedUrl.QueryStringLength / 2);
Windows.Win32.PCWSTR.g.cs (11)
36 public static explicit operator char*(PCWSTR value) => value.Value; 40 public bool Equals(PCWSTR other) => this.Value == other.Value; 44 public override int GetHashCode() => unchecked((int)this.Value); 54 char* p = this.Value; 59 return checked((int)(p - this.Value)); 67 /// <returns>A <see langword="string"/>, or <see langword="null"/> if <see cref="Value"/> is <see langword="null"/>.</returns> 68 public override string ToString() => this.Value is null ? null : new string(this.Value); 74 internal ReadOnlySpan<char> AsSpan() => this.Value is null ? default(ReadOnlySpan<char>) : new ReadOnlySpan<char>(this.Value, this.Length);