3 overrides of GetParametersAsSpan
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
335internal override ReadOnlySpan<ParameterInfo> GetParametersAsSpan() => LoadParameters();
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
183internal override ReadOnlySpan<ParameterInfo> GetParametersAsSpan() =>
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
243internal override ReadOnlySpan<ParameterInfo> GetParametersAsSpan() =>
33 references to GetParametersAsSpan
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
144parameters: entry.GetParametersAsSpan().Length > 0 ? [args] : null,
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (10)
55ReadOnlySpan<ParameterInfo> par = candidates[i]!.GetParametersAsSpan(); 107ReadOnlySpan<ParameterInfo> par = candidates[i]!.GetParametersAsSpan(); 309ReadOnlySpan<ParameterInfo> parms = candidates[0]!.GetParametersAsSpan(); 400ReadOnlySpan<ParameterInfo> parameters = bestMatch.GetParametersAsSpan(); 565ReadOnlySpan<ParameterInfo> par = candidates[i].GetParametersAsSpan(); 800ReadOnlySpan<ParameterInfo> par = match[i].GetParametersAsSpan(); 1019int res = FindMostSpecific(m1.GetParametersAsSpan(), paramOrder1, paramArrayType1, 1020m2.GetParametersAsSpan(), paramOrder2, paramArrayType2, types, args); 1099ReadOnlySpan<ParameterInfo> params1 = m1.GetParametersAsSpan(); 1100ReadOnlySpan<ParameterInfo> params2 = m2.GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (1)
292pi = mb.GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\Reflection\EventInfo.cs (1)
48ReadOnlySpan<ParameterInfo> p = m.GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\Reflection\InvokerEmitUtil.cs (3)
49ReadOnlySpan<ParameterInfo> parameters = method.GetParametersAsSpan(); 117ReadOnlySpan<ParameterInfo> parameters = method.GetParametersAsSpan(); 174ReadOnlySpan<ParameterInfo> parameters = method.GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
128ReadOnlySpan<ParameterInfo> paramInfo = GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (1)
362arg = HandleTypeMissing(_method.GetParametersAsSpan()[i], sigType);
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (3)
121ReadOnlySpan<ParameterInfo> parameters = metaMethod.GetParametersAsSpan(); 219ReadOnlySpan<ParameterInfo> parameters = setter.GetParametersAsSpan(); 459return property.GetSetMethod(true)!.GetParametersAsSpan()[0].ParameterType;
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
82args = ((MethodBase)MemberImpl).GetParametersAsSpan();
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
643finalist.GetParametersAsSpan().Length == 0 &&
src\libraries\System.Private.CoreLib\src\System\StartupHookProvider.cs (1)
209initializeMethod.GetParametersAsSpan().Length == 0);
src\System\Delegate.CoreCLR.cs (1)
212declaringType = (RuntimeType)invoke.GetParametersAsSpan()[0].ParameterType;
src\System\Reflection\Emit\DynamicILGenerator.cs (2)
95stackchange -= meth.GetParametersAsSpan().Length; 405ReadOnlySpan<ParameterInfo> paramInfo = methodInfo.GetParametersAsSpan();
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
458ReadOnlySpan<ParameterInfo> parameters = method.GetParametersAsSpan();
src\System\Reflection\RuntimeCustomAttributeData.cs (2)
263ReadOnlySpan<ParameterInfo> parameters = m_ctor.GetParametersAsSpan(); 405Debug.Assert(allCtors[0].GetParametersAsSpan().Length == 0);
src\System\RuntimeType.CoreCLR.cs (3)
2295ReadOnlySpan<ParameterInfo> parameterInfos = methodBase.GetParametersAsSpan(); 2858if (firstCandidate.GetParametersAsSpan().IsEmpty) 3936if (invokeMethod.GetParametersAsSpan().Length == 0)