24 references to IsElevated
dotnet (24)
Commands\Workload\Install\MsiInstallerBase.cs (17)
173
if (
IsElevated
)
187
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
209
if (
IsElevated
)
222
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
238
if (
IsElevated
)
251
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
259
if (
IsElevated
)
273
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
281
if (
IsElevated
)
302
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
322
if (
IsElevated
)
339
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
353
if (
IsElevated
)
372
throw new InvalidOperationException($"Invalid configuration: elevated: {
IsElevated
}, client: {IsClient}");
518
if (
IsElevated
)
561
if (
IsElevated
)
594
if (
IsElevated
)
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (4)
60
Log?.LogMessage($"{nameof(
IsElevated
)}: {
IsElevated
}");
69
if (
IsElevated
)
718
if (
IsElevated
)
Commands\Workload\Install\WorkloadInstallRecords\RegistryWorkloadInstallationRecordRepository.cs (2)
54
if (
IsElevated
)
98
if (
IsElevated
)
Installer\Windows\MsiPackageCache.cs (1)
51
if (
IsElevated
)