mirror of
https://github.com/Kae7in/perfview
synced 2026-08-09 12:09:44 +00:00
The contract class is only needed when building for V3.5 runtimes. #ifdef it out
This commit is contained in:
+7
-1
@@ -1,4 +1,8 @@
|
||||
using System;
|
||||
// If you are compiling for a .NET Runtime before V4.0 than you need to provide these stubs that
|
||||
// define the Contract class.
|
||||
#if PRE_V4_0
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Diagnostics.Contracts
|
||||
{
|
||||
@@ -34,3 +38,5 @@ namespace System.Diagnostics.Contracts
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user