269 references to Method
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
352 /// <see cref="System.Delegate.Method"/>
Microsoft.AspNetCore.Components (1)
RenderTree\Renderer.cs (1)
524var methodInfo = GetRequiredEventBindingEntry(eventHandlerId).Callback.Delegate?.Method;
Microsoft.AspNetCore.Components.Tests (2)
EventCallbackTest.cs (2)
281var delegate_2 = (MulticastDelegate)MulticastDelegate.CreateDelegate(typeof(Action<EventArgs>), delegate_1.Target, delegate_1.Method); 443var delegate_2 = (MulticastDelegate)MulticastDelegate.CreateDelegate(typeof(Action<EventArgs>), delegate_1.Target, delegate_1.Method);
Microsoft.AspNetCore.Http (3)
Builder\ApplicationBuilder.cs (3)
136if (middleware.Method.Name == "CreateMiddleware") 141return middleware.Target.GetType().FullName + "." + middleware.Method.Name; 144return middleware.Method.Name.ToString();
Microsoft.AspNetCore.Http.Extensions (4)
RequestDelegateFactory.cs (4)
125private static readonly MethodInfo AsMemoryMethod = new Func<char[]?, int, int, Memory<char>>(MemoryExtensions.AsMemory).Method; 171/// <see cref="InferMetadata(MethodInfo, RequestDelegateFactoryOptions?)"/> would have inferred for the same <see cref="Delegate.Method"/> and populate <see cref="RequestDelegateFactoryOptions.EndpointBuilder"/> 189var targetableRequestDelegate = CreateTargetableRequestDelegate(handler.Method, targetExpression, factoryContext, targetFactory); 223/// <see cref="InferMetadata(MethodInfo, RequestDelegateFactoryOptions?)"/> would have inferred for the same <see cref="Delegate.Method"/> and populate <see cref="RequestDelegateFactoryOptions.EndpointBuilder"/>
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateFactoryTests.cs (4)
1154if (action.Method.Name.Contains("TestExplicitFromIEnumerableService", StringComparison.Ordinal)) 2110var parameter = action.Method.GetParameters()[0]; 2907var metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options); 2928var metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1642var methodInfo = action.Method;
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
1031var methodInfo = action.Method;
Microsoft.AspNetCore.Routing (4)
Builder\EndpointRouteBuilderExtensions.cs (2)
201.AddRequestDelegate(pattern, requestDelegate, httpMethods, CreateHandlerRequestDelegate, requestDelegate.Method); 439.AddRouteHandler(pattern, handler, httpMethods, isFallback, RequestDelegateFactory.InferMetadata, RequestDelegateFactory.Create, handler.Method);
Builder\RouteHandlerServices.cs (1)
48return Map(endpoints, pattern, handler, httpMethods, populateMetadata, createRequestDelegate, handler.Method);
RequestDelegateFilterPipelineBuilder.cs (1)
27MethodInfo = requestDelegate.Method,
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
2105public bool HasResult => _callback.Method.ReturnType == typeof(Task<object>);
Microsoft.CodeAnalysis (1)
InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\MockDesktopTask.cs (1)
34=> m_action.Method.ToString();
Microsoft.CodeAnalysis.Threading.Package (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.CodeAnalysis.UnitTests (6)
AnalyzerAssemblyLoaderTests.cs (6)
99testAction.Method, 112testAction.Method, 144testAction.Method.DeclaringType!.FullName!, 145testAction.Method.Name, 159testAction.Method.DeclaringType!.FullName!, 160testAction.Method.Name,
Microsoft.CodeAnalysis.Workspaces (5)
CodeActions\CodeAction.cs (2)
119static codeAction => new Func<CancellationToken, Task<IEnumerable<CodeActionOperation>>>(codeAction.ComputeOperationsAsync).Method.DeclaringType != typeof(CodeAction)); 127static codeAction => new Func<CancellationToken, Task<Solution?>>(codeAction.GetChangedSolutionAsync).Method.DeclaringType != typeof(CodeAction));
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Workspace\Solution\FileTextLoader.cs (1)
68GetType(), _ => new StrongBox<bool>(new Func<Stream, Workspace, SourceText>(CreateText).Method.DeclaringType != typeof(FileTextLoader))).Value;
Workspace\Solution\TextLoader.cs (1)
65_ => new StrongBox<bool>(new Func<Workspace, DocumentId, CancellationToken, Task<TextAndVersion>>(LoadTextAndVersionAsync).Method.DeclaringType != typeof(TextLoader))).Value)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
81var convertedDelegate = Delegate.CreateDelegate(targetHandlerProperty.FieldType, handler.Target, handler.Method);
Microsoft.Extensions.AI (2)
Functions\AIFunctionFactory.cs (2)
128return ReflectionAIFunction.Build(method.Method, method.Target, options ?? _defaultOptions); 227return ReflectionAIFunction.Build(method.Method, method.Target, createOptions);
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
550JsonElement schema = AIJsonUtilities.CreateFunctionJsonSchema(method.Method, inferenceOptions: new()
Microsoft.Extensions.AI.Tests (4)
Functions\AIFunctionFactoryTest.cs (4)
149Assert.Same(dotnetFunc.Method, func.UnderlyingMethod); 155Assert.Same(dotnetFunc2.Method, func.UnderlyingMethod); 161Assert.Same(dotnetFunc3.Method, func.UnderlyingMethod); 192Assert.Same(dotnetFunc.Method, func.UnderlyingMethod);
Microsoft.Extensions.DependencyInjection (3)
CallSiteJsonFormatter.cs (1)
106argument.WriteProperty("method", factoryCallSite.Factory.Method);
DependencyInjectionEventSource.cs (2)
255builder.Append(descriptor.ImplementationFactory.Method); 260builder.Append(descriptor.KeyedImplementationFactory.Method);
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilities.cs (1)
38new Func<IServiceProvider, Type, Type, bool, object?, object?>(GetService).Method;
ServiceDescriptor.cs (2)
1050debugText += $@", KeyedImplementationFactory = {KeyedImplementationFactory.Method}"; 1065debugText += $@", ImplementationFactory = {ImplementationFactory.Method}";
Microsoft.Maui.Controls (2)
Interactivity\EventTrigger.cs (1)
81 _handlerdelegate = ((EventHandler)OnEventTriggered).Method.CreateDelegate(_eventinfo.EventHandlerType, this);
PlatformBindingHelpers.cs (1)
167 handlerDelegate = ((EventHandler)OnPropertyChanged).Method.CreateDelegate(updateSourceEvent.EventHandlerType, this);
Microsoft.ML.Core (12)
Utilities\FuncInstanceMethodInfo1`2.cs (1)
32: this(function.Method)
Utilities\FuncInstanceMethodInfo1`3.cs (1)
33: this(function.Method)
Utilities\FuncInstanceMethodInfo1`4.cs (1)
34: this(function.Method)
Utilities\FuncInstanceMethodInfo2`4.cs (1)
34: this(function.Method)
Utilities\FuncInstanceMethodInfo3`3.cs (1)
33: this(function.Method)
Utilities\FuncInstanceMethodInfo3`4.cs (1)
34: this(function.Method)
Utilities\FuncStaticMethodInfo1`1.cs (1)
27: base(function.Method)
Utilities\FuncStaticMethodInfo1`2.cs (1)
28: base(function.Method)
Utilities\FuncStaticMethodInfo1`3.cs (1)
29: base(function.Method)
Utilities\FuncStaticMethodInfo2`3.cs (1)
29: base(function.Method)
Utilities\FuncStaticMethodInfo3`2.cs (1)
28: base(function.Method)
Utilities\FuncStaticMethodInfo3`3.cs (1)
29: base(function.Method)
Microsoft.ML.Data (4)
Transforms\ValueMapping.cs (1)
810var method = del.Method.GetGenericMethodDefinition().MakeGenericMethod(keyColumn.Type.RawType, valueColumn.Type.RawType);
Utilities\ColumnCursor.cs (3)
67var meth = del.Method.GetGenericMethodDefinition().MakeGenericMethod(typeof(T), colType.RawType); 80var meth = del.Method.GetGenericMethodDefinition().MakeGenericMethod(elementType); 88var meth = del.Method.GetGenericMethodDefinition().MakeGenericMethod(elementType, colVectorType.ItemType.RawType);
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
684var meth = func.Method;
Microsoft.ML.Transforms (2)
CustomMappingTransformer.cs (1)
62_contractAssembly = _mapAction.Method.DeclaringType.Assembly.FullName;
StatefulCustomMappingTransformer.cs (1)
60_contractAssembly = _mapAction.Method.DeclaringType.Assembly.FullName;
PresentationFramework (2)
MS\Internal\AppModel\ReturnEventSaver.cs (1)
70MethodInfo m = returnDelegate.Method;
MS\Internal\Data\ViewManager.cs (1)
373_callbackMethod = callback.Method;
PresentationUI (2)
MS\Internal\Documents\Application\ChainOfResponsibility.cs (2)
69action.Method.Name, 79action.Method.Name,
System.Linq.Expressions (10)
System\Linq\Expressions\Interpreter\CallInstruction.Generated.cs (10)
236public override string ToString() => "Call(" + _target.Method + ")"; 275public override string ToString() => "Call(" + _target.Method + ")"; 314public override string ToString() => "Call(" + _target.Method + ")"; 353public override string ToString() => "Call(" + _target.Method + ")"; 392public override string ToString() => "Call(" + _target.Method + ")"; 413public override string ToString() => "Call(" + _target.Method + ")"; 454public override string ToString() => "Call(" + _target.Method + ")"; 495public override string ToString() => "Call(" + _target.Method + ")"; 536public override string ToString() => "Call(" + _target.Method + ")"; 577public override string ToString() => "Call(" + _target.Method + ")";
System.Linq.Queryable (166)
System\Linq\Queryable.cs (166)
56new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, IQueryable<TSource>>(Where).Method, 69new Func<IQueryable<TSource>, Expression<Func<TSource, int, bool>>, IQueryable<TSource>>(Where).Method, 81new Func<IQueryable, IQueryable<TResult>>(OfType<TResult>).Method, 93new Func<IQueryable, IQueryable<TResult>>(Cast<TResult>).Method, 106new Func<IQueryable<TSource>, Expression<Func<TSource, TResult>>, IQueryable<TResult>>(Select).Method, 119new Func<IQueryable<TSource>, Expression<Func<TSource, int, TResult>>, IQueryable<TResult>>(Select).Method, 132new Func<IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TResult>>>, IQueryable<TResult>>(SelectMany).Method, 145new Func<IQueryable<TSource>, Expression<Func<TSource, int, IEnumerable<TResult>>>, IQueryable<TResult>>(SelectMany).Method, 159new Func<IQueryable<TSource>, Expression<Func<TSource, int, IEnumerable<TCollection>>>, Expression<Func<TSource, TCollection, TResult>>, IQueryable<TResult>>(SelectMany).Method, 173new Func<IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource, TCollection, TResult>>, IQueryable<TResult>>(SelectMany).Method, 195new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>, IQueryable<TResult>>(Join).Method, 211new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(Join).Method, 227new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, IEnumerable<TInner>, TResult>>, IQueryable<TResult>>(GroupJoin).Method, 243new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, IEnumerable<TInner>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupJoin).Method, 259new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner?, TResult>>, IQueryable<TResult>>(LeftJoin).Method, 275new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner?, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(LeftJoin).Method, 311new Func<IQueryable<T>, IOrderedQueryable<T>>(Order).Method, 348new Func<IQueryable<T>, IComparer<T>, IOrderedQueryable<T>>(Order).Method, 361new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderBy).Method, 374new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderBy).Method, 410new Func<IQueryable<T>, IOrderedQueryable<T>>(OrderDescending).Method, 447new Func<IQueryable<T>, IComparer<T>, IOrderedQueryable<T>>(OrderDescending).Method, 460new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderByDescending).Method, 473new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderByDescending).Method, 489new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter?, TInner, TResult>>, IQueryable<TResult>>(RightJoin).Method, 505new Func<IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter?, TInner, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(RightJoin).Method, 518new Func<IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(ThenBy).Method, 531new Func<IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(ThenBy).Method, 544new Func<IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(ThenByDescending).Method, 557new Func<IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(ThenByDescending).Method, 569new Func<IQueryable<TSource>, int, IQueryable<TSource>>(Take).Method, 587new Func<IQueryable<TSource>, Range, IQueryable<TSource>>(Take).Method, 600new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, IQueryable<TSource>>(TakeWhile).Method, 613new Func<IQueryable<TSource>, Expression<Func<TSource, int, bool>>, IQueryable<TSource>>(TakeWhile).Method, 625new Func<IQueryable<TSource>, int, IQueryable<TSource>>(Skip).Method, 638new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, IQueryable<TSource>>(SkipWhile).Method, 651new Func<IQueryable<TSource>, Expression<Func<TSource, int, bool>>, IQueryable<TSource>>(SkipWhile).Method, 664new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IQueryable<IGrouping<TKey, TSource>>>(GroupBy).Method, 678new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, IQueryable<IGrouping<TKey, TElement>>>(GroupBy).Method, 691new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<IGrouping<TKey, TSource>>>(GroupBy).Method, 705new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, IEqualityComparer<TKey>, IQueryable<IGrouping<TKey, TElement>>>(GroupBy).Method, 720new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>, IQueryable<TResult>>(GroupBy).Method, 734new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>, IQueryable<TResult>>(GroupBy).Method, 748new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupBy).Method, 763new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupBy).Method, 775new Func<IQueryable<TSource>, IQueryable<TSource>>(Distinct).Method, 787new Func<IQueryable<TSource>, IEqualityComparer<TSource>, IQueryable<TSource>>(Distinct).Method, 807new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IQueryable<TSource>>(DistinctBy).Method, 828new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(DistinctBy).Method, 851new Func<IQueryable<TSource>, int, IQueryable<TSource[]>>(Chunk).Method, 864new Func<IQueryable<TSource>, IEnumerable<TSource>, IQueryable<TSource>>(Concat).Method, 877new Func<IQueryable<TFirst>, IEnumerable<TSecond>, IQueryable<(TFirst, TSecond)>>(Zip).Method, 891new Func<IQueryable<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst, TSecond, TResult>>, IQueryable<TResult>>(Zip).Method, 915new Func<IQueryable<TFirst>, IEnumerable<TSecond>, IEnumerable<TThird>, IQueryable<(TFirst, TSecond, TThird)>>(Zip).Method, 928new Func<IQueryable<TSource>, IEnumerable<TSource>, IQueryable<TSource>>(Union).Method, 941new Func<IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, IQueryable<TSource>>(Union).Method, 965new Func<IQueryable<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>, IQueryable<TSource>>(UnionBy).Method, 988new Func<IQueryable<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(UnionBy).Method, 1008new Func<IQueryable<TSource>, IQueryable<(int Index, TSource Item)>>(Index).Method, 1021new Func<IQueryable<TSource>, IEnumerable<TSource>, IQueryable<TSource>>(Intersect).Method, 1034new Func<IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, IQueryable<TSource>>(Intersect).Method, 1058new Func<IQueryable<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IQueryable<TSource>>(IntersectBy).Method, 1083new Func<IQueryable<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(IntersectBy).Method, 1099new Func<IQueryable<TSource>, IEnumerable<TSource>, IQueryable<TSource>>(Except).Method, 1112new Func<IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, IQueryable<TSource>>(Except).Method, 1137new Func<IQueryable<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IQueryable<TSource>>(ExceptBy).Method, 1163new Func<IQueryable<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(ExceptBy).Method, 1178new Func<IQueryable<TSource>, TSource>(First).Method, 1191new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource>(First).Method, 1203new Func<IQueryable<TSource>, TSource?>(FirstOrDefault).Method, 1221new Func<IQueryable<TSource>, TSource, TSource>(FirstOrDefault).Method, 1234new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource?>(FirstOrDefault).Method, 1254new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(FirstOrDefault).Method, 1266new Func<IQueryable<TSource>, TSource>(Last).Method, 1279new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource>(Last).Method, 1291new Func<IQueryable<TSource>, TSource?>(LastOrDefault).Method, 1309new Func<IQueryable<TSource>, TSource, TSource>(LastOrDefault).Method, 1322new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource?>(LastOrDefault).Method, 1342new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(LastOrDefault).Method, 1355new Func<IQueryable<TSource>, TSource>(Single).Method, 1368new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource>(Single).Method, 1380new Func<IQueryable<TSource>, TSource?>(SingleOrDefault).Method, 1399new Func<IQueryable<TSource>, TSource, TSource>(SingleOrDefault).Method, 1412new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource?>(SingleOrDefault).Method, 1433new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(SingleOrDefault).Method, 1448new Func<IQueryable<TSource>, int, TSource>(ElementAt).Method, 1470new Func<IQueryable<TSource>, Index, TSource>(ElementAt).Method, 1482new Func<IQueryable<TSource>, int, TSource?>(ElementAtOrDefault).Method, 1500new Func<IQueryable<TSource>, Index, TSource?>(ElementAtOrDefault).Method, 1512new Func<IQueryable<TSource>, IQueryable<TSource?>>(DefaultIfEmpty).Method, 1524new Func<IQueryable<TSource>, TSource, IQueryable<TSource?>>(DefaultIfEmpty).Method, 1536new Func<IQueryable<TSource>, TSource, bool>(Contains).Method, 1548new Func<IQueryable<TSource>, TSource, IEqualityComparer<TSource>, bool>(Contains).Method, 1560new Func<IQueryable<TSource>, IQueryable<TSource>>(Reverse).Method, 1573new Func<IQueryable<TSource>, IEnumerable<TSource>, bool>(SequenceEqual).Method, 1586new Func<IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, bool>(SequenceEqual).Method, 1600new Func<IQueryable<TSource>, IQueryable<TSource>>(Shuffle).Method, 1612new Func<IQueryable<TSource>, bool>(Any).Method, 1625new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, bool>(Any).Method, 1638new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, bool>(All).Method, 1650new Func<IQueryable<TSource>, int>(Count).Method, 1663new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, int>(Count).Method, 1684new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, int>>>(CountBy).Method, 1696new Func<IQueryable<TSource>, long>(LongCount).Method, 1709new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, long>(LongCount).Method, 1721new Func<IQueryable<TSource>, TSource?>(Min).Method, 1740new Func<IQueryable<TSource>, IComparer<TSource>, TSource?>(Min).Method, 1754new Func<IQueryable<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Min).Method, 1775new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MinBy).Method, 1801new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MinBy).Method, 1825new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, TSource?>(MinBy).Method, 1839new Func<IQueryable<TSource>, TSource?>(Max).Method, 1857new Func<IQueryable<TSource>, IComparer<TSource>, TSource?>(Max).Method, 1871new Func<IQueryable<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Max).Method, 1892new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MaxBy).Method, 1918new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MaxBy).Method, 1942new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, TSource?>(MaxBy).Method, 1956new Func<IQueryable<int>, int>(Sum).Method, 1968new Func<IQueryable<int?>, int?>(Sum).Method, 1980new Func<IQueryable<long>, long>(Sum).Method, 1992new Func<IQueryable<long?>, long?>(Sum).Method, 2004new Func<IQueryable<float>, float>(Sum).Method, 2016new Func<IQueryable<float?>, float?>(Sum).Method, 2028new Func<IQueryable<double>, double>(Sum).Method, 2040new Func<IQueryable<double?>, double?>(Sum).Method, 2052new Func<IQueryable<decimal>, decimal>(Sum).Method, 2064new Func<IQueryable<decimal?>, decimal?>(Sum).Method, 2077new Func<IQueryable<TSource>, Expression<Func<TSource, int>>, int>(Sum).Method, 2090new Func<IQueryable<TSource>, Expression<Func<TSource, int?>>, int?>(Sum).Method, 2103new Func<IQueryable<TSource>, Expression<Func<TSource, long>>, long>(Sum).Method, 2116new Func<IQueryable<TSource>, Expression<Func<TSource, long?>>, long?>(Sum).Method, 2129new Func<IQueryable<TSource>, Expression<Func<TSource, float>>, float>(Sum).Method, 2142new Func<IQueryable<TSource>, Expression<Func<TSource, float?>>, float?>(Sum).Method, 2155new Func<IQueryable<TSource>, Expression<Func<TSource, double>>, double>(Sum).Method, 2168new Func<IQueryable<TSource>, Expression<Func<TSource, double?>>, double?>(Sum).Method, 2181new Func<IQueryable<TSource>, Expression<Func<TSource, decimal>>, decimal>(Sum).Method, 2194new Func<IQueryable<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Sum).Method, 2206new Func<IQueryable<int>, double>(Average).Method, 2218new Func<IQueryable<int?>, double?>(Average).Method, 2230new Func<IQueryable<long>, double>(Average).Method, 2242new Func<IQueryable<long?>, double?>(Average).Method, 2254new Func<IQueryable<float>, float>(Average).Method, 2266new Func<IQueryable<float?>, float?>(Average).Method, 2278new Func<IQueryable<double>, double>(Average).Method, 2290new Func<IQueryable<double?>, double?>(Average).Method, 2302new Func<IQueryable<decimal>, decimal>(Average).Method, 2314new Func<IQueryable<decimal?>, decimal?>(Average).Method, 2327new Func<IQueryable<TSource>, Expression<Func<TSource, int>>, double>(Average).Method, 2340new Func<IQueryable<TSource>, Expression<Func<TSource, int?>>, double?>(Average).Method, 2353new Func<IQueryable<TSource>, Expression<Func<TSource, float>>, float>(Average).Method, 2366new Func<IQueryable<TSource>, Expression<Func<TSource, float?>>, float?>(Average).Method, 2379new Func<IQueryable<TSource>, Expression<Func<TSource, long>>, double>(Average).Method, 2392new Func<IQueryable<TSource>, Expression<Func<TSource, long?>>, double?>(Average).Method, 2405new Func<IQueryable<TSource>, Expression<Func<TSource, double>>, double>(Average).Method, 2418new Func<IQueryable<TSource>, Expression<Func<TSource, double?>>, double?>(Average).Method, 2431new Func<IQueryable<TSource>, Expression<Func<TSource, decimal>>, decimal>(Average).Method, 2444new Func<IQueryable<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Average).Method, 2457new Func<IQueryable<TSource>, Expression<Func<TSource, TSource, TSource>>, TSource>(Aggregate).Method, 2470new Func<IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, TAccumulate>(Aggregate).Method, 2484new Func<IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, Expression<Func<TAccumulate, TResult>>, TResult>(Aggregate).Method, 2514new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method, 2545new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, TAccumulate>>, Expression<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method, 2557new Func<IQueryable<TSource>, int, IQueryable<TSource>>(SkipLast).Method, 2570new Func<IQueryable<TSource>, int, IQueryable<TSource>>(TakeLast).Method, 2582new Func<IQueryable<TSource>, TSource, IQueryable<TSource>>(Append).Method, 2594new Func<IQueryable<TSource>, TSource, IQueryable<TSource>>(Prepend).Method,
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DiagnosticMethodInfo.cs (1)
57return new DiagnosticMethodInfo(@delegate.Method);
src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeReflectionExtensions.cs (1)
116return del.Method;
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (2)
627handler.Method.Name, 728handler.Method.Name,
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (1)
355m_action?.Method.ToString() ?? "{null}";
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
674private string DebuggerDisplayMethodDescription => m_action?.Method.ToString() ?? "{null}";
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (2)
526string? typeName = _timerCallback.Method.DeclaringType?.FullName; 535typeName + _timerCallback.Method.Name + "(" + (_state?.ToString() ?? "null") + ")";
src\System\MulticastDelegate.CoreCLR.cs (1)
505return ((Delegate)invocationList[index]).Method;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
321MethodInfo validationMethod = formatValidator.Method;
System.ServiceModel.Syndication (2)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
329if ((bool)parser.Method.Invoke(parser.Target, args)) 355if ((bool)dateTimeParser.Method.Invoke(dateTimeParser.Target, args))
System.Xaml.Tests (1)
System\Xaml\Replacements\EventConverterTests.cs (1)
54Assert.Equal(typeof(DelegateClass).GetMethod("Method"), actual.Method);