Skip to content

Commit 1e7e49a

Browse files
committed
C#: Add relevant stubs.
1 parent 344770f commit 1e7e49a

File tree

6 files changed

+1752
-0
lines changed

6 files changed

+1752
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5+
<OutputPath>bin\</OutputPath>
6+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
11+
</ItemGroup>
12+
</Project>

csharp/ql/test/resources/stubs/Stub.System.Data.SQLite.Core.NetStandard/1.0.116/System.Data.SQLite.cs

Lines changed: 1671 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5+
<OutputPath>bin\</OutputPath>
6+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="../../Stub.System.Data.SQLite.Core.NetStandard/1.0.116/Stub.System.Data.SQLite.Core.NetStandard.csproj" />
11+
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
12+
</ItemGroup>
13+
</Project>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// This file contains auto-generated code.
2+
3+
namespace System
4+
{
5+
namespace Data
6+
{
7+
namespace SQLite
8+
{
9+
namespace EF6
10+
{
11+
// Generated from `System.Data.SQLite.EF6.SQLiteProviderFactory` in `System.Data.SQLite.EF6, Version=1.0.116.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139`
12+
public class SQLiteProviderFactory : System.Data.Common.DbProviderFactory, System.IDisposable, System.IServiceProvider
13+
{
14+
public override System.Data.Common.DbCommand CreateCommand() => throw null;
15+
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder() => throw null;
16+
public override System.Data.Common.DbConnection CreateConnection() => throw null;
17+
public override System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder() => throw null;
18+
public override System.Data.Common.DbDataAdapter CreateDataAdapter() => throw null;
19+
public override System.Data.Common.DbParameter CreateParameter() => throw null;
20+
public void Dispose() => throw null;
21+
public object GetService(System.Type serviceType) => throw null;
22+
public static System.Data.SQLite.EF6.SQLiteProviderFactory Instance;
23+
public SQLiteProviderFactory() => throw null;
24+
// ERR: Stub generator didn't handle member: ~SQLiteProviderFactory
25+
}
26+
27+
}
28+
}
29+
}
30+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5+
<OutputPath>bin\</OutputPath>
6+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
11+
</ItemGroup>
12+
</Project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5+
<OutputPath>bin\</OutputPath>
6+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="../../System.Data.SQLite.Core/1.0.116/System.Data.SQLite.Core.csproj" />
11+
<ProjectReference Include="../../System.Data.SQLite.EF6/1.0.116/System.Data.SQLite.EF6.csproj" />
12+
<ProjectReference Include="../../_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj" />
13+
</ItemGroup>
14+
</Project>

0 commit comments

Comments
 (0)