51 references to Parameter
Microsoft.AspNetCore.Components.Forms (1)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
277var parameterExpression = Expression.Parameter(typeof(object));
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
277var parameterExpression = Expression.Parameter(typeof(object));
Microsoft.AspNetCore.Http.Extensions (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
88var coerceToAwaitableParam = Expression.Parameter(possibleFSharpAsyncType); 154var closedGenericTaskParam = Expression.Parameter(type); 160var closedGenericTaskParam = Expression.Parameter(type);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.cs (1)
736var unnamedParameter = Expression.Parameter(typeof(int));
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
88var coerceToAwaitableParam = Expression.Parameter(possibleFSharpAsyncType); 154var closedGenericTaskParam = Expression.Parameter(type); 160var closedGenericTaskParam = Expression.Parameter(type);
Microsoft.AspNetCore.OpenApi (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
88var coerceToAwaitableParam = Expression.Parameter(possibleFSharpAsyncType); 154var closedGenericTaskParam = Expression.Parameter(type); 160var closedGenericTaskParam = Expression.Parameter(type);
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
75var unnamedParameter = Expression.Parameter(typeof(int));
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
88var coerceToAwaitableParam = Expression.Parameter(possibleFSharpAsyncType); 154var closedGenericTaskParam = Expression.Parameter(type); 160var closedGenericTaskParam = Expression.Parameter(type);
Microsoft.AspNetCore.SignalR.Core (5)
Internal\HubMethodDescriptor.cs (2)
233Expression.Parameter(typeof(object)), 234Expression.Parameter(typeof(CancellationToken)),
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
88var coerceToAwaitableParam = Expression.Parameter(possibleFSharpAsyncType); 154var closedGenericTaskParam = Expression.Parameter(type); 160var closedGenericTaskParam = Expression.Parameter(type);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (2)
285var parameter1 = Expression.Parameter(memberInfo); 286var parameter2 = Expression.Parameter(memberInfo);
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (2)
17private static readonly ParameterExpression ScopeParameter = Expression.Parameter(typeof(ServiceProviderEngineScope)); 33private static readonly ParameterExpression CaptureDisposableParameter = Expression.Parameter(typeof(object));
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\Utils.vb (2)
355Dim parameter1 As ParameterExpression = Expression.Parameter(MemberInfo) 356Dim parameter2 As ParameterExpression = Expression.Parameter(MemberInfo)
System.Composition.TypedParts (5)
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (3)
74var lc = Expression.Parameter(typeof(LifetimeContext)); 75var op = Expression.Parameter(typeof(CompositionOperation)); 76var inst = Expression.Parameter(typeof(object));
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (2)
25var args = new[] { Expression.Parameter(typeof(LifetimeContext)), Expression.Parameter(typeof(CompositionOperation)) };
System.Linq.Expressions (17)
System\Linq\Expressions\Interpreter\LightCompiler.cs (15)
626local = _locals.DefineLocal(Expression.Parameter(node.Right.Type), _instructions.Count); 677LocalDefinition local = _locals.DefineLocal(Expression.Parameter(value.Type), start); 708LocalDefinition local = _locals.DefineLocal(Expression.Parameter(value.Type), start); 769LocalDefinition leftTemp = _locals.DefineLocal(Expression.Parameter(node.Left.Type), _instructions.Count); 773LocalDefinition rightTemp = _locals.DefineLocal(Expression.Parameter(node.Right.Type), _instructions.Count); 1047LocalDefinition opTemp = _locals.DefineLocal(Expression.Parameter(operandType), _instructions.Count); 1378LocalDefinition result = _locals.DefineLocal(Expression.Parameter(node.Left.Type), _instructions.Count); 1379LocalDefinition leftTemp = _locals.DefineLocal(Expression.Parameter(node.Left.Type), _instructions.Count); 1403LocalDefinition rightTemp = _locals.DefineLocal(Expression.Parameter(node.Right.Type), _instructions.Count); 1599LocalDefinition temp = _locals.DefineLocal(Expression.Parameter(node.SwitchValue.Type), _instructions.Count); 2009ParameterExpression parameter = handler.Variable ?? Expression.Parameter(handler.Test); 2270objTmp = _locals.DefineLocal(Expression.Parameter(indexNode.Object.Type), _instructions.Count); 2283LocalDefinition argTmp = _locals.DefineLocal(Expression.Parameter(arg.Type), _instructions.Count); 2360LocalDefinition objTmp = _locals.DefineLocal(Expression.Parameter(array.Type), _instructions.Count); 2371LocalDefinition argTmp = _locals.DefineLocal(Expression.Parameter(arg.Type), _instructions.Count);
System\Linq\Expressions\TypeBinaryExpression.cs (2)
93parameter = Expression.Parameter(typeof(object)); 116ParameterExpression temp = Expression.Parameter(typeof(Type));
System.Private.Xml (2)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
2075var objectParam = Expression.Parameter(typeof(TObj)); 2076var valueParam = Expression.Parameter(typeof(TParam));