77 references to MakeGenericMethodParameter
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ParameterBindingMethodCache.cs (1)
520
new[] { typeof(string), Type.
MakeGenericMethodParameter
(0).MakeByRefType() });
Microsoft.AspNetCore.Mvc.Abstractions (1)
src\Shared\ParameterBindingMethodCache.cs (1)
520
new[] { typeof(string), Type.
MakeGenericMethodParameter
(0).MakeByRefType() });
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ParameterBindingMethodCache.cs (1)
520
new[] { typeof(string), Type.
MakeGenericMethodParameter
(0).MakeByRefType() });
Microsoft.AspNetCore.Routing (3)
Matching\ILEmitTrieFactory.cs (3)
666
types: new[] { Type.
MakeGenericMethodParameter
(0).MakeByRefType(), typeof(int), },
680
types: new[] { Type.
MakeGenericMethodParameter
(0).MakeByRefType(), },
705
types: new[] { typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), },
System.Text.RegularExpressions (71)
System\Text\RegularExpressions\RegexCompiler.cs (71)
68
private static MethodInfo SpanIndexOfCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
69
private static MethodInfo SpanIndexOfSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
71
private static MethodInfo SpanIndexOfAnyCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
72
private 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));
73
private static MethodInfo SpanIndexOfAnySpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
74
private static MethodInfo SpanIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(SearchValues<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
76
private static MethodInfo SpanIndexOfAnyExceptCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
77
private static MethodInfo SpanIndexOfAnyExceptCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
78
private 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));
79
private static MethodInfo SpanIndexOfAnyExceptSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
80
private static MethodInfo SpanIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(SearchValues<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
81
private static MethodInfo SpanIndexOfAnyInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
82
private static MethodInfo SpanIndexOfAnyExceptInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExceptInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
83
private static MethodInfo SpanLastIndexOfCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
84
private static MethodInfo SpanLastIndexOfAnyCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
85
private 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));
86
private static MethodInfo SpanLastIndexOfAnySpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
87
private static MethodInfo SpanLastIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(SearchValues<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
88
private static MethodInfo SpanLastIndexOfSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOf", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
89
private static MethodInfo SpanLastIndexOfAnyExceptCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
90
private static MethodInfo SpanLastIndexOfAnyExceptCharCharMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
91
private 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));
92
private static MethodInfo SpanLastIndexOfAnyExceptSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
93
private static MethodInfo SpanLastIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(SearchValues<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
94
private static MethodInfo SpanLastIndexOfAnyInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
95
private static MethodInfo SpanLastIndexOfAnyExceptInRangeMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExceptInRange", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), Type.
MakeGenericMethodParameter
(0), Type.
MakeGenericMethodParameter
(0)])!.MakeGenericMethod(typeof(char));
98
private static MethodInfo SpanStartsWithSpanMethod => field ??= typeof(MemoryExtensions).GetMethod("StartsWith", [typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0)), typeof(ReadOnlySpan<>).MakeGenericType(Type.
MakeGenericMethodParameter
(0))])!.MakeGenericMethod(typeof(char));
104
private static MethodInfo MemoryMarshalGetArrayDataReferenceSearchValuesMethod => field ??= typeof(MemoryMarshal).GetMethod("GetArrayDataReference", [Type.
MakeGenericMethodParameter
(0).MakeArrayType()])!.MakeGenericMethod(typeof(SearchValues<char>))!;