3 instantiations of DiagnosticMethodInfo
System.Private.CoreLib (2)
System\Delegate.NativeAot.cs (2)
313return new DiagnosticMethodInfo("Invoke", t.FullName, t.Module.Assembly.FullName); 323return new DiagnosticMethodInfo(mi.Name, declaringType.FullName, mi.Module.Assembly.FullName);
System.Private.StackTraceMetadata (1)
Internal\StackTraceMetadata\StackTraceMetadata.cs (1)
243return new DiagnosticMethodInfo(
22 references to DiagnosticMethodInfo
Microsoft.Extensions.DependencyInjection.Abstractions (4)
ServiceDescriptor.cs (4)
268DiagnosticMethodInfo? dmi = DiagnosticMethodInfo.Create(KeyedImplementationFactory); 292DiagnosticMethodInfo? dmi = DiagnosticMethodInfo.Create(ImplementationFactory);
System.Diagnostics.StackTrace (1)
src\runtime\artifacts\obj\System.Diagnostics.StackTrace\Release\net12.0\System.Diagnostics.StackTrace.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.DiagnosticMethodInfo))]
System.Private.CoreLib (12)
Internal\Runtime\Augments\StackTraceMetadataCallbacks.cs (2)
22public abstract DiagnosticMethodInfo TryGetDiagnosticMethodInfoFromStartAddress(IntPtr methodStartAddress); 24public abstract DiagnosticMethodInfo TryGetDiagnosticMethodInfoFromFunctionPointer(IntPtr functionPointer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\LoggingExtensions.cs (2)
12DiagnosticMethodInfo? dmi = DiagnosticMethodInfo.Create(@delegate);
System\Delegate.NativeAot.cs (1)
299internal DiagnosticMethodInfo GetDiagnosticMethodInfo()
System\Diagnostics\DiagnosticMethodInfo.NativeAot.cs (2)
20public static DiagnosticMethodInfo? Create(Delegate @delegate) 26public static DiagnosticMethodInfo? Create(StackFrame frame)
System\Diagnostics\StackFrame.NativeAot.cs (2)
56[RequiresUnreferencedCode("Metadata for the method might be incomplete or removed. Consider using " + nameof(DiagnosticMethodInfo) + "." + nameof(DiagnosticMethodInfo.Create) + " instead")]
System\Reflection\Assembly.NativeAot.cs (3)
36DiagnosticMethodInfo? dmi = null; 45dmi = DiagnosticMethodInfo.Create(frame); 63dmi ??= DiagnosticMethodInfo.Create(new StackFrame(1));
System.Private.StackTraceMetadata (5)
Internal\StackTraceMetadata\StackTraceMetadata.cs (5)
186public static unsafe DiagnosticMethodInfo? GetDiagnosticMethodInfoFromStartAddressIfAvailable(IntPtr methodStartAddress) 214private static DiagnosticMethodInfo GetDiagnosticMethodInfoFromFunctionPointerIfAvailable(IntPtr functionPointer) 236private static DiagnosticMethodInfo CreateDiagnosticMethodInfo(MetadataReader reader, Handle owningType, ConstantStringValueHandle name) 348public override DiagnosticMethodInfo TryGetDiagnosticMethodInfoFromStartAddress(nint methodStartAddress) 353public override DiagnosticMethodInfo TryGetDiagnosticMethodInfoFromFunctionPointer(IntPtr functionPointer)