136 references to Compile
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
568return lambda.Compile();
Microsoft.AspNetCore.Components.Forms (2)
FieldIdentifier.cs (1)
196var func = lambda.Compile();
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
281return replacedExpression.Compile();
Microsoft.AspNetCore.Components.QuickGrid (1)
Columns\PropertyColumn.cs (1)
46var compiledPropertyExpression = Property.Compile();
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
281return replacedExpression.Compile();
Microsoft.AspNetCore.Http.Abstractions (1)
Extensions\UseMiddlewareExtensions.cs (1)
325return lambda.Compile();
Microsoft.AspNetCore.Http.Extensions (18)
RequestDelegateFactory.cs (8)
477FilterContextExpr).Compile(); 1259responseWritingMethodCall, TargetExpr, HttpContextExpr, BoundValuesArrayExpr).Compile(); 1279responseWritingMethodCall, TargetExpr, HttpContextExpr).Compile(); 1307responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile(); 1344responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile(); 1442responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile(); 1476responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile(); 1985var bindAsyncDelegate = Expression.Lambda<Func<HttpContext, ValueTask<object?>>>(bindAsyncMethod.Expression, HttpContextExpr).Compile();
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
568return lambda.Compile();
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (9)
225var voidExecutor = lambda.Compile(); 233return lambda.Compile(); 288customAwaitableParam).Compile(); 297isCompletedParam).Compile(); 315getResultParam).Compile(); 327getResultParam).Compile(); 341onCompletedParam2).Compile(); 357unsafeOnCompletedParam2).Compile(); 383return lambda.Compile();
Microsoft.AspNetCore.Http.Extensions.Tests (8)
ParameterBindingMethodCacheTests.cs (8)
211parsedValue), ParameterBindingMethodCache.SharedExpressions.TempSourceStringExpr).Compile(); 233ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 264ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 389ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 407ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 425ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 441ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile(); 457ParameterBindingMethodCache.SharedExpressions.HttpContextExpr).Compile();
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
1702var method = expression.Compile();
Microsoft.AspNetCore.JsonPatch (1)
JsonPatchDocumentOfT.cs (1)
734var func = lambda.Compile();
Microsoft.AspNetCore.Mvc.Core (17)
ModelBinding\Binders\CollectionModelBinder.cs (1)
254.Compile();
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
216.Compile();
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
505.Compile();
ModelBinding\Binders\TryParseModelBinder.cs (1)
139return Expression.Lambda<Func<ValueProviderResult, ModelBindingContext, object?>>(expression, new[] { ValueProviderResultExpression, BindingContextExpression }).Compile();
ModelBinding\DefaultPropertyFilterProvider.cs (1)
51return expression.Compile();
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
260return factoryLamda.Compile();
ModelBinding\ModelBindingHelper.cs (1)
91var propertyFilter = expression.Compile();
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
77return expression.Compile();
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (9)
225var voidExecutor = lambda.Compile(); 233return lambda.Compile(); 288customAwaitableParam).Compile(); 297isCompletedParam).Compile(); 315getResultParam).Compile(); 327getResultParam).Compile(); 341onCompletedParam2).Compile(); 357unsafeOnCompletedParam2).Compile(); 383return lambda.Compile();
Microsoft.AspNetCore.Mvc.Razor (1)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
53.Compile();
Microsoft.AspNetCore.Mvc.RazorPages (5)
Infrastructure\DefaultPageActivatorProvider.cs (1)
76.Compile();
Infrastructure\ExecutorFactory.cs (4)
93arguments).Compile(); 127arguments).Compile(); 159arguments).Compile(); 187arguments).Compile();
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
CachedExpressionCompiler.cs (4)
113var identityFuncCore = expression.Compile(); 130var func = expression.Compile(); 183result = replacementExpression.Compile(); 231return rewrittenExpression.Compile();
ExpressionHelper.cs (1)
220func = CachedExpressionCompiler.Process(lambda) ?? lambda.Compile();
ExpressionMetadataProvider.cs (1)
84var func = expression.Compile();
ViewDataDictionaryFactory.cs (2)
30.Compile(); 49.Compile();
Microsoft.AspNetCore.OpenApi (9)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (9)
225var voidExecutor = lambda.Compile(); 233return lambda.Compile(); 288customAwaitableParam).Compile(); 297isCompletedParam).Compile(); 315getResultParam).Compile(); 327getResultParam).Compile(); 341onCompletedParam2).Compile(); 357unsafeOnCompletedParam2).Compile(); 383return lambda.Compile();
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
391var endpointBuilder = builder.Map(RoutePatternFactory.Parse("/"), handler.Compile());
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (9)
225var voidExecutor = lambda.Compile(); 233return lambda.Compile(); 288customAwaitableParam).Compile(); 297isCompletedParam).Compile(); 315getResultParam).Compile(); 327getResultParam).Compile(); 341onCompletedParam2).Compile(); 357unsafeOnCompletedParam2).Compile(); 383return lambda.Compile();
Microsoft.AspNetCore.SignalR.Core (10)
Internal\HubMethodDescriptor.cs (1)
247return lambda.Compile();
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (9)
225var voidExecutor = lambda.Compile(); 233return lambda.Compile(); 288customAwaitableParam).Compile(); 297isCompletedParam).Compile(); 315getResultParam).Compile(); 327getResultParam).Compile(); 341onCompletedParam2).Compile(); 357unsafeOnCompletedParam2).Compile(); 383return lambda.Compile();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (7)
Lightup\LightupHelpers.cs (7)
96return expression.Compile(); 148return expression.Compile(); 221return expression.Compile(); 276return expression.Compile(); 332return expression.Compile(); 407return expression.Compile(); 497return expression.Compile();
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
35CreateEnum = Expression.Lambda<Func<string, TStringEnumType>>(body, param).Compile();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
46self.Compile()
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (1)
291parameter1, parameter2).Compile();
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
HelperFactory.cs (2)
169var function = result.Compile(); 203var function = result.Compile();
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
75return expression.Compile();
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ActivatorUtilities.cs (2)
297ObjectFactory? result = factoryLambda.Compile(); 330ObjectFactory<T>? result = factoryLambda.Compile();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
361{parameter1, parameter2}).Compile()
PresentationFramework (10)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (10)
373typeof(object)), parms).Compile(); 383typeof(object)), parms).Compile(); 394new Expression[] { Expression.Convert(parms[0], MarshalerType), parms[1] }), parms).Compile(); 403new[] { Expression.Convert(parms[0], AbiType) }), parms).Compile(); 412typeof(object)), parms).Compile(); 422Expression.Call(copyManaged, parms), parms).Compile(); 431new[] { Expression.Convert(parms[0], MarshalerType) }), parms).Compile(); 888Expression.Call(fromAbiMethod, parms[0])), parms).Compile(); 897HelperType.GetField("_obj", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)), parms).Compile(); 908), parms).Compile();
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (1)
266_compiledConstraint ??= Constraint.Compile();
System.Composition.Hosting (2)
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (2)
40.Compile(); 70.Compile();
System.Composition.TypedParts (4)
System\Composition\TypedParts\ActivationFeatures\OnImportsSatisfiedFeature.cs (1)
55Expression.Call(Expression.Convert(ois, partType.AsType()), m), ois).Compile();
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (1)
104setAll, inst, lc, op).Compile();
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
199.Compile();
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
33return ExportDescriptor.Create(activator.Compile(), Metadata);
System.Linq.Expressions (5)
System\Linq\Expressions\LambdaExpression.cs (2)
242return Compile(); 331return Compile();
System\Runtime\CompilerServices\CallSite.cs (2)
665return lambda.Compile(); 681).Compile();
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
135T newRule = e.Compile();
System.Linq.Queryable (2)
System\Linq\EnumerableExecutor.cs (1)
46Func<T> func = f.Compile();
System\Linq\EnumerableQuery.cs (1)
111IEnumerable<T> enumerable = f.Compile()();
System.Private.Xml (1)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
2138setTypedDelegate = Expression.Lambda<Action<TObj, TParam>>(assignExpr, objectParam, valueParam).Compile();
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
196return lambda.Compile();