You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
73
external/corefx/src/System.Runtime.InteropServices/System.Runtime.InteropServices.sln
vendored
Normal file
73
external/corefx/src/System.Runtime.InteropServices/System.Runtime.InteropServices.sln
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Runtime.InteropServices.Tests", "tests\System.Runtime.InteropServices.Tests.csproj", "{A824F4CD-935B-4496-A1B2-C3664936DA7B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE} = {EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Runtime.InteropServices", "src\System.Runtime.InteropServices.csproj", "{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{BF085DA4-C0E8-463E-B0FC-4C01822E6162}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B754B947-C1E1-4FFE-B03B-CEAC451913DC}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{E8CF0B11-55CA-408D-A489-5727F3ED6A17}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Runtime.InteropServices", "ref\System.Runtime.InteropServices.csproj", "{B17014F1-D902-417F-89B0-271204695831}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU = DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU
|
||||
ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU = ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU
|
||||
DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU = DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU
|
||||
ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU = ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU
|
||||
DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU = DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU = ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU = DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU = ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B}.ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = uap101aot-Windows_NT-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.Build.0 = uap101aot-Windows_NT-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = uap101aot-Windows_NT-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppuap101aot-Windows_NTnetcoreapp|AnyCPU.Build.0 = uap101aot-Windows_NT-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = net461-Windows_NT-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.Build.0 = net461-Windows_NT-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.ActiveCfg = net461-Windows_NT-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp|AnyCPU.Build.0 = net461-Windows_NT-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnetcoreappnetcoreapp|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnetcoreappnetcoreapp|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.ActiveCfg = netcoreapp1.2corert-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.DebugNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.Build.0 = netcoreapp1.2corert-Debug|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.ActiveCfg = netcoreapp1.2corert-Release|Any CPU
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}.ReleaseNETCoreAppnetcoreapp1.2corertnetcoreapp|AnyCPU.Build.0 = netcoreapp1.2corert-Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{A824F4CD-935B-4496-A1B2-C3664936DA7B} = {A824F4CD-935B-4496-A1B2-C3664936DA7B}
|
||||
{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE} = {EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
8
external/corefx/src/System.Runtime.InteropServices/dir.props
vendored
Normal file
8
external/corefx/src/System.Runtime.InteropServices/dir.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.2.0.0</AssemblyVersion>
|
||||
<IsNETCoreApp>true</IsNETCoreApp>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
9
external/corefx/src/System.Runtime.InteropServices/ref/Configurations.props
vendored
Normal file
9
external/corefx/src/System.Runtime.InteropServices/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netcoreapp;
|
||||
uap;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
11
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.builds
vendored
Normal file
11
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.builds
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<Project Include="System.Runtime.InteropServices.csproj" />
|
||||
<Project Include="System.Runtime.InteropServices.csproj">
|
||||
<TargetGroup>netstandard</TargetGroup>
|
||||
</Project>
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
</Project>
|
||||
1688
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs
vendored
Normal file
1688
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs
vendored
Normal file
File diff suppressed because it is too large
Load Diff
25
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj
vendored
Normal file
25
external/corefx/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<!-- Don't warn about usage of obsolete API since the contract must keep its own references
|
||||
to its own obsolete API. -->
|
||||
<NoWarn>618</NoWarn>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<ProjectGuid>{B17014F1-D902-417F-89B0-271204695831}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="System.Runtime.InteropServices.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\System.Reflection\ref\System.Reflection.csproj" />
|
||||
<ProjectReference Include="..\..\System.Reflection.Primitives\ref\System.Reflection.Primitives.csproj" />
|
||||
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
|
||||
<ProjectReference Include="..\..\System.Runtime.Handles\ref\System.Runtime.Handles.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
66
external/corefx/src/System.Runtime.InteropServices/src/ApiCompatBaseline.netcoreapp1.2corert.txt
vendored
Normal file
66
external/corefx/src/System.Runtime.InteropServices/src/ApiCompatBaseline.netcoreapp1.2corert.txt
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
Compat issues with assembly System.Runtime.InteropServices:
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.DataMisalignedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.DllNotFoundException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.IO.UnmanagedMemoryStream' does not inherit from base type 'System.MarshalByRefObject' in the implementation but it does in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.COMException' does not inherit from base type 'System.Runtime.InteropServices.ExternalException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.COMException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.CriticalHandle' does not inherit from base type 'System.Runtime.ConstrainedExecution.CriticalFinalizerObject' in the implementation but it does in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.HandleRef' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.InvalidComObjectException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.InvalidComObjectException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.InvalidOleVariantTypeException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.InvalidOleVariantTypeException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.AreComObjectsAvailableForCleanup()' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.BindToMoniker(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.ChangeWrapperHandleStrength(System.Object, System.Boolean)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CleanupUnusedObjectsInCurrentContext()' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CreateAggregatedObject(System.IntPtr, System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CreateAggregatedObject<T>(System.IntPtr, T)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CreateWrapperOfType(System.Object, System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CreateWrapperOfType<T, TWrapper>(T)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GenerateGuidForType(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GenerateProgIdForType(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object, System.Type, System.Runtime.InteropServices.CustomQueryInterfaceMode)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetComObjectData(System.Object, System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetExceptionCode()' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetHINSTANCE(System.Reflection.Module)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetIDispatchForObject(System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetStartComSlot(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetTypedObjectForIUnknown(System.IntPtr, System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetUniqueObjectForIUnknown(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.Prelink(System.Reflection.MethodInfo)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PrelinkAll(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringAuto(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringAuto(System.IntPtr, System.Int32)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringUTF8(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringUTF8(System.IntPtr, System.Int32)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToBSTR(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocAnsi(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SetComObjectData(System.Object, System.Object, System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToCoTaskMemAuto(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToCoTaskMemUTF8(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToHGlobalAuto(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemUTF8(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.MarshalDirectiveException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.MarshalDirectiveException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.ProgIdAttribute' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.RuntimeEnvironment' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeArrayRankMismatchException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeArrayRankMismatchException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeArrayTypeMismatchException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeArrayTypeMismatchException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeBuffer' does not inherit from base type 'Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid' in the implementation but it does in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeHandle' does not inherit from base type 'System.Runtime.ConstrainedExecution.CriticalFinalizerObject' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeHandle.Close()' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SEHException' does not inherit from base type 'System.Runtime.InteropServices.ExternalException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SEHException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.UnmanagedType System.Runtime.InteropServices.UnmanagedType.LPUTF8Str' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Security.SecureString' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Security.SecureStringMarshal' does not exist in the implementation but it does exist in the contract.
|
||||
Total Issues: 64
|
||||
58
external/corefx/src/System.Runtime.InteropServices/src/ApiCompatBaseline.uap101aot.txt
vendored
Normal file
58
external/corefx/src/System.Runtime.InteropServices/src/ApiCompatBaseline.uap101aot.txt
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
Compat issues with assembly System.Runtime.InteropServices:
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.IO.UnmanagedMemoryStream' does not inherit from base type 'System.MarshalByRefObject' in the implementation but it does in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.DataMisalignedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.DllNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.DllNotFoundException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.IO.UnmanagedMemoryAccessor' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.IO.UnmanagedMemoryStream' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.COMException' does not inherit from base type 'System.Runtime.InteropServices.ExternalException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.COMException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.CriticalHandle' does not inherit from base type 'System.Runtime.ConstrainedExecution.CriticalFinalizerObject' in the implementation but it does in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.HandleRef' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.InvalidComObjectException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.InvalidComObjectException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.InvalidOleVariantTypeException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.InvalidOleVariantTypeException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.Prelink(System.Reflection.MethodInfo)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PrelinkAll(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringUTF8(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringUTF8(System.IntPtr, System.Int32)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToBSTR(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocAnsi(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToCoTaskMemAuto(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToCoTaskMemUTF8(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.StringToHGlobalAuto(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemUTF8(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.MarshalDirectiveException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.MarshalDirectiveException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.RuntimeEnvironment' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeArrayRankMismatchException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeArrayRankMismatchException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeArrayTypeMismatchException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeArrayTypeMismatchException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeBuffer' does not inherit from base type 'Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid' in the implementation but it does in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SafeHandle' does not inherit from base type 'System.Runtime.ConstrainedExecution.CriticalFinalizerObject' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SafeHandle.Close()' does not exist in the implementation but it does exist in the contract.
|
||||
CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.InteropServices.SEHException' does not inherit from base type 'System.Runtime.InteropServices.ExternalException' in the implementation but it does in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.SEHException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.UnmanagedType System.Runtime.InteropServices.UnmanagedType.LPUTF8Str' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Security.SecureString' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Security.SecureStringMarshal' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GenerateGuidForType(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GenerateProgIdForType(System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetComObjectData(System.Object, System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetHINSTANCE(System.Reflection.Module)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetIDispatchForObject(System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.GetTypedObjectForIUnknown(System.IntPtr, System.Type)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringAuto(System.IntPtr)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.PtrToStringAuto(System.IntPtr, System.Int32)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.SetComObjectData(System.Object, System.Object, System.Object)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.BindToMoniker(System.String)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.ChangeWrapperHandleStrength(System.Object, System.Boolean)' does not exist in the implementation but it does exist in the contract.
|
||||
MembersMustExist : Member 'System.Runtime.InteropServices.Marshal.CleanupUnusedObjectsInCurrentContext()' does not exist in the implementation but it does exist in the contract.
|
||||
TypesMustExist : Type 'System.Runtime.InteropServices.ProgIdAttribute' does not exist in the implementation but it does exist in the contract.
|
||||
Total Issues: 55
|
||||
11
external/corefx/src/System.Runtime.InteropServices/src/Configurations.props
vendored
Normal file
11
external/corefx/src/System.Runtime.InteropServices/src/Configurations.props
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
uap101aot-Windows_NT;
|
||||
net461-Windows_NT;
|
||||
netcoreapp;
|
||||
netcoreapp1.2corert;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
135
external/corefx/src/System.Runtime.InteropServices/src/Resources/Strings.resx
vendored
Normal file
135
external/corefx/src/System.Runtime.InteropServices/src/Resources/Strings.resx
vendored
Normal file
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="InvalidOperation_HCCountOverflow" xml:space="preserve">
|
||||
<value>Handle collector count overflows or underflows.</value>
|
||||
</data>
|
||||
<data name="ArgumentOutOfRange_NeedNonNegNumRequired" xml:space="preserve">
|
||||
<value>Non-negative number required.</value>
|
||||
</data>
|
||||
<data name="Argument_InvalidThreshold" xml:space="preserve">
|
||||
<value>maximumThreshold cannot be less than initialThreshold.</value>
|
||||
</data>
|
||||
<data name="Arg_NeedNonNegNumRequired" xml:space="preserve">
|
||||
<value>Non-negative number required.</value>
|
||||
</data>
|
||||
<data name="Arg_InvalidThreshold" xml:space="preserve">
|
||||
<value>maximumThreshold cannot be less than initialThreshold.</value>
|
||||
</data>
|
||||
</root>
|
||||
71
external/corefx/src/System.Runtime.InteropServices/src/System.Runtime.InteropServices.csproj
vendored
Normal file
71
external/corefx/src/System.Runtime.InteropServices/src/System.Runtime.InteropServices.csproj
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{EC6AA4D9-B3E8-4CCA-8AB1-8BBFD89266AE}</ProjectGuid>
|
||||
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
|
||||
<OutputType>Library</OutputType>
|
||||
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
|
||||
<GenFacadesArgs Condition="'$(TargetGroup)' == 'uap101aot' or '$(TargetGroup)' == 'netcoreapp1.2corert'">$(GenFacadesArgs) -ignoreMissingTypes</GenFacadesArgs>
|
||||
<!-- Force string resources to be excluded for full facades. -->
|
||||
<ResourcesSourceOutputDirectory Condition="'$(TargetGroup)' == 'net463' or '$(TargetGroup)' == 'uap101aot'">None</ResourcesSourceOutputDirectory>
|
||||
</PropertyGroup>
|
||||
<!-- Default configurations to help VS understand the configurations -->
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='uap101aot-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='uap101aot-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net461-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net461-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp1.2corert-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp1.2corert-Release|AnyCPU'" />
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'net461'">
|
||||
<ContractProject Include="..\ref\System.Runtime.InteropServices.csproj">
|
||||
<TargetGroup>netcoreapp</TargetGroup>
|
||||
</ContractProject>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
|
||||
<Compile Include="System\Runtime\InteropServices\ComAwareEventInfo.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\HandleCollector.CoreCLR.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\DefaultParameterValueAttribute.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\HandleCollector.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\RuntimeEnvironment.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\advf.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\datadir.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\dvaspect.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\formatetc.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\IAdviseSink.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\IEnumFormatETC.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\statdata.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\stgmedium.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\tymed.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\AssemblyRegistrationFlags.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ExporterEventKind.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\RegistrationClassContext.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\RegistrationConnectionType.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)'!='uap101aot' and '$(TargetGroup)' != 'netcoreapp1.2corert'">
|
||||
<Compile Include="System\Security\SecureStringMarshal.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' != 'net461'">
|
||||
<Compile Include="System\Runtime\CompilerServices\Attributes.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\Attributes.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\IDataObject.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ComTypes\IEnumSTATDATA.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ICustomFactory.cs" />
|
||||
<Compile Include="System\Runtime\InteropServices\ICustomMarshaler.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'net461'">
|
||||
<TargetingPackReference Include="mscorlib" />
|
||||
<TargetingPackReference Include="System.Core" />
|
||||
<TargetingPackReference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' != 'net461'">
|
||||
<TargetingPackReference Include="System.Private.CoreLib" />
|
||||
<TargetingPackReference Include="System.Private.Interop" Condition="'$(TargetGroup)' == 'uap101aot' or '$(TargetGroup)' == 'netcoreapp1.2corert'" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ReferenceFromRuntime Include="System.Private.CoreLib" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,22 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
[Serializable]
|
||||
[System.AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
|
||||
public sealed partial class IUnknownConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute
|
||||
{
|
||||
public IUnknownConstantAttribute() { }
|
||||
public override object Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return new UnknownWrapper(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Flags]
|
||||
public enum AssemblyRegistrationFlags
|
||||
{
|
||||
None = 0x00000000,
|
||||
SetCodeBase = 0x00000001,
|
||||
}
|
||||
}
|
||||
129
external/corefx/src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Attributes.cs
vendored
Normal file
129
external/corefx/src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Attributes.cs
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
|
||||
public sealed class AutomationProxyAttribute : Attribute
|
||||
{
|
||||
public AutomationProxyAttribute(bool val)
|
||||
{
|
||||
Value = val;
|
||||
}
|
||||
public bool Value { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)]
|
||||
public sealed class ComAliasNameAttribute : Attribute
|
||||
{
|
||||
public ComAliasNameAttribute(string alias)
|
||||
{
|
||||
Value = alias;
|
||||
}
|
||||
public string Value { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
|
||||
public sealed class ComCompatibleVersionAttribute : Attribute
|
||||
{
|
||||
public ComCompatibleVersionAttribute(int major, int minor, int build, int revision)
|
||||
{
|
||||
MajorVersion = major;
|
||||
MinorVersion = minor;
|
||||
BuildNumber = build;
|
||||
RevisionNumber = revision;
|
||||
}
|
||||
|
||||
public int MajorVersion { get; }
|
||||
public int MinorVersion { get; }
|
||||
public int BuildNumber { get; }
|
||||
public int RevisionNumber { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.All, Inherited = false)]
|
||||
public sealed class ComConversionLossAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
|
||||
public sealed class ComRegisterFunctionAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
|
||||
public sealed class ComUnregisterFunctionAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly, Inherited = false)]
|
||||
[Obsolete("This attribute is deprecated and will be removed in a future version.", false)]
|
||||
public sealed class IDispatchImplAttribute : Attribute
|
||||
{
|
||||
public IDispatchImplAttribute(short implType)
|
||||
{
|
||||
Value = (IDispatchImplType)implType;
|
||||
}
|
||||
public IDispatchImplAttribute(IDispatchImplType implType)
|
||||
{
|
||||
Value = implType;
|
||||
}
|
||||
public IDispatchImplType Value { get; }
|
||||
}
|
||||
|
||||
[Obsolete("The IDispatchImplAttribute is deprecated.", false)]
|
||||
[Serializable]
|
||||
public enum IDispatchImplType
|
||||
{
|
||||
CompatibleImpl = 2,
|
||||
InternalImpl = 1,
|
||||
SystemDefinedImpl = 0,
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
|
||||
public sealed class LCIDConversionAttribute : Attribute
|
||||
{
|
||||
public LCIDConversionAttribute(int lcid)
|
||||
{
|
||||
Value = lcid;
|
||||
}
|
||||
public int Value { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class ManagedToNativeComInteropStubAttribute : Attribute
|
||||
{
|
||||
public ManagedToNativeComInteropStubAttribute(Type classType, string methodName)
|
||||
{
|
||||
ClassType = classType;
|
||||
MethodName = methodName;
|
||||
}
|
||||
|
||||
public Type ClassType { get; }
|
||||
public string MethodName { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
|
||||
public sealed class PrimaryInteropAssemblyAttribute : Attribute
|
||||
{
|
||||
public PrimaryInteropAssemblyAttribute(int major, int minor)
|
||||
{
|
||||
MajorVersion = major;
|
||||
MinorVersion = minor;
|
||||
}
|
||||
|
||||
public int MajorVersion { get; }
|
||||
public int MinorVersion { get; }
|
||||
}
|
||||
|
||||
[Obsolete("This attribute has been deprecated. Application Domains no longer respect Activation Context boundaries in IDispatch calls.", false)]
|
||||
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
|
||||
public sealed class SetWin32ContextInIDispatchAttribute : Attribute
|
||||
{
|
||||
public SetWin32ContextInIDispatchAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[System.Security.SecuritySafeCritical]
|
||||
public class ComAwareEventInfo : System.Reflection.EventInfo
|
||||
{
|
||||
private System.Reflection.EventInfo _innerEventInfo;
|
||||
|
||||
public ComAwareEventInfo(Type type, string eventName)
|
||||
{
|
||||
_innerEventInfo = type.GetEvent(eventName);
|
||||
}
|
||||
|
||||
[System.Security.SecuritySafeCritical]
|
||||
public override void AddEventHandler(object target, Delegate handler)
|
||||
{
|
||||
if (Marshal.IsComObject(target))
|
||||
{
|
||||
// retrieve sourceIid and dispid
|
||||
Guid sourceIid;
|
||||
int dispid;
|
||||
GetDataForComInvocation(_innerEventInfo, out sourceIid, out dispid);
|
||||
System.Runtime.InteropServices.ComEventsHelper.Combine(target, sourceIid, dispid, handler);
|
||||
}
|
||||
else
|
||||
{
|
||||
// we are dealing with a managed object - just add the delegate through reflection
|
||||
_innerEventInfo.AddEventHandler(target, handler);
|
||||
}
|
||||
}
|
||||
|
||||
[System.Security.SecuritySafeCritical]
|
||||
public override void RemoveEventHandler(object target, Delegate handler)
|
||||
{
|
||||
if (Marshal.IsComObject(target))
|
||||
{
|
||||
// retrieve sourceIid and dispid
|
||||
Guid sourceIid;
|
||||
int dispid;
|
||||
GetDataForComInvocation(_innerEventInfo, out sourceIid, out dispid);
|
||||
|
||||
System.Runtime.InteropServices.ComEventsHelper.Remove(target, sourceIid, dispid, handler);
|
||||
}
|
||||
else
|
||||
{
|
||||
// we are dealing with a managed object - just add the delegate through reflection
|
||||
_innerEventInfo.RemoveEventHandler(target, handler);
|
||||
}
|
||||
}
|
||||
|
||||
public override System.Reflection.EventAttributes Attributes
|
||||
{
|
||||
get { return _innerEventInfo.Attributes; }
|
||||
}
|
||||
|
||||
public override System.Reflection.MethodInfo GetAddMethod(bool nonPublic)
|
||||
{
|
||||
return _innerEventInfo.GetAddMethod(nonPublic);
|
||||
}
|
||||
|
||||
public override System.Reflection.MethodInfo GetRaiseMethod(bool nonPublic)
|
||||
{
|
||||
return _innerEventInfo.GetRaiseMethod(nonPublic);
|
||||
}
|
||||
|
||||
public override System.Reflection.MethodInfo GetRemoveMethod(bool nonPublic)
|
||||
{
|
||||
return _innerEventInfo.GetRemoveMethod(nonPublic);
|
||||
}
|
||||
|
||||
public override Type DeclaringType
|
||||
{
|
||||
get { return _innerEventInfo.DeclaringType; }
|
||||
}
|
||||
|
||||
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
|
||||
{
|
||||
return _innerEventInfo.GetCustomAttributes(attributeType, inherit);
|
||||
}
|
||||
|
||||
public override object[] GetCustomAttributes(bool inherit)
|
||||
{
|
||||
return _innerEventInfo.GetCustomAttributes(inherit);
|
||||
}
|
||||
|
||||
public override bool IsDefined(Type attributeType, bool inherit)
|
||||
{
|
||||
return _innerEventInfo.IsDefined(attributeType, inherit);
|
||||
}
|
||||
|
||||
public override string Name
|
||||
{
|
||||
get { return _innerEventInfo.Name; }
|
||||
}
|
||||
|
||||
public override Type ReflectedType
|
||||
{
|
||||
get { return _innerEventInfo.ReflectedType; }
|
||||
}
|
||||
|
||||
private static void GetDataForComInvocation(System.Reflection.EventInfo eventInfo, out Guid sourceIid, out int dispid)
|
||||
{
|
||||
object[] comEventInterfaces = eventInfo.DeclaringType.GetCustomAttributes(typeof(ComEventInterfaceAttribute), false);
|
||||
|
||||
if (comEventInterfaces == null || comEventInterfaces.Length == 0)
|
||||
{
|
||||
// TODO: event strings need to be localizable
|
||||
throw new InvalidOperationException("event invocation for COM objects requires interface to be attributed with ComSourceInterfaceGuidAttribute");
|
||||
}
|
||||
|
||||
if (comEventInterfaces.Length > 1)
|
||||
{
|
||||
// TODO: event strings need to be localizable
|
||||
throw new System.Reflection.AmbiguousMatchException("more than one ComSourceInterfaceGuidAttribute found");
|
||||
}
|
||||
|
||||
Type sourceItf = ((ComEventInterfaceAttribute)comEventInterfaces[0]).SourceInterface;
|
||||
Guid guid = sourceItf.GUID;
|
||||
|
||||
System.Reflection.MethodInfo methodInfo = sourceItf.GetMethod(eventInfo.Name);
|
||||
Attribute dispIdAttribute = Attribute.GetCustomAttribute(methodInfo, typeof(DispIdAttribute));
|
||||
if (dispIdAttribute == null)
|
||||
{
|
||||
// TODO: event strings need to be localizable
|
||||
throw new InvalidOperationException("event invocation for COM objects requires event to be attributed with DispIdAttribute");
|
||||
}
|
||||
|
||||
sourceIid = guid;
|
||||
dispid = ((DispIdAttribute)dispIdAttribute).Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
/// <devdoc>
|
||||
/// The IAdviseSink interface enables containers and other objects to
|
||||
/// receive notifications of data changes, view changes, and compound-document
|
||||
/// changes occurring in objects of interest. Container applications, for
|
||||
/// example, require such notifications to keep cached presentations of their
|
||||
/// linked and embedded objects up-to-date. Calls to IAdviseSink methods are
|
||||
/// asynchronous, so the call is sent and then the next instruction is executed
|
||||
/// without waiting for the call's return.
|
||||
/// </devdoc>
|
||||
[ComImport]
|
||||
[Guid("0000010F-0000-0000-C000-000000000046")]
|
||||
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IAdviseSink
|
||||
{
|
||||
/// <devdoc>
|
||||
/// Called by the server to notify a data object's currently registered
|
||||
/// advise sinks that data in the object has changed.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
void OnDataChange([In] ref FORMATETC format, [In] ref STGMEDIUM stgmedium);
|
||||
|
||||
/// <devdoc>
|
||||
/// Notifies an object's registered advise sinks that its view has changed.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
void OnViewChange(int aspect, int index);
|
||||
|
||||
/// <devdoc>
|
||||
/// Called by the server to notify all registered advisory sinks that
|
||||
/// the object has been renamed.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
void OnRename(IMoniker moniker);
|
||||
|
||||
/// <devdoc>
|
||||
/// Called by the server to notify all registered advisory sinks that
|
||||
/// the object has been saved.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
void OnSave();
|
||||
|
||||
/// <devdoc>
|
||||
/// Called by the server to notify all registered advisory sinks that the
|
||||
/// object has changed from the running to the loaded state.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
void OnClose();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
[CLSCompliant(false)]
|
||||
public interface IDataObject
|
||||
{
|
||||
int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection);
|
||||
void DUnadvise(int connection);
|
||||
int EnumDAdvise(out IEnumSTATDATA enumAdvise);
|
||||
IEnumFORMATETC EnumFormatEtc(DATADIR direction);
|
||||
int GetCanonicalFormatEtc(ref FORMATETC formatIn, out FORMATETC formatOut);
|
||||
void GetData(ref FORMATETC format, out STGMEDIUM medium);
|
||||
void GetDataHere(ref FORMATETC format, ref STGMEDIUM medium);
|
||||
int QueryGetData(ref FORMATETC format);
|
||||
void SetData(ref FORMATETC formatIn, ref STGMEDIUM medium, bool release);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
/// <devdoc>
|
||||
/// The IEnumFORMATETC interface is used to enumerate an array of FORMATETC
|
||||
/// structures. IEnumFORMATETC has the same methods as all enumerator interfaces:
|
||||
/// Next, Skip, Reset, and Clone.
|
||||
/// </devdoc>
|
||||
[ComImport()]
|
||||
[Guid("00000103-0000-0000-C000-000000000046")]
|
||||
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IEnumFORMATETC
|
||||
{
|
||||
/// <devdoc>
|
||||
/// Retrieves the next celt items in the enumeration sequence. If there are
|
||||
/// fewer than the requested number of elements left in the sequence, it
|
||||
/// retrieves the remaining elements. The number of elements actually
|
||||
/// retrieved is returned through pceltFetched (unless the caller passed
|
||||
/// in NULL for that parameter).
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
int Next(int celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] FORMATETC[] rgelt, [Out, MarshalAs(UnmanagedType.LPArray)] int[] pceltFetched);
|
||||
|
||||
/// <devdoc>
|
||||
/// Skips over the next specified number of elements in the enumeration sequence.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
int Skip(int celt);
|
||||
|
||||
/// <devdoc>
|
||||
/// Resets the enumeration sequence to the beginning.
|
||||
/// </devdoc>
|
||||
[PreserveSig]
|
||||
int Reset();
|
||||
|
||||
/// <devdoc>
|
||||
/// Creates another enumerator that contains the same enumeration state as
|
||||
/// the current one. Using this function, a client can record a particular
|
||||
/// point in the enumeration sequence and then return to that point at a
|
||||
/// later time. The new enumerator supports the same interface as the original one.
|
||||
/// </devdoc>
|
||||
void Clone(out IEnumFORMATETC newEnum);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
[CLSCompliant(false)]
|
||||
public interface IEnumSTATDATA
|
||||
{
|
||||
void Clone(out IEnumSTATDATA newEnum);
|
||||
int Next(int celt, STATDATA[] rgelt, int[] pceltFetched);
|
||||
int Reset();
|
||||
int Skip(int celt);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
[Flags]
|
||||
public enum ADVF
|
||||
{
|
||||
ADVF_NODATA = 1,
|
||||
ADVF_PRIMEFIRST = 2,
|
||||
ADVF_ONLYONCE = 4,
|
||||
ADVF_DATAONSTOP = 64,
|
||||
ADVFCACHE_NOHANDLER = 8,
|
||||
ADVFCACHE_FORCEBUILTIN = 16,
|
||||
ADVFCACHE_ONSAVE = 32
|
||||
}
|
||||
// Note: ADVF_ONLYONCE and ADVF_PRIMEFIRST values conform with objidl.dll but are backwards from
|
||||
// the Platform SDK documentation as of 07/21/2003.
|
||||
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/oen_a2z_8jxi.asp.
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user