Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions MonoMod.Backports.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
<Project Path="src/MonoMod.Backports/MonoMod.Backports.csproj" />
</Folder>
<Folder Name="/src/build/">
<Project Path="src/GenApiCompatDll/GenApiCompatDll.csproj" Id="265b1234-55c4-4edd-996c-12ac77527224" />
<Project Path="src/MonoMod.Backports.Tasks/MonoMod.Backports.Tasks.csproj" />
<Project Path="src/ShimGen/ShimGen.csproj" />
<Project Path="src/build/ArApiCompat/ArApiCompat.csproj" Id="f649f590-c696-40e4-9ff9-545aaf4b1fd4" />
<Project Path="src/build/FilterPackagesForRestore/FilterPackagesForRestore.csproj" Id="b5455b81-ea3d-491e-9913-50d209ea1391" />
<Project Path="src/build/GenApiCompatDll/GenApiCompatDll.csproj" Id="265b1234-55c4-4edd-996c-12ac77527224" />
<Project Path="src/build/MonoMod.Backports.Tasks/MonoMod.Backports.Tasks.csproj" />
<Project Path="src/build/ShimGen/ShimGen.csproj" />
</Folder>
</Solution>
481 changes: 272 additions & 209 deletions src/MonoMod.Backports.Shims/ApiCompat.targets

Large diffs are not rendered by default.

83 changes: 83 additions & 0 deletions src/MonoMod.Backports.Shims/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<ArCompatSuppressions>
<Comparison Left="net45 baseline" Right="net45 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="net452 baseline" Right="net452 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="net461 baseline" Right="net461 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="net5.0 baseline" Right="net5.0 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="netcoreapp2.0 baseline" Right="netcoreapp2.0 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="netcoreapp2.1 baseline" Right="netcoreapp2.1 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="netcoreapp3.0 baseline" Right="netcoreapp3.0 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
<Comparison Left="netcoreapp3.1 baseline" Right="netcoreapp3.1 shimmed">
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'new()' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
<Suppression DifferenceType="Added">
<TypeName>ArApiCompat.ApiCompatibility.Comparing.Rules.CannotChangeGenericConstraintDifference</TypeName>
<Message>Cannot add constraint 'struct' on type parameter 'T' of '!!0&amp; System.Runtime.CompilerServices.Unsafe::Unbox&lt;T&gt;(System.Object)'</Message>
</Suppression>
</Comparison>
</ArCompatSuppressions>
Loading