theraot / Theraot

Backporting .NET and more: LINQ expressions in .net 2.0 - nuget Theraot.Core available.
MIT License
158 stars 30 forks source link

Fix build warnings #148

Closed NN--- closed 3 years ago

NN--- commented 3 years ago
Theraot\Framework.Core\System\EventHandlerEx.cs(5,26): warning CA1003: Remove 'EventHandlerEx' and replace its usage with a generic EventHandler, for example EventHandler<T>, where T is a valid EventArgs [Theraot\Framework.Core\Framework.Core.csproj]
Theraot\Framework.Core\Theraot\Collections\ThreadSafe\IEvent.cs(17,14): warning CA2109: Consider making 'Invoke' not externally visible [Theraot\Framework.Core\Framework.Core.csproj]
Theraot\TestRunner\AvailabilityTests.cs(296,26): warning SYSLIB0004: 'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' [Theraot\TestRunner\TestRunner.csproj]
Theraot\TestRunner\AvailabilityTests.cs(298,26): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\TestRunner\TestRunner.csproj]
Theraot\TestRunner\AvailabilityTests.cs(300,26): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\TestRunner\TestRunner.csproj]
Theraot\Tests\Helpers\Utilities.cs(31,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\Helpers\Utilities.cs(31,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(15,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(15,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(38,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(38,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(62,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\SystemTests\DiagnosticsTests\ContractsTests\AssertTests.cs(62,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(69,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(69,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(93,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(93,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(123,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(123,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(154,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\YieldAwaitableTest.cs(154,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(556,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(556,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(626,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(626,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(647,10): warning SYSLIB0003: 'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\System\Runtime\CompilationServices\ConditionalWeakTableTest.cs(647,29): warning SYSLIB0003: 'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\TheraotTests\CollectionsTests\ThreadSafeTests\FixedSizeBucketTests.cs(37,17): warning SYSLIB0011: 'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\TheraotTests\CollectionsTests\ThreadSafeTests\FixedSizeBucketTests.cs(49,48): warning SYSLIB0011: 'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\TheraotTests\CollectionsTests\ThreadSafeTests\BucketTests.cs(37,17): warning SYSLIB0011: 'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [Theraot\Tests\Tests.csproj]
Theraot\Tests\TheraotTests\CollectionsTests\ThreadSafeTests\BucketTests.cs(49,39): warning SYSLIB0011: 'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [Theraot\Tests\Tests.csproj]