C#: Make manual adjustments to the generated stubs.

This commit is contained in:
Michael Nebel
2023-12-14 10:42:50 +01:00
parent 8967a0996b
commit 0e6399e1cc
14 changed files with 52 additions and 69 deletions

View File

@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../NETStandard.Library/1.6.0/NETStandard.Library.csproj" />
<ProjectReference Include="../../NETStandard.Library/1.6.1/NETStandard.Library.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -9,9 +9,9 @@
<ItemGroup>
<ProjectReference Include="../../Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj" />
<ProjectReference Include="../../System.CodeDom/4.7.0/System.CodeDom.csproj" />
<ProjectReference Include="../../System.ComponentModel.Annotations/4.7.0/System.ComponentModel.Annotations.csproj" />
<ProjectReference Include="../../System.Configuration.ConfigurationManager/4.7.0/System.Configuration.ConfigurationManager.csproj" />
<ProjectReference Include="../../System.Data.SqlClient/4.8.1/System.Data.SqlClient.csproj" />
<ProjectReference Include="../../System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj" />
<ProjectReference Include="../../System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj" />
<ProjectReference Include="../../System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../System.Security.AccessControl/4.7.0/System.Security.AccessControl.csproj" />
<ProjectReference Include="../../System.Security.AccessControl/6.0.0/System.Security.AccessControl.csproj" />
<ProjectReference Include="../../System.Security.Principal.Windows/4.7.0/System.Security.Principal.Windows.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>

View File

@@ -7,10 +7,10 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../Antlr3.Runtime/[3.5.1, 4.0.0)/Antlr3.Runtime.csproj" />
<ProjectReference Include="../../Iesi.Collections/[4.0.4, 5.0.0)/Iesi.Collections.csproj" />
<ProjectReference Include="../../Remotion.Linq/[2.2.0, 3.0.0)/Remotion.Linq.csproj" />
<ProjectReference Include="../../Remotion.Linq.EagerFetching/[2.2.0, 3.0.0)/Remotion.Linq.EagerFetching.csproj" />
<ProjectReference Include="../../Antlr3.Runtime/3.5.1/Antlr3.Runtime.csproj" />
<ProjectReference Include="../../Iesi.Collections/4.0.4/Iesi.Collections.csproj" />
<ProjectReference Include="../../Remotion.Linq/2.2.0/Remotion.Linq.csproj" />
<ProjectReference Include="../../Remotion.Linq.EagerFetching/2.2.0/Remotion.Linq.EagerFetching.csproj" />
<ProjectReference Include="../../System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>

View File

@@ -8,12 +8,12 @@
<ItemGroup>
<ProjectReference Include="../../Remotion.Linq/2.2.0/Remotion.Linq.csproj" />
<ProjectReference Include="../../System.Collections/4.0.11/System.Collections.csproj" />
<ProjectReference Include="../../System.Linq/4.1.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.1.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.0.12/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.1.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Runtime/4.1.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Collections/4.3.0/System.Collections.csproj" />
<ProjectReference Include="../../System.Linq/4.3.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.3.0/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.3.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Runtime/4.3.0/System.Runtime.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -7,17 +7,17 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../System.Collections/4.0.11/System.Collections.csproj" />
<ProjectReference Include="../../System.Diagnostics.Debug/4.0.11/System.Diagnostics.Debug.csproj" />
<ProjectReference Include="../../System.Linq/4.1.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.1.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.Collections/4.3.0/System.Collections.csproj" />
<ProjectReference Include="../../System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj" />
<ProjectReference Include="../../System.Linq/4.3.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.Linq.Queryable/4.0.1/System.Linq.Queryable.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.0.12/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.1.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Extensions/4.0.1/System.Reflection.Extensions.csproj" />
<ProjectReference Include="../../System.Runtime/4.1.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Runtime.Extensions/4.1.0/System.Runtime.Extensions.csproj" />
<ProjectReference Include="../../System.Threading/4.0.11/System.Threading.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.3.0/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.3.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj" />
<ProjectReference Include="../../System.Runtime/4.3.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj" />
<ProjectReference Include="../../System.Threading/4.3.0/System.Threading.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -1436,15 +1436,11 @@ namespace ServiceStack
public long decrBy(long value, long by) => throw null;
public long decrement(long value) => throw null;
public long decrementBy(long value, long by) => throw null;
public object default(object returnTarget, object elseReturn) => throw null;
public string dirPath(string filePath) => throw null;
public string dirPath(string filePath) => throw null;
public System.Collections.Generic.IEnumerable<object> distinct(System.Collections.Generic.IEnumerable<object> items) => throw null;
public double div(double lhs, double rhs) => throw null;
public double divide(double lhs, double rhs) => throw null;
public object do(ServiceStack.Script.ScriptScopeContext scope, object expression) => throw null;
public System.Threading.Tasks.Task do(ServiceStack.Script.ScriptScopeContext scope, object target, object expression) => throw null;
public System.Threading.Tasks.Task do(ServiceStack.Script.ScriptScopeContext scope, object target, object expression, object scopeOptions) => throw null;
public object doIf(object test) => throw null;
public object doIf(object test) => throw null;
public object doIf(object ignoreTarget, object test) => throw null;
public double doubleAdd(double lhs, double rhs) => throw null;
public double doubleDiv(double lhs, double rhs) => throw null;
@@ -1562,9 +1558,7 @@ public object doIf(object test) => throw null;
public string httpPathInfo(ServiceStack.Script.ScriptScopeContext scope) => throw null;
public string httpRequestUrl(ServiceStack.Script.ScriptScopeContext scope) => throw null;
public string humanize(string text) => throw null;
public object if(object test) => throw null;
public object if(object returnTarget, object test) => throw null;
public object ifDebug(ServiceStack.Script.ScriptScopeContext scope, object ignoreTarget) => throw null;
public object ifDebug(ServiceStack.Script.ScriptScopeContext scope, object ignoreTarget) => throw null;
public object ifDebug(ServiceStack.Script.ScriptScopeContext scope) => throw null;
public object ifDo(object test) => throw null;
public object ifDo(object ignoreTarget, object test) => throw null;
@@ -1846,10 +1840,7 @@ public object ifDebug(ServiceStack.Script.ScriptScopeContext scope, object ignor
public object resolveContextArg(ServiceStack.Script.ScriptScopeContext scope, string name) => throw null;
public object resolveGlobal(ServiceStack.Script.ScriptScopeContext scope, string name) => throw null;
public object resolvePageArg(ServiceStack.Script.ScriptScopeContext scope, string name) => throw null;
public ServiceStack.Script.StopExecution return(ServiceStack.Script.ScriptScopeContext scope) => throw null;
public ServiceStack.Script.StopExecution return(ServiceStack.Script.ScriptScopeContext scope, object returnValue) => throw null;
public ServiceStack.Script.StopExecution return(ServiceStack.Script.ScriptScopeContext scope, object returnValue, System.Collections.Generic.Dictionary<string, object> returnArgs) => throw null;
public System.Collections.Generic.IEnumerable<object> reverse(ServiceStack.Script.ScriptScopeContext scope, System.Collections.Generic.IEnumerable<object> original) => throw null;
public System.Collections.Generic.IEnumerable<object> reverse(ServiceStack.Script.ScriptScopeContext scope, System.Collections.Generic.IEnumerable<object> original) => throw null;
public string rightPart(string text, string needle) => throw null;
public double round(double value) => throw null;
public double round(double value, int decimals) => throw null;
@@ -1939,9 +1930,7 @@ public System.Collections.Generic.IEnumerable<object> reverse(ServiceStack.Scrip
public System.Collections.Generic.IEnumerable<object> thenByDescending(ServiceStack.Script.ScriptScopeContext scope, object target, object expression) => throw null;
public System.Collections.Generic.IEnumerable<object> thenByDescending(ServiceStack.Script.ScriptScopeContext scope, object target, object expression, object scopeOptions) => throw null;
public static System.Collections.Generic.IEnumerable<object> thenByInternal(string filterName, ServiceStack.Script.ScriptScopeContext scope, object target, object expression, object scopeOptions) => throw null;
public object throw(ServiceStack.Script.ScriptScopeContext scope, string message) => throw null;
public object throw(ServiceStack.Script.ScriptScopeContext scope, string message, object options) => throw null;
public object throwArgumentException(ServiceStack.Script.ScriptScopeContext scope, string message) => throw null;
public object throwArgumentException(ServiceStack.Script.ScriptScopeContext scope, string message) => throw null;
public object throwArgumentException(ServiceStack.Script.ScriptScopeContext scope, string message, string options) => throw null;
public object throwArgumentNullException(ServiceStack.Script.ScriptScopeContext scope, string paramName) => throw null;
public object throwArgumentNullException(ServiceStack.Script.ScriptScopeContext scope, string paramName, object options) => throw null;
@@ -3174,8 +3163,7 @@ public object throwArgumentException(ServiceStack.Script.ScriptScopeContext scop
public ProtectedScripts() => throw null;
public ServiceStack.Script.IgnoreResult Decrypt(string path) => throw null;
public ServiceStack.Script.IgnoreResult Decrypt(ServiceStack.Script.FileScripts fs, string path) => throw null;
public object default(string typeName) => throw null;
public ServiceStack.Script.IgnoreResult Delete(string path) => throw null;
public ServiceStack.Script.IgnoreResult Delete(string path) => throw null;
public ServiceStack.Script.IgnoreResult Delete(ServiceStack.Script.IOScript os, string path) => throw null;
public string deleteDirectory(string virtualPath) => throw null;
public string deleteDirectory(ServiceStack.IO.IVirtualPathProvider vfs, string virtualPath) => throw null;
@@ -3265,9 +3253,7 @@ public ServiceStack.Script.IgnoreResult Delete(string path) => throw null;
public ServiceStack.Script.IgnoreResult Move(string from, string to) => throw null;
public ServiceStack.Script.IgnoreResult Move(ServiceStack.Script.IOScript os, string from, string to) => throw null;
public string mv(ServiceStack.Script.ScriptScopeContext scope, string from, string to) => throw null;
public object new (string typeName) => throw null;
public object new (string typeName, System.Collections.Generic.List<object> constructorArgs) => throw null;
public string osPaths(string path) => throw null;
public string osPaths(string path) => throw null;
public string proc(ServiceStack.Script.ScriptScopeContext scope, string fileName) => throw null;
public string proc(ServiceStack.Script.ScriptScopeContext scope, string fileName, System.Collections.Generic.Dictionary<string, object> options) => throw null;
public byte[] ReadAllBytes(string path) => throw null;
@@ -3298,8 +3284,7 @@ public string osPaths(string path) => throw null;
public string textContents(ServiceStack.IO.IVirtualFile file) => throw null;
public string touch(ServiceStack.Script.ScriptScopeContext scope, string target) => throw null;
public static string TypeNotFoundErrorMessage(string typeName) => throw null;
public System.Type typeof(string typeName) => throw null;
public System.Type typeofProgId(string name) => throw null;
public System.Type typeofProgId(string name) => throw null;
public string typeQualifiedName(System.Type type) => throw null;
public System.ReadOnlyMemory<byte> urlBytesContents(ServiceStack.Script.ScriptScopeContext scope, string url, object options) => throw null;
public System.Threading.Tasks.Task urlContents(ServiceStack.Script.ScriptScopeContext scope, string url) => throw null;

View File

@@ -1042,8 +1042,7 @@ namespace ServiceStack
}
public class LongRange : System.IEquatable<ServiceStack.LongRange>
{
public virtual ServiceStack.LongRange<Clone>$() => throw null;
public LongRange(long from, long? to = default(long?)) => throw null;
public LongRange(long from, long? to = default(long?)) => throw null;
protected LongRange(ServiceStack.LongRange original) => throw null;
public void Deconstruct(out long from, out long? to) => throw null;
protected virtual System.Type EqualityContract { get => throw null; }
@@ -1118,8 +1117,7 @@ public LongRange(long from, long? to = default(long?)) => throw null;
}
public class NameValue : System.IEquatable<ServiceStack.NameValue>
{
public virtual ServiceStack.NameValue<Clone>$() => throw null;
public NameValue(string name, string value) => throw null;
public NameValue(string name, string value) => throw null;
protected NameValue(ServiceStack.NameValue original) => throw null;
public void Deconstruct(out string name, out string value) => throw null;
protected virtual System.Type EqualityContract { get => throw null; }

View File

@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../Stub.System.Data.SQLite.Core.NetStandard/[1.0.118]/Stub.System.Data.SQLite.Core.NetStandard.csproj" />
<ProjectReference Include="../../Stub.System.Data.SQLite.Core.NetStandard/1.0.118/Stub.System.Data.SQLite.Core.NetStandard.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -7,8 +7,8 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../System.Data.SQLite.Core/[1.0.118]/System.Data.SQLite.Core.csproj" />
<ProjectReference Include="../../System.Data.SQLite.EF6/[1.0.118]/System.Data.SQLite.EF6.csproj" />
<ProjectReference Include="../../System.Data.SQLite.Core/1.0.118/System.Data.SQLite.Core.csproj" />
<ProjectReference Include="../../System.Data.SQLite.EF6/1.0.118/System.Data.SQLite.EF6.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -13,10 +13,10 @@
<ProjectReference Include="../../System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.3.0/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.3.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Emit/4.3.0/System.Reflection.Emit.csproj" />
<ProjectReference Include="../../System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj" />
<ProjectReference Include="../../System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj" />
<ProjectReference Include="../../System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj" />
<ProjectReference Include="../../System.Reflection.TypeExtensions/4.3.0/System.Reflection.TypeExtensions.csproj" />
<ProjectReference Include="../../System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj" />
<ProjectReference Include="../../System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj" />
<ProjectReference Include="../../System.Runtime/4.3.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj" />

View File

@@ -14,12 +14,12 @@
<ProjectReference Include="../../System.Linq/4.3.0/System.Linq.csproj" />
<ProjectReference Include="../../System.ObjectModel/4.3.0/System.ObjectModel.csproj" />
<ProjectReference Include="../../System.Reflection/4.3.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Emit/4.3.0/System.Reflection.Emit.csproj" />
<ProjectReference Include="../../System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj" />
<ProjectReference Include="../../System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj" />
<ProjectReference Include="../../System.Reflection.Emit.Lightweight/4.3.0/System.Reflection.Emit.Lightweight.csproj" />
<ProjectReference Include="../../System.Reflection.Emit.Lightweight/4.7.0/System.Reflection.Emit.Lightweight.csproj" />
<ProjectReference Include="../../System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj" />
<ProjectReference Include="../../System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj" />
<ProjectReference Include="../../System.Reflection.TypeExtensions/4.3.0/System.Reflection.TypeExtensions.csproj" />
<ProjectReference Include="../../System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj" />
<ProjectReference Include="../../System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj" />
<ProjectReference Include="../../System.Runtime/4.3.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj" />

View File

@@ -7,14 +7,14 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../System.Collections/4.0.11/System.Collections.csproj" />
<ProjectReference Include="../../System.Diagnostics.Debug/4.0.11/System.Diagnostics.Debug.csproj" />
<ProjectReference Include="../../System.Linq/4.1.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.1.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.Reflection/4.1.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Extensions/4.0.1/System.Reflection.Extensions.csproj" />
<ProjectReference Include="../../System.Resources.ResourceManager/4.0.1/System.Resources.ResourceManager.csproj" />
<ProjectReference Include="../../System.Runtime/4.1.0/System.Runtime.csproj" />
<ProjectReference Include="../../System.Collections/4.3.0/System.Collections.csproj" />
<ProjectReference Include="../../System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj" />
<ProjectReference Include="../../System.Linq/4.3.0/System.Linq.csproj" />
<ProjectReference Include="../../System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj" />
<ProjectReference Include="../../System.Reflection/4.3.0/System.Reflection.csproj" />
<ProjectReference Include="../../System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj" />
<ProjectReference Include="../../System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj" />
<ProjectReference Include="../../System.Runtime/4.3.0/System.Runtime.csproj" />
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
</ItemGroup>
</Project>

View File

@@ -10,7 +10,7 @@
<ProjectReference Include="../../Microsoft.NETCore.Platforms/1.1.0/Microsoft.NETCore.Platforms.csproj" />
<ProjectReference Include="../../System.Collections/4.3.0/System.Collections.csproj" />
<ProjectReference Include="../../System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj" />
<ProjectReference Include="../../System.Diagnostics.DiagnosticSource/4.3.0/System.Diagnostics.DiagnosticSource.csproj" />
<ProjectReference Include="../../System.Diagnostics.DiagnosticSource/6.0.0/System.Diagnostics.DiagnosticSource.csproj" />
<ProjectReference Include="../../System.Diagnostics.Tracing/4.3.0/System.Diagnostics.Tracing.csproj" />
<ProjectReference Include="../../System.Globalization/4.3.0/System.Globalization.csproj" />
<ProjectReference Include="../../System.Globalization.Extensions/4.3.0/System.Globalization.Extensions.csproj" />