16 references to GetCallingAssembly
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.Forms (4)
Microsoft\VisualBasic\ApplicationServices\ApplicationBase.vb (1)
41Dim assembly As Reflection.Assembly = If(Reflection.Assembly.GetEntryAssembly(), Reflection.Assembly.GetCallingAssembly())
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
1089Dim applicationInstanceID As String = GetApplicationInstanceID(Assembly.GetCallingAssembly)
Microsoft\VisualBasic\Interaction.vb (2)
212Title = GetTitleFromAssembly(Reflection.Assembly.GetCallingAssembly()) 276sTitle = GetTitleFromAssembly(Reflection.Assembly.GetCallingAssembly())