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

System.Private.Interop.csproj « src « System.Private.Interop « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3561abda8b8cb6945f5ccc48b55cefe518dd92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
  <PropertyGroup>
    <AssemblyName Condition="'$(AssemblyName)' == ''">System.Private.Interop</AssemblyName>
    <OutputType>Library</OutputType>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <DefineConstants>$(DefineConstants);TARGET_CORE_API_SET</DefineConstants>
    <!-- Disable warning about CLSCompliant attributes on members not being needed. -->
    <NoWarn>$(NoWarn);3021</NoWarn>
    <!-- Use MSFT assembly key for compatibility with uapaot targeting pack -->
    <AssemblyKey>MSFT</AssemblyKey>
    <IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly>
  </PropertyGroup>
  <ItemGroup>
    <ReferencePath Include="$(AotPackageReferencePath)\System.Runtime.dll" />
    <ReferencePath Include="$(AotPackageReferencePath)\System.Runtime.Extensions.dll" />
  </ItemGroup>
  <ItemGroup Condition="'$(IsProjectNLibrary)' != 'true'">
    <ProjectReference Include="..\..\AotPackageReference\AotPackageReference.depproj">
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
      <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
    </ProjectReference>
    <ProjectReference Include="..\..\System.Private.CoreLib\src\System.Private.CoreLib.csproj" />
    <ProjectReference Condition="'$(DynamicCodeSupport)' != 'true'" Include="..\..\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj" />
    <ProjectReference Condition="'$(DynamicCodeSupport)' == 'true'" Include="..\..\System.Private.TypeLoader\src\System.Private.TypeLoader.Experimental.csproj" />
  </ItemGroup>

  <Import Project="System.Private.Interop.Shared.projitems" />
  
  <ItemGroup Condition="'$(IsProjectNLibrary)' == 'true'">
    <Compile Include="System\Reflection\DispatchProxy.cs" />
    <Compile Include="System\Reflection\DispatchProxyEntry.cs" />
    <Compile Include="System\Reflection\DispatchProxyHelpers.cs" />
    <Compile Include="System\Reflection\DispatchProxyInstanceNotFoundException.cs" />
  </ItemGroup>
 
  <ItemGroup>
    <Compile Include="TypeForwarders.cs" />
    <!-- TODO  We should not include anything from CompilerServices directly -->
    <Compile Include="System\Runtime\CompilerServices\FunctionPointerHelpers.cs" />
    <Compile Include="..\..\Common\src\Internal\Runtime\LowLevelStringConverter.cs">
      <Link>Internal\Runtime\LowLevelStringConverter.cs</Link>
    </Compile>
    <Compile Include="Shared\ComException.cs" />
    <Compile Include="Shared\Marshal.cs" />
    <Compile Condition="'$(EnableWinRT)'=='true'" Include="Shared\WindowsRuntimeMarshal.cs" />
    <Compile Include="System\Runtime\InteropServices\AllowReversePInvokeCallsAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ArrayWithOffset.cs" />
    <Compile Include="System\Runtime\InteropServices\BStrWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\ClassInterfaceAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ClassInterfaceType.cs" />
    <Compile Include="System\Runtime\InteropServices\CoClassAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ComDefaultInterfaceAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ComEventInterfaceAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ComEventsHelper.cs" />
    <Compile Include="System\Runtime\InteropServices\ComImportAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ComInterfaceType.cs" />
    <Compile Include="System\Runtime\InteropServices\ComMemberType.cs" />
    <Compile Include="System\Runtime\InteropServices\ComSourceInterfacesAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\CurrencyWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\CustomQueryInterfaceMode.cs" />
    <Compile Include="System\Runtime\InteropServices\CustomQueryInterfaceResult.cs" />
    <Compile Include="System\Runtime\InteropServices\DispatchWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\DispIdAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ErrorWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\ICustomAdapter.cs" />
    <Compile Include="System\Runtime\InteropServices\ICustomFactory.cs" />
    <Compile Include="System\Runtime\InteropServices\ICustomMarshaler.cs" />
    <Compile Include="System\Runtime\InteropServices\ICustomQueryInterface.cs" />
    <Compile Include="System\Runtime\InteropServices\InterfaceTypeAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\InvalidComObjectException.cs" />
    <Compile Include="System\Runtime\InteropServices\InvalidOleVariantTypeException.cs" />
    <Compile Include="System\Runtime\InteropServices\LCIDConversionAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal.cs" />
    <Compile Include="System\Runtime\InteropServices\MissingInteropDataException.cs" />
    <Compile Include="System\Runtime\InteropServices\ProgIdAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\SafeArrayRankMismatchException.cs" />
    <Compile Include="System\Runtime\InteropServices\SafeArrayTypeMismatchException.cs" />
    <Compile Include="System\Runtime\InteropServices\SEHException.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeIdentifierAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\UnknownWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\Variant.cs" />
    <Compile Include="System\Runtime\InteropServices\VariantWrapper.cs" />
    <Compile Include="System\Runtime\InteropServices\HandleCollector.cs" />
    <Compile Include="System\Runtime\InteropServices\DefaultParameterValueAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\ComAwareEventInfo.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\EventRegistrationToken.cs" />

    <Compile Include="System\Runtime\InteropServices\ComTypes\advf.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\bindopts.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\bindptr.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\callconv.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\connectdata.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\datadir.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\desckind.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\dispparams.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\dvaspect.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\elemdesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\excepinfo.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\filetime.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\formatetc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\funcdesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\funcflags.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\funckind.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IAdviseSink.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IBindCtx.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IConnectionPoint.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IConnectionPointContainer.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\idldesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\idlflag.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumConnectionPoints.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumConnections.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumFormatETC.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumMoniker.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumString.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IEnumVARIANT.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IMoniker.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\impltypeflags.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\invokekind.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IPersistFile.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IRunningObjectTable.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\IStream.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\ITypeComp.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\ITypeInfo.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\ITypeInfo2.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\ITypeLib.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\ITypeLib2.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\libflags.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\paramdesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\paramflag.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\statdata.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\statstg.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\stgmedium.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\syskind.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\tymed.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\typeattr.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\typedesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\typeflags.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\typekind.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\typelibattr.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\vardesc.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\varflags.cs" />
    <Compile Include="System\Runtime\InteropServices\ComTypes\varkind.cs" />
    <Compile Include="Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs"/>

    <Compile Condition="'$(IsProjectNLibrary)' == 'true'" Include="Internal\Runtime\CompilerHelpers\RuntimeInteropData.ProjectN.cs"/>
    <Compile Condition="'$(IsProjectNLibrary)' != 'true'" Include="Internal\Runtime\CompilerHelpers\RuntimeInteropData.CoreRT.cs"/>

    <!-- TODO This should be really only needed for CoreCLR flavor of S.P.Interop. -->
    <!-- See https://github.com/dotnet/corert/pull/5404 -->
    <Compile Condition="'$(IsProjectNLibrary)' == 'true'" Include="System\Runtime\InteropServices\MarshalAdapter.cs" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(IsProjectNLibrary)' != 'true'">
    <Compile Include="..\..\Common\src\Internal\Runtime\MetadataBlob.cs">
      <Link>MetadataBlob.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\System\Runtime\CompilerServices\__BlockReflectionAttribute.cs">
      <Link>System\Runtime\CompilerServices\__BlockReflectionAttribute.cs</Link>
    </Compile>
  </ItemGroup>

  <ItemGroup Condition="'$(EnableWinRT)'=='true'">
    <Compile Include="InteropCallbacks.cs" />
    <Compile Include="..\..\Common\src\System\NotImplemented.cs">
      <Link>System\NotImplemented.cs</Link>
    </Compile>      
    <Compile Include="WinRT\ExceptionHelpers.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\CLRIKeyValuePairImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\CustomPropertyImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\DefaultInterfaceAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\EventRegistrationTokenTable.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\IActivationFactory.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\InterfaceImplementedInVersionAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\IPropertyValue.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\IReferenceArray.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\PropertyType.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\PropertyValueImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\ReadOnlyArrayAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\ReturnValueNameAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\ReferenceArrayImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\ReferenceArrayImplBase.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\ReferenceImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\WindowsRuntimeImportAttribute.cs" />
    <Compile Include="System\Runtime\InteropServices\WindowsRuntime\WriteOnlyArrayAttribute.cs" />
  </ItemGroup>
  
  <ItemGroup Condition="'$(EnableWinRT)'=='true'">
    <Compile Include="Windows\Foundation\Collections\IKeyValuePair.cs" />
    <Compile Include="Windows\Foundation\Point.cs" />
    <Compile Include="Windows\Foundation\Rect.cs" />
    <Compile Include="Windows\Foundation\Size.cs" />
    <Compile Include="Windows\Foundation\TokenizerHelper.cs" />
    <Compile Include="Windows\Foundation\IReference.cs" />
    <Compile Include="Interop\Interop.WinRT.cs" />
  </ItemGroup>
  
  <ItemGroup Condition="'$(TargetsWindows)' == 'true'">
    <Compile Include="Interop\Interop.Sync.Windows.cs" />
    <Compile Include="Interop\Interop.WinRT.Basic.cs" />

    <Compile Include="..\..\Common\src\Interop\Windows\mincore\Interop.MemAllocFree.cs">
      <Link>Interop\Windows\mincore\Interop.MemAllocFree.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\Interop\Windows\mincore\Interop.MemReAlloc.cs">
      <Link>Interop\Windows\mincore\Interop.MemReAlloc.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\Interop\Windows\mincore\Interop.MemAllocWithZeroInitializeNoThrow.cs">
      <Link>Interop\Windows\mincore\Interop.MemAllocWithZeroInitializeNoThrow.cs</Link>
    </Compile>
  </ItemGroup>
  <ItemGroup Condition="'$(TargetsUnix)'=='true'">
    <Compile Include="..\..\Common\src\Interop\Unix\Interop.Libraries.cs">
      <Link>Interop\Unix\Interop.Libraries.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\Interop\Unix\System.Private.CoreLib.Native\Interop.MemAllocFree.cs">
      <Link>Interop\Unix\System.Private.CoreLib.Native\Interop.MemAllocFree.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\Interop\Unix\System.Private.CoreLib.Native\Interop.MemReAlloc.cs">
      <Link>Interop\Unix\System.Private.CoreLib.Native\Interop.MemReAlloc.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\Interop\Unix\System.Private.CoreLib.Native\Interop.MemAllocWithZeroInitializeNoThrow.cs">
      <Link>Interop\Unix\System.Private.CoreLib.Native\Interop.MemAllocWithZeroInitializeNoThrow.cs</Link>
    </Compile>
  </ItemGroup>
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>