File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
src/libraries/Common/tests/TestUtilities/System Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public static partial class PlatformDetection
3131
3232 public static bool IsMonoLinuxArm64 => IsMonoRuntime && IsLinux && IsArm64Process ;
3333 public static bool IsNotMonoLinuxArm64 => ! IsMonoLinuxArm64 ;
34+ public static bool IsQemuLinux => IsLinux && Environment . GetEnvironmentVariable ( "DOTNET_RUNNING_UNDER_QEMU" ) != null ;
3435 public static bool IsNotQemuLinux => ! IsQemuLinux ;
3536
3637 // OSX family
@@ -112,19 +113,6 @@ public static bool OpenSslPresentOnSystem
112113 }
113114 }
114115
115- public static bool IsQemuLinux
116- {
117- get
118- {
119- if ( IsLinux )
120- {
121- return Environment . GetEnvironmentVariable ( "DOTNET_RUNNING_UNDER_QEMU" ) != null ;
122- }
123-
124- return false ;
125- }
126- }
127-
128116 private static Version s_opensslVersion ;
129117 private static Version GetOpenSslVersion ( )
130118 {
You can’t perform that action at this time.
0 commit comments