Skip to content

Commit f6eb259

Browse files
Disable generic math (#55540)
1 parent 87e98f3 commit f6eb259

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/coreclr/clr.featuredefines.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<FeaturePerfTracing>true</FeaturePerfTracing>
1010
<FeatureTypeEquivalence>true</FeatureTypeEquivalence>
1111
<FeatureBasicFreeze>true</FeatureBasicFreeze>
12-
<FeatureGenericMath>true</FeatureGenericMath>
12+
<FeatureGenericMath>false</FeatureGenericMath>
1313
<ProfilingSupportedBuild>true</ProfilingSupportedBuild>
1414
</PropertyGroup>
1515

src/libraries/System.Runtime/ref/System.Runtime.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4-
<FeatureGenericMath>true</FeatureGenericMath>
4+
<FeatureGenericMath>false</FeatureGenericMath>
55
<!-- It is a core assembly because it defines System.Object so we need to pass RuntimeMetadataVersion to the compiler -->
66
<RuntimeMetadataVersion>v4.0.30319</RuntimeMetadataVersion>
77
<!-- disable warnings about obsolete APIs,

src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4-
<FeatureGenericMath>true</FeatureGenericMath>
4+
<FeatureGenericMath>false</FeatureGenericMath>
55
<NoWarn>$(NoWarn),1718,SYSLIB0013</NoWarn>
66
<TestRuntime>true</TestRuntime>
77
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>

src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<FeatureMono>true</FeatureMono>
110110
<FeatureManagedEtwChannels>true</FeatureManagedEtwChannels>
111111
<FeatureManagedEtw>true</FeatureManagedEtw>
112-
<FeatureGenericMath>true</FeatureGenericMath>
112+
<FeatureGenericMath>false</FeatureGenericMath>
113113
<FeaturePortableTimer Condition="'$(TargetsBrowser)' != 'true'">true</FeaturePortableTimer>
114114
<FeaturePortableThreadPool Condition="'$(TargetsBrowser)' != 'true'">true</FeaturePortableThreadPool>
115115
<FeaturePerfTracing Condition="'$(TargetsBrowser)' != 'true'">true</FeaturePerfTracing>

0 commit comments

Comments
 (0)