diff options
Diffstat (limited to 'src/linker/Linker/PInvokeInfo.cs')
-rw-r--r-- | src/linker/Linker/PInvokeInfo.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/linker/Linker/PInvokeInfo.cs b/src/linker/Linker/PInvokeInfo.cs index 590ee163d..84193b153 100644 --- a/src/linker/Linker/PInvokeInfo.cs +++ b/src/linker/Linker/PInvokeInfo.cs @@ -18,7 +18,15 @@ namespace Mono.Linker [DataMember (Name = "moduleName")] internal string ModuleName { get; set; } - public int CompareTo (PInvokeInfo other) + public PInvokeInfo (string assemblyName, string entryPoint, string fullName, string moduleName) + { + AssemblyName = assemblyName; + EntryPoint = entryPoint; + FullName = fullName; + ModuleName = moduleName; + } + + public int CompareTo (PInvokeInfo? other) { if (other == null) return 1; |