Skip to content

Commit 82a1937

Browse files
committed
C#: Update stubs for other nuget packages and manually cleanup some of the project referenes.
1 parent c7f5de8 commit 82a1937

File tree

112 files changed

+2769
-2412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+2769
-2412
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class APIGatewayCustomAuthorizerPolicy
2828
public class IAMPolicyStatement
2929
{
3030
public System.Collections.Generic.HashSet<string> Action { get => throw null; set { } }
31+
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<string, object>> Condition { get => throw null; set { } }
3132
public IAMPolicyStatement() => throw null;
3233
public string Effect { get => throw null; set { } }
3334
public System.Collections.Generic.HashSet<string> Resource { get => throw null; set { } }

csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.2.0/Amazon.Lambda.Core.cs renamed to csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.5.0/Amazon.Lambda.Core.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,29 @@ public interface ILambdaLogger
4444
void Log(string message);
4545
virtual void Log(string level, string message) => throw null;
4646
virtual void Log(Amazon.Lambda.Core.LogLevel level, string message) => throw null;
47+
virtual void Log(string level, string message, params object[] args) => throw null;
48+
virtual void Log(string level, System.Exception exception, string message, params object[] args) => throw null;
49+
virtual void Log(Amazon.Lambda.Core.LogLevel level, string message, params object[] args) => throw null;
50+
virtual void Log(Amazon.Lambda.Core.LogLevel level, System.Exception exception, string message, params object[] args) => throw null;
4751
virtual void LogCritical(string message) => throw null;
52+
virtual void LogCritical(string message, params object[] args) => throw null;
53+
virtual void LogCritical(System.Exception exception, string message, params object[] args) => throw null;
4854
virtual void LogDebug(string message) => throw null;
55+
virtual void LogDebug(string message, params object[] args) => throw null;
56+
virtual void LogDebug(System.Exception exception, string message, params object[] args) => throw null;
4957
virtual void LogError(string message) => throw null;
58+
virtual void LogError(string message, params object[] args) => throw null;
59+
virtual void LogError(System.Exception exception, string message, params object[] args) => throw null;
5060
virtual void LogInformation(string message) => throw null;
61+
virtual void LogInformation(string message, params object[] args) => throw null;
62+
virtual void LogInformation(System.Exception exception, string message, params object[] args) => throw null;
5163
void LogLine(string message);
5264
virtual void LogTrace(string message) => throw null;
65+
virtual void LogTrace(string message, params object[] args) => throw null;
66+
virtual void LogTrace(System.Exception exception, string message, params object[] args) => throw null;
5367
virtual void LogWarning(string message) => throw null;
68+
virtual void LogWarning(string message, params object[] args) => throw null;
69+
virtual void LogWarning(System.Exception exception, string message, params object[] args) => throw null;
5470
}
5571
public interface ILambdaSerializer
5672
{
@@ -76,6 +92,11 @@ public enum LogLevel
7692
Error = 4,
7793
Critical = 5,
7894
}
95+
public static class SnapshotRestore
96+
{
97+
public static void RegisterAfterRestore(System.Func<System.Threading.Tasks.ValueTask> afterRestoreAction) => throw null;
98+
public static void RegisterBeforeSnapshot(System.Func<System.Threading.Tasks.ValueTask> beforeSnapshotAction) => throw null;
99+
}
79100
}
80101
}
81102
}

csharp/ql/test/resources/stubs/EntityFramework/6.4.4/EntityFramework.csproj renamed to csharp/ql/test/resources/stubs/EntityFramework/6.5.1/EntityFramework.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
<ItemGroup>
1010
<ProjectReference Include="../../Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj" />
11-
<ProjectReference Include="../../System.CodeDom/4.7.0/System.CodeDom.csproj" />
11+
<ProjectReference Include="../../System.CodeDom/6.0.0/System.CodeDom.csproj" />
1212
<ProjectReference Include="../../System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj" />
13-
<ProjectReference Include="../../System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj" />
14-
<ProjectReference Include="../../System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj" />
13+
<ProjectReference Include="../../System.Configuration.ConfigurationManager/9.0.1/System.Configuration.ConfigurationManager.csproj" />
14+
<ProjectReference Include="../../System.Data.SqlClient/4.9.0/System.Data.SqlClient.csproj" />
1515
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
1616
</ItemGroup>
1717
</Project>

csharp/ql/test/resources/stubs/System.Windows.Extensions/6.0.0/System.Windows.Extensions.csproj renamed to csharp/ql/test/resources/stubs/Microsoft.Extensions.Configuration.Abstractions/8.0.0/Microsoft.Extensions.Configuration.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<ProjectReference Include="../../System.Drawing.Common/6.0.0/System.Drawing.Common.csproj" />
10+
<ProjectReference Include="../../Microsoft.Extensions.Primitives/8.0.0/Microsoft.Extensions.Primitives.csproj" />
1111
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
1212
</ItemGroup>
1313
</Project>

0 commit comments

Comments
 (0)