1 write to Value
Microsoft.AspNetCore.Server.IIS (1)
Windows.Win32.PCSTR.g.cs (1)
34
internal PCSTR(byte* value) => this.
Value
= value;
12 references to Value
Microsoft.AspNetCore.Server.IIS (12)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
278
return Marshal.PtrToStringAnsi((IntPtr)NativeRequest->pRawUrl.
Value
, NativeRequest->RawUrlLength);
Windows.Win32.PCSTR.g.cs (11)
36
public static implicit operator byte*(PCSTR value) => value.
Value
;
40
public bool Equals(PCSTR other) => this.
Value
== other.
Value
;
44
public override int GetHashCode() => unchecked((int)this.
Value
);
54
byte* 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((sbyte*)this.
Value
, 0, this.Length, global::System.Text.Encoding.Default);
74
internal ReadOnlySpan<byte> AsSpan() => this.
Value
is null ? default(ReadOnlySpan<byte>) : new ReadOnlySpan<byte>(this.
Value
, this.Length);