Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric St. John <ericstj@microsoft.com>2018-02-26 23:49:10 +0300
committerEric St. John <ericstj@microsoft.com>2018-02-26 23:51:43 +0300
commit88a2a3fd5aac898c78067e4616c72370ffd751a3 (patch)
tree4f9f91b20d783f8407552b074d8f73d7b8acffac /src/System.Drawing.Primitives
parent1faf6266953148f888891a141ff0baa7c9c5b37f (diff)
Remove EnablePInvokeAnalyzer exceptions and replace with data files.
Diffstat (limited to 'src/System.Drawing.Primitives')
-rw-r--r--src/System.Drawing.Primitives/src/PinvokeAnalyzerExceptionList.analyzerdata1
-rw-r--r--src/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/System.Drawing.Primitives/src/PinvokeAnalyzerExceptionList.analyzerdata b/src/System.Drawing.Primitives/src/PinvokeAnalyzerExceptionList.analyzerdata
new file mode 100644
index 0000000000..f34a4770cf
--- /dev/null
+++ b/src/System.Drawing.Primitives/src/PinvokeAnalyzerExceptionList.analyzerdata
@@ -0,0 +1 @@
+user32.dll!GetSysColor
diff --git a/src/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj b/src/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
index fdc487ae3b..032f8247d1 100644
--- a/src/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
+++ b/src/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
@@ -7,8 +7,6 @@
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<ProjectGuid>{8F472B93-574C-4AEC-9D28-6C2360A55BBF}</ProjectGuid>
<DefineConstants Condition="'$(TargetsWindows)' == 'true' And '$(TargetGroup)' != 'uap'">$(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS</DefineConstants>
- <!-- This library contains PInvokes that cannot be used on OneCore. -->
- <EnablePInvokeAnalyzer>false</EnablePInvokeAnalyzer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />