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