1 write to Value
Microsoft.AspNetCore.Server.HttpSys (1)
Windows.Win32.PCSTR.g.cs (1)
35 internal PCSTR(byte* value) => this.Value = value;
12 references to Value
Microsoft.AspNetCore.Server.HttpSys (12)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
278return Marshal.PtrToStringAnsi((IntPtr)NativeRequest->pRawUrl.Value, NativeRequest->RawUrlLength);
Windows.Win32.PCSTR.g.cs (11)
37 public static implicit operator byte*(PCSTR value) => value.Value; 41 public bool Equals(PCSTR other) => this.Value == other.Value; 45 public override int GetHashCode() => unchecked((int)this.Value); 55 byte* p = this.Value; 60 return checked((int)(p - this.Value)); 68 /// <returns>A <see langword="string"/>, or <see langword="null"/> if <see cref="Value"/> is <see langword="null"/>.</returns> 69 public override string ToString() => this.Value is null ? null : new string((sbyte*)this.Value, 0, this.Length, global::System.Text.Encoding.Default); 75 internal ReadOnlySpan<byte> AsSpan() => this.Value is null ? default(ReadOnlySpan<byte>) : new ReadOnlySpan<byte>(this.Value, this.Length);