10 overrides of ReturnParameter
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
377
public override ParameterInfo
ReturnParameter
=> new RuntimeParameterInfo(this, null, _returnType, -1);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
101
public override ParameterInfo
ReturnParameter
=> throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
121
public override ParameterInfo
ReturnParameter
=> throw new NotSupportedException();
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
467
public override ParameterInfo
ReturnParameter
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
320
public override ParameterInfo
ReturnParameter
=> FetchReturnParameter();
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
91
public override ParameterInfo
ReturnParameter
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
56
public sealed override ParameterInfo
ReturnParameter
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
101
public override ParameterInfo
ReturnParameter
=> throw new NotSupportedException();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
89
public sealed override ParameterInfo
ReturnParameter
=> MethodSig.Return;
System.Xaml.Tests (1)
Common\CustomMethodInfo.cs (1)
47
public override ParameterInfo
ReturnParameter
=> ReturnParameterResult.Or(DelegatingMethod.ReturnParameter);
35 references to ReturnParameter
dotnet-svcutil-lib (8)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (2)
949
if (methodInfo.
ReturnParameter
!= null)
951
return (!IsParameterDisposable(methodInfo.
ReturnParameter
.ParameterType));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (4)
529
!ParameterInfosMatch(method1.
ReturnParameter
, method2.
ReturnParameter
))
1161
methodInfo.
ReturnParameter
,
1171
methodInfo.
ReturnParameter
,
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
73
_returnParam = operation.EndMethod.
ReturnParameter
;
79
_returnParam = _syncMethod.
ReturnParameter
;
Microsoft.AspNetCore.Http.Extensions (2)
HeaderDictionaryTypeExtensions.cs (2)
269
methodInfo.
ReturnParameter
.ParameterType.Equals(typeof(bool)))
306
&& methodInfo.
ReturnParameter
.ParameterType.Equals(typeof(Boolean)))
Microsoft.AspNetCore.OpenApi (1)
Extensions\TypeExtensions.cs (1)
71
var nullabilityInfo = nullabilityInfoContext.Create(methodInfo.
ReturnParameter
);
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
430
AppendParameterInfo(method.
ReturnParameter
, sb);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Property.cs (1)
51
var types = (mwtSet.Meth()?.AssociatedMemberInfo as MethodInfo)?.
ReturnParameter
.GetRequiredCustomModifiers();
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
695
description: key.Method.
ReturnParameter
.GetCustomAttribute<DescriptionAttribute>(inherit: true)?.Description,
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (1)
1270
Dim customModifierTypes As Type() = method?.
ReturnParameter
.GetRequiredCustomModifiers()
System.Composition.Convention (1)
System\Composition\Convention\PartConventionBuilder.cs (1)
616
if (mi.
ReturnParameter
.ParameterType == typeof(void)
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (2)
103
metaParameter = string.IsNullOrEmpty(parameter.Name) ? metaMethod.
ReturnParameter
: GetMetaParameter(metaMethod, parameter);
204
CheckNullabilityAttributes(nullability, getter.
ReturnParameter
.GetCustomAttributesData());
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
76
return ((MethodInfo)MemberImpl).
ReturnParameter
;
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
476
return rmi.
ReturnParameter
;
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (3)
471
ParameterInfo? returnParameter = method is MethodInfo mi ? mi.
ReturnParameter
: null;
1040
method.
ReturnParameter
.GetRequiredCustomModifiers(), method.
ReturnParameter
.GetOptionalCustomModifiers(),
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
93
get { return UnderlyingMethod.
ReturnParameter
; }
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (2)
86
Type[] returnTypeOptionalModifiers = method.
ReturnParameter
.GetOptionalCustomModifiers();
87
Type[] returnTypeRequiredModifiers = method.
ReturnParameter
.GetRequiredCustomModifiers();
System.ServiceModel.Primitives (8)
System\ServiceModel\Description\ServiceReflector.cs (2)
989
if (methodInfo.
ReturnParameter
!= null)
991
return (!IsParameterDisposable(methodInfo.
ReturnParameter
.ParameterType));
System\ServiceModel\Description\TypeLoader.cs (4)
542
!ParameterInfosMatch(method1.
ReturnParameter
, method2.
ReturnParameter
))
1188
methodInfo.
ReturnParameter
,
1198
methodInfo.
ReturnParameter
,
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
69
_returnParam = operation.EndMethod.
ReturnParameter
;
75
_returnParam = _syncMethod.
ReturnParameter
;
System.Xaml.Tests (1)
Common\CustomMethodInfo.cs (1)
47
public override ParameterInfo ReturnParameter => ReturnParameterResult.Or(DelegatingMethod.
ReturnParameter
);