22 references to New
Microsoft.AspNetCore.Http.Extensions (6)
RequestDelegateFactory.cs (5)
105private static readonly NewExpression EmptyHttpResultValueTaskExpr = Expression.New(typeof(ValueTask<object>).GetConstructor(new[] { typeof(EmptyHttpResult) })!, Expression.Property(null, typeof(EmptyHttpResult), nameof(EmptyHttpResult.Instance))); 592var fallbackConstruction = Expression.New( 632return Expression.New(constructor, expandedArguments); 1591initExpression = Expression.New(constructor, constructorArguments); 2143Expression.New(FormDataReaderConstructor,
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
373var returnValueExpression = Expression.New(
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
295return Expression.New(constructor, constructorArguments);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
373var returnValueExpression = Expression.New(
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewDataDictionaryFactory.cs (2)
26Expression.New(constructor, parameter1, parameter2), 46Expression.New(constructor, parameter),
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
373var returnValueExpression = Expression.New(
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
373var returnValueExpression = Expression.New(
Microsoft.AspNetCore.SignalR.Core (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
373var returnValueExpression = Expression.New(
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\SumConverter.cs (1)
158var body = Expression.New(
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
136Expression.New(
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (1)
469return Expression.New(constructor, arguments);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
187Expression expression = Expression.New(callSite.ConstructorInfo, parameterExpressions);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
437Expression.New(constructor, constructorArguments));
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (1)
887Expression.New(objReferenceConstructor,
PresentationFramework-SystemCore (1)
DynamicAccessorImpl.cs (1)
236Expression.New(
System.Composition.Hosting (1)
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (1)
38Expression.New(dictionaryConstructor, providerArg),
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
195Expression body = Expression.Convert(Expression.New(_constructor, paramActivatorCalls), typeof(object));