17 references to GetCallingAssembly
illink (2)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (6)
WebAssemblyAuthenticationServiceCollectionExtensions.cs (6)
164return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 176return AddApiAuthorizationCore<TRemoteAuthenticationState, RemoteUserAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 191return AddApiAuthorizationCore<TRemoteAuthenticationState, TAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 203return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!); 217return AddApiAuthorizationCore<TRemoteAuthenticationState, RemoteUserAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!); 233return AddApiAuthorizationCore<TRemoteAuthenticationState, TAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!);
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Common\DeploymentParameters.cs (3)
18var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>(); 29var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>(); 68var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>();
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
83 sourceAssembly = sourceAssembly ?? Assembly.GetCallingAssembly();
Microsoft.ML.GenAI.Core (1)
Utils.cs (1)
169var assembly = Assembly.GetCallingAssembly();
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
WindowsHangDumper.cs (1)
144var dumpMinitoolPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)!, "dump", dumpMinitoolName);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (1)
181FileSystem.CloseAllFiles(System.Reflection.Assembly.GetCallingAssembly())
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
1045Dim applicationInstanceID As String = GetApplicationInstanceID(Assembly.GetCallingAssembly)
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
119ReadOnlySpan<char> shortAssemblyName = ReflectionUtils.GetAssemblyPartialName(Assembly.GetCallingAssembly());