139 references to EncodedUtf8Bytes
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
27if (reader.ValueTextEquals(IdProperty.EncodedUtf8Bytes))
Microsoft.AspNetCore.Components.Web (81)
WebEventData\ChangeEventArgsReader.cs (1)
19if (property.NameEquals(ValueKey.EncodedUtf8Bytes))
WebEventData\ClipboardEventArgsReader.cs (1)
19if (property.NameEquals(TypeKey.EncodedUtf8Bytes))
WebEventData\DragEventArgsReader.cs (8)
26if (property.NameEquals(DataTransfer.EncodedUtf8Bytes)) 44if (property.NameEquals(DropEffect.EncodedUtf8Bytes)) 48else if (property.NameEquals(EffectAllowed.EncodedUtf8Bytes)) 52else if (property.NameEquals(Files.EncodedUtf8Bytes)) 56else if (property.NameEquals(Items.EncodedUtf8Bytes)) 67else if (property.NameEquals(Types.EncodedUtf8Bytes)) 85if (property.NameEquals(Kind.EncodedUtf8Bytes)) 89else if (property.NameEquals(Type.EncodedUtf8Bytes))
WebEventData\ErrorEventArgsReader.cs (5)
23if (property.NameEquals(Message.EncodedUtf8Bytes)) 27else if (property.NameEquals(Colno.EncodedUtf8Bytes)) 31else if (property.NameEquals(Filename.EncodedUtf8Bytes)) 35else if (property.NameEquals(Lineno.EncodedUtf8Bytes)) 39else if (property.NameEquals(Type.EncodedUtf8Bytes))
WebEventData\FocusEventArgsReader.cs (1)
19if (property.NameEquals(Type.EncodedUtf8Bytes))
WebEventData\KeyboardEventArgsReader.cs (10)
28if (property.NameEquals(Key.EncodedUtf8Bytes)) 32else if (property.NameEquals(Code.EncodedUtf8Bytes)) 36else if (property.NameEquals(Location.EncodedUtf8Bytes)) 40else if (property.NameEquals(Repeat.EncodedUtf8Bytes)) 44else if (property.NameEquals(CtrlKey.EncodedUtf8Bytes)) 48else if (property.NameEquals(AltKey.EncodedUtf8Bytes)) 52else if (property.NameEquals(ShiftKey.EncodedUtf8Bytes)) 56else if (property.NameEquals(MetaKey.EncodedUtf8Bytes)) 60else if (property.NameEquals(Type.EncodedUtf8Bytes)) 64else if (property.NameEquals(IsComposing.EncodedUtf8Bytes))
WebEventData\MouseEventArgsReader.cs (18)
43if (property.NameEquals(Detail.EncodedUtf8Bytes)) 47else if (property.NameEquals(ScreenX.EncodedUtf8Bytes)) 51else if (property.NameEquals(ScreenY.EncodedUtf8Bytes)) 55else if (property.NameEquals(ClientX.EncodedUtf8Bytes)) 59else if (property.NameEquals(ClientY.EncodedUtf8Bytes)) 63else if (property.NameEquals(OffsetX.EncodedUtf8Bytes)) 67else if (property.NameEquals(OffsetY.EncodedUtf8Bytes)) 71else if (property.NameEquals(PageX.EncodedUtf8Bytes)) 75else if (property.NameEquals(PageY.EncodedUtf8Bytes)) 79else if (property.NameEquals(MovementX.EncodedUtf8Bytes)) 83else if (property.NameEquals(MovementY.EncodedUtf8Bytes)) 87else if (property.NameEquals(Button.EncodedUtf8Bytes)) 91else if (property.NameEquals(Buttons.EncodedUtf8Bytes)) 95else if (property.NameEquals(CtrlKey.EncodedUtf8Bytes)) 99else if (property.NameEquals(ShiftKey.EncodedUtf8Bytes)) 103else if (property.NameEquals(AltKey.EncodedUtf8Bytes)) 107else if (property.NameEquals(MetaKey.EncodedUtf8Bytes)) 111else if (property.NameEquals(Type.EncodedUtf8Bytes))
WebEventData\PointerEventArgsReader.cs (8)
27if (property.NameEquals(PointerId.EncodedUtf8Bytes)) 31else if (property.NameEquals(Width.EncodedUtf8Bytes)) 35else if (property.NameEquals(Height.EncodedUtf8Bytes)) 39else if (property.NameEquals(Pressure.EncodedUtf8Bytes)) 43else if (property.NameEquals(TiltX.EncodedUtf8Bytes)) 47else if (property.NameEquals(TiltY.EncodedUtf8Bytes)) 51else if (property.NameEquals(PointerType.EncodedUtf8Bytes)) 55else if (property.NameEquals(IsPrimary.EncodedUtf8Bytes))
WebEventData\ProgressEventArgReader.cs (4)
22if (property.NameEquals(LengthComputable.EncodedUtf8Bytes)) 26else if (property.NameEquals(Loaded.EncodedUtf8Bytes)) 30else if (property.NameEquals(Total.EncodedUtf8Bytes)) 34else if (property.NameEquals(Type.EncodedUtf8Bytes))
WebEventData\TouchEventArgsReader.cs (16)
34if (property.NameEquals(Detail.EncodedUtf8Bytes)) 38else if (property.NameEquals(ChangedTouches.EncodedUtf8Bytes)) 42else if (property.NameEquals(TargetTouches.EncodedUtf8Bytes)) 46else if (property.NameEquals(Touches.EncodedUtf8Bytes)) 50else if (property.NameEquals(CtrlKey.EncodedUtf8Bytes)) 54else if (property.NameEquals(ShiftKey.EncodedUtf8Bytes)) 58else if (property.NameEquals(AltKey.EncodedUtf8Bytes)) 62else if (property.NameEquals(MetaKey.EncodedUtf8Bytes)) 66else if (property.NameEquals(Type.EncodedUtf8Bytes)) 96if (property.NameEquals(ClientX.EncodedUtf8Bytes)) 100else if (property.NameEquals(ClientY.EncodedUtf8Bytes)) 104else if (property.NameEquals(Identifier.EncodedUtf8Bytes)) 108else if (property.NameEquals(PageX.EncodedUtf8Bytes)) 112else if (property.NameEquals(PageY.EncodedUtf8Bytes)) 116else if (property.NameEquals(ScreenX.EncodedUtf8Bytes)) 120else if (property.NameEquals(ScreenY.EncodedUtf8Bytes))
WebEventData\WebEventDescriptorReader.cs (5)
24if (property.NameEquals(EventHandlerIdKey.EncodedUtf8Bytes)) 28else if (property.NameEquals(EventNameKey.EncodedUtf8Bytes)) 32else if (property.NameEquals(EventFieldInfoKey.EncodedUtf8Bytes)) 55if (property.NameEquals(ComponentIdKey.EncodedUtf8Bytes)) 59else if (property.NameEquals(FieldValueKey.EncodedUtf8Bytes))
WebEventData\WheelEventArgsReader.cs (4)
23if (property.NameEquals(DeltaX.EncodedUtf8Bytes)) 27else if (property.NameEquals(DeltaY.EncodedUtf8Bytes)) 31else if (property.NameEquals(DeltaZ.EncodedUtf8Bytes)) 35else if (property.NameEquals(DeltaMode.EncodedUtf8Bytes))
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
27if (reader.ValueTextEquals(IdProperty.EncodedUtf8Bytes))
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
27if (reader.ValueTextEquals(IdProperty.EncodedUtf8Bytes))
Microsoft.AspNetCore.Http.Connections.Common (10)
NegotiateProtocol.cs (10)
170if (reader.ValueTextEquals(UrlPropertyNameBytes.EncodedUtf8Bytes)) 174else if (reader.ValueTextEquals(AccessTokenPropertyNameBytes.EncodedUtf8Bytes)) 178else if (reader.ValueTextEquals(ConnectionIdPropertyNameBytes.EncodedUtf8Bytes)) 182else if (reader.ValueTextEquals(ConnectionTokenPropertyNameBytes.EncodedUtf8Bytes)) 186else if (reader.ValueTextEquals(NegotiateVersionPropertyNameBytes.EncodedUtf8Bytes)) 190else if (reader.ValueTextEquals(AvailableTransportsPropertyNameBytes.EncodedUtf8Bytes)) 208else if (reader.ValueTextEquals(ErrorPropertyNameBytes.EncodedUtf8Bytes)) 216else if (reader.ValueTextEquals(StatefulReconnectPropertyNameBytes.EncodedUtf8Bytes)) 282if (reader.ValueTextEquals(TransportPropertyNameBytes.EncodedUtf8Bytes)) 286else if (reader.ValueTextEquals(TransferFormatsPropertyNameBytes.EncodedUtf8Bytes))
Microsoft.AspNetCore.SignalR.Common (4)
Protocol\HandshakeProtocol.cs (4)
135if (reader.ValueTextEquals(TypePropertyNameBytes.EncodedUtf8Bytes)) 141else if (reader.ValueTextEquals(ErrorPropertyNameBytes.EncodedUtf8Bytes)) 190if (reader.ValueTextEquals(ProtocolPropertyNameBytes.EncodedUtf8Bytes)) 194else if (reader.ValueTextEquals(ProtocolVersionPropertyNameBytes.EncodedUtf8Bytes))
Microsoft.AspNetCore.SignalR.Protocols.Json (11)
Protocol\JsonHubProtocol.cs (11)
158if (reader.ValueTextEquals(TypePropertyNameBytes.EncodedUtf8Bytes)) 167else if (reader.ValueTextEquals(InvocationIdPropertyNameBytes.EncodedUtf8Bytes)) 171else if (reader.ValueTextEquals(StreamIdsPropertyNameBytes.EncodedUtf8Bytes)) 192else if (reader.ValueTextEquals(TargetPropertyNameBytes.EncodedUtf8Bytes)) 214else if (reader.ValueTextEquals(ErrorPropertyNameBytes.EncodedUtf8Bytes)) 218else if (reader.ValueTextEquals(AllowReconnectPropertyNameBytes.EncodedUtf8Bytes)) 222else if (reader.ValueTextEquals(ResultPropertyNameBytes.EncodedUtf8Bytes)) 256else if (reader.ValueTextEquals(ItemPropertyNameBytes.EncodedUtf8Bytes)) 286else if (reader.ValueTextEquals(ArgumentsPropertyNameBytes.EncodedUtf8Bytes)) 326else if (reader.ValueTextEquals(HeadersPropertyNameBytes.EncodedUtf8Bytes)) 331else if (reader.ValueTextEquals(SequenceIdPropertyNameBytes.EncodedUtf8Bytes))
Microsoft.JSInterop (6)
Implementation\JSObjectReferenceJsonWorker.cs (1)
31if (id is null && reader.ValueTextEquals(JSObjectIdKey.EncodedUtf8Bytes))
Infrastructure\ByteArrayJsonConverter.cs (1)
45if (!reader.ValueTextEquals(ByteArrayRefKey.EncodedUtf8Bytes))
Infrastructure\DotNetDispatcher.cs (1)
272jsonReader.ValueTextEquals(DotNetObjectRefKey.EncodedUtf8Bytes))
Infrastructure\DotNetObjectReferenceJsonConverter.cs (1)
30if (dotNetObjectId == 0 && reader.ValueTextEquals(DotNetObjectRefKey.EncodedUtf8Bytes))
Infrastructure\JSStreamReferenceJsonConverter.cs (2)
33if (id is null && reader.ValueTextEquals(JSObjectReferenceJsonWorker.JSObjectIdKey.EncodedUtf8Bytes)) 38else if (length is null && reader.ValueTextEquals(_jsStreamReferenceLengthKey.EncodedUtf8Bytes))
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
144Assert.True(resultDto2Ref.TryGetProperty(DotNetDispatcher.DotNetObjectRefKey.EncodedUtf8Bytes, out var property));
System.Text.Json (23)
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
722WriteStartHelper(propertyName.EncodedUtf8Bytes, JsonConstants.OpenBracket); 736WriteStartHelper(propertyName.EncodedUtf8Bytes, JsonConstants.OpenBrace);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (1)
22ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (1)
26ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.FormattedNumber.cs (1)
76WriteNumberByOptions(propertyName.EncodedUtf8Bytes, utf8FormattedNumber);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (3)
22WriteLiteralHelper(propertyName.EncodedUtf8Bytes, JsonConstants.NullValue); 145WriteLiteralHelper(propertyName.EncodedUtf8Bytes, JsonConstants.TrueValue); 150WriteLiteralHelper(propertyName.EncodedUtf8Bytes, JsonConstants.FalseValue);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (1)
25ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
20=> WritePropertyNameHelper(propertyName.EncodedUtf8Bytes); 427=> WriteStringHelper(propertyName.EncodedUtf8Bytes, value.EncodedUtf8Bytes); 600=> WriteStringHelperEscapeValue(propertyName.EncodedUtf8Bytes, value); 690=> WriteStringHelperEscapeValue(propertyName.EncodedUtf8Bytes, utf8Value); 780=> WriteStringHelperEscapeProperty(propertyName, value.EncodedUtf8Bytes); 852=> WriteStringHelperEscapeProperty(utf8PropertyName, value.EncodedUtf8Bytes);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (1)
26ReadOnlySpan<byte> utf8PropertyName = propertyName.EncodedUtf8Bytes;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (1)
20ReadOnlySpan<byte> utf8Value = value.EncodedUtf8Bytes;