7 overrides of MakeGenericType
System.Private.CoreLib (5)
System.Reflection.Context (1)
System.Reflection.MetadataLoadContext (1)
467 references to MakeGenericType
Aspire.Confluent.Kafka.Tests (2)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (25)
illink (1)
ILLink.RoslynAnalyzer (1)
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Components.Endpoints (17)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (11)
Microsoft.AspNetCore.Grpc.Swagger (2)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http.Abstractions (2)
Microsoft.AspNetCore.Http.Extensions (24)
Microsoft.AspNetCore.Identity (10)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (9)
IdentityEntityFrameworkBuilderExtensions.cs (9)
53userStoreType = typeof(UserStore<,,,>).MakeGenericType(userType, roleType, contextType, keyType);
54roleStoreType = typeof(RoleStore<,,>).MakeGenericType(roleType, contextType, keyType);
58userStoreType = typeof(UserStore<,,,,,,,,,>).MakeGenericType(userType, roleType, contextType,
66roleStoreType = typeof(RoleStore<,,,,>).MakeGenericType(roleType, contextType,
71services.TryAddScoped(typeof(IUserStore<>).MakeGenericType(userType), userStoreType);
72services.TryAddScoped(typeof(IRoleStore<>).MakeGenericType(roleType), roleStoreType);
81userStoreType = typeof(UserOnlyStore<,,>).MakeGenericType(userType, contextType, keyType);
85userStoreType = typeof(UserOnlyStore<,,,,,>).MakeGenericType(userType, contextType,
91services.TryAddScoped(typeof(IUserStore<>).MakeGenericType(userType), userStoreType);
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.JsonPatch (3)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Microsoft.AspNetCore.Mvc.Core (10)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Routing.Abstractions (2)
Microsoft.AspNetCore.Shared.Tests (8)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.AspNetCore.SignalR.Tests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CSharp (2)
Microsoft.Extensions.Caching.Hybrid.Tests (2)
Microsoft.Extensions.Configuration.Binder (4)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.DependencyInjection.Abstractions (2)
Microsoft.Extensions.DependencyInjection.AutoActivation (2)
Microsoft.Extensions.Identity.Core (12)
IdentityBuilder.cs (12)
88=> AddScoped(typeof(IUserValidator<>).MakeGenericType(UserType), typeof(TValidator));
97=> AddScoped(typeof(IUserClaimsPrincipalFactory<>).MakeGenericType(UserType), typeof(TFactory));
117=> AddScoped(typeof(IPasswordValidator<>).MakeGenericType(UserType), typeof(TValidator));
126=> AddScoped(typeof(IUserStore<>).MakeGenericType(UserType), typeof(TStore));
146if (!typeof(IUserTwoFactorTokenProvider<>).MakeGenericType(UserType).IsAssignableFrom(provider))
176var userManagerType = typeof(UserManager<>).MakeGenericType(UserType);
200Services.AddScoped(typeof(IUserClaimsPrincipalFactory<>).MakeGenericType(UserType), typeof(UserClaimsPrincipalFactory<,>).MakeGenericType(UserType, RoleType));
216return AddScoped(typeof(IRoleValidator<>).MakeGenericType(RoleType), typeof(TRole));
247return AddScoped(typeof(IRoleStore<>).MakeGenericType(RoleType), typeof(TStore));
262var managerType = typeof(RoleManager<>).MakeGenericType(RoleType);
282=> AddScoped(typeof(IUserConfirmation<>).MakeGenericType(UserType), typeof(TUserConfirmation));
Microsoft.Extensions.Validation.GeneratorTests (7)
Microsoft.JSInterop (3)
Microsoft.Maui (3)
Microsoft.Maui.Controls.Xaml (1)
Microsoft.ML.Core (1)
Microsoft.ML.Data (22)
Microsoft.ML.DataView (1)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.OnnxTransformer (10)
Microsoft.ML.Parquet (1)
Microsoft.ML.Transforms (3)
Microsoft.VisualBasic.Core (3)
PresentationFramework (4)
PresentationFramework-SystemCore (2)
System.ComponentModel.Composition (7)
System.Composition.TypedParts (3)
System.Diagnostics.DiagnosticSource (3)
System.Linq.Expressions (57)
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (41)
117case 2: return typeof(VBCallSiteDelegate0<>).MakeGenericType(types[0]);
118case 3: return typeof(VBCallSiteDelegate1<>).MakeGenericType(types[0]);
119case 4: return typeof(VBCallSiteDelegate2<>).MakeGenericType(types[0]);
120case 5: return typeof(VBCallSiteDelegate3<>).MakeGenericType(types[0]);
121case 6: return typeof(VBCallSiteDelegate4<>).MakeGenericType(types[0]);
122case 7: return typeof(VBCallSiteDelegate5<>).MakeGenericType(types[0]);
123case 8: return typeof(VBCallSiteDelegate6<>).MakeGenericType(types[0]);
124case 9: return typeof(VBCallSiteDelegate7<>).MakeGenericType(types[0]);
193return typeof(Func<>).MakeGenericType(types);
195return typeof(Func<,>).MakeGenericType(types);
197return typeof(Func<,,>).MakeGenericType(types);
199return typeof(Func<,,,>).MakeGenericType(types);
201return typeof(Func<,,,,>).MakeGenericType(types);
203return typeof(Func<,,,,,>).MakeGenericType(types);
205return typeof(Func<,,,,,,>).MakeGenericType(types);
207return typeof(Func<,,,,,,,>).MakeGenericType(types);
209return typeof(Func<,,,,,,,,>).MakeGenericType(types);
211return typeof(Func<,,,,,,,,,>).MakeGenericType(types);
213return typeof(Func<,,,,,,,,,,>).MakeGenericType(types);
215return typeof(Func<,,,,,,,,,,,>).MakeGenericType(types);
217return typeof(Func<,,,,,,,,,,,,>).MakeGenericType(types);
219return typeof(Func<,,,,,,,,,,,,,>).MakeGenericType(types);
221return typeof(Func<,,,,,,,,,,,,,,>).MakeGenericType(types);
223return typeof(Func<,,,,,,,,,,,,,,,>).MakeGenericType(types);
225return typeof(Func<,,,,,,,,,,,,,,,,>).MakeGenericType(types);
241return typeof(Action<>).MakeGenericType(types);
243return typeof(Action<,>).MakeGenericType(types);
245return typeof(Action<,,>).MakeGenericType(types);
247return typeof(Action<,,,>).MakeGenericType(types);
249return typeof(Action<,,,,>).MakeGenericType(types);
251return typeof(Action<,,,,,>).MakeGenericType(types);
253return typeof(Action<,,,,,,>).MakeGenericType(types);
255return typeof(Action<,,,,,,,>).MakeGenericType(types);
257return typeof(Action<,,,,,,,,>).MakeGenericType(types);
259return typeof(Action<,,,,,,,,,>).MakeGenericType(types);
261return typeof(Action<,,,,,,,,,,>).MakeGenericType(types);
263return typeof(Action<,,,,,,,,,,,>).MakeGenericType(types);
265return typeof(Action<,,,,,,,,,,,,>).MakeGenericType(types);
267return typeof(Action<,,,,,,,,,,,,,>).MakeGenericType(types);
269return typeof(Action<,,,,,,,,,,,,,,>).MakeGenericType(types);
271return typeof(Action<,,,,,,,,,,,,,,,>).MakeGenericType(types);
System\Linq\Expressions\Interpreter\CallInstruction.Generated.cs (9)
175t = typeof(ActionCallInstruction<>).MakeGenericType(arrTypes);
178t = typeof(ActionCallInstruction<,>).MakeGenericType(arrTypes);
181t = typeof(ActionCallInstruction<,,>).MakeGenericType(arrTypes);
184t = typeof(ActionCallInstruction<,,,>).MakeGenericType(arrTypes);
195t = typeof(FuncCallInstruction<>).MakeGenericType(arrTypes);
198t = typeof(FuncCallInstruction<,>).MakeGenericType(arrTypes);
201t = typeof(FuncCallInstruction<,,>).MakeGenericType(arrTypes);
204t = typeof(FuncCallInstruction<,,,>).MakeGenericType(arrTypes);
207t = typeof(FuncCallInstruction<,,,,>).MakeGenericType(arrTypes);
System.Linq.Queryable (8)
System.Private.CoreLib (14)
System.Private.DataContractSerialization (33)
System.Private.Windows.Core.TestUtilities (3)
System.Private.Xml (10)
System.Reflection.Context (1)
System.Reflection.Emit (1)
System.Reflection.MetadataLoadContext (2)
System.ServiceModel.Primitives (5)
System.Text.Json (18)
System\Text\Json\Serialization\Converters\FSharp\FSharpTypeConverterFactory.cs (5)
41converterFactoryType = typeof(FSharpOptionConverter<,>).MakeGenericType(typeToConvert, elementType);
46converterFactoryType = typeof(FSharpValueOptionConverter<,>).MakeGenericType(typeToConvert, elementType);
51converterFactoryType = typeof(FSharpListConverter<,>).MakeGenericType(typeToConvert, elementType);
55converterFactoryType = typeof(FSharpSetConverter<,>).MakeGenericType(typeToConvert, elementType);
61converterFactoryType = typeof(FSharpMapConverter<,,>).MakeGenericType(typeToConvert, keyType, valueType);
System.Text.RegularExpressions (38)
System\Text\RegularExpressions\RegexCompiler.cs (38)
69private static MethodInfo SpanIndexOfCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
70private static MethodInfo SpanIndexOfSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
72private static MethodInfo SpanIndexOfAnyCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
73private static MethodInfo SpanIndexOfAnyCharCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
74private static MethodInfo SpanIndexOfAnySpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
75private static MethodInfo SpanIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
77private static MethodInfo SpanIndexOfAnyExceptCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
78private static MethodInfo SpanIndexOfAnyExceptCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
79private static MethodInfo SpanIndexOfAnyExceptCharCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
80private static MethodInfo SpanIndexOfAnyExceptSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
81private static MethodInfo SpanIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
82private static MethodInfo SpanIndexOfAnyInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
83private static MethodInfo SpanIndexOfAnyExceptInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExceptInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
84private static MethodInfo SpanLastIndexOfCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
85private static MethodInfo SpanLastIndexOfAnyCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
86private static MethodInfo SpanLastIndexOfAnyCharCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
87private static MethodInfo SpanLastIndexOfAnySpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
88private static MethodInfo SpanLastIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
89private static MethodInfo SpanLastIndexOfSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
90private static MethodInfo SpanLastIndexOfAnyExceptCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
91private static MethodInfo SpanLastIndexOfAnyExceptCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
92private static MethodInfo SpanLastIndexOfAnyExceptCharCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
93private static MethodInfo SpanLastIndexOfAnyExceptSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
94private static MethodInfo SpanLastIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
95private static MethodInfo SpanLastIndexOfAnyInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
96private static MethodInfo SpanLastIndexOfAnyExceptInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExceptInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), Type.MakeGenericMethodParameter(0), Type.MakeGenericMethodParameter(0)])!.MakeGenericMethod(typeof(char));
99private static MethodInfo SpanStartsWithSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("StartsWith", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char));
System.Windows.Forms (1)
System.Xaml (4)