1 instantiation of TwitterError
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.TwitterError.g.cs (1)
33ObjectCreator = () => new global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError(),
40 references to TwitterError
Microsoft.AspNetCore.Authentication.Twitter (40)
TwitterErrorResponse.cs (1)
8public List<TwitterError>? Errors { get; set; }
TwitterHandler.cs (1)
391foreach (var error in errorResponse.Errors)
TwitterJsonContext.GetJsonTypeInfo.g.cs (2)
24if (type == typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)) 32if (type == typeof(global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>))
TwitterJsonContext.ListTwitterError.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>>? _ListTwitterError; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>> ListTwitterError 24get => _ListTwitterError ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>> Create_ListTwitterError(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>> 33ObjectCreator = () => new global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>, global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>(options, info); 47private void ListTwitterErrorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>? value)
TwitterJsonContext.TwitterError.g.cs (21)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>? _TwitterError; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError> TwitterError 24get => _TwitterError ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError> Create_TwitterError(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError), 60Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)obj).Code, 61Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)obj).Code = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError).GetProperty("Code", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError), 80Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)obj).Message, 81Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)obj).Message = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError).GetProperty("Message", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98private void TwitterErrorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError? value) 108writer.WriteNumber(PropName_Code, ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)value).Code); 109writer.WriteString(PropName_Message, ((global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError)value).Message);
TwitterJsonContext.TwitterErrorResponse.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.Twitter.TwitterErrorResponse).GetProperty("Errors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Microsoft.AspNetCore.Authentication.Twitter.TwitterError>>(options, info0);