mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Start using 'options' files in tests
This commit is contained in:
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Data.Common.dll /r:System.Xml.XmlSerializer.dll /r:System.Runtime.Serialization.Xml.dll /r:System.Runtime.Serialization.Xml.dll /r:System.Collections.dll /r:System.Private.Xml.dll /r:System.Private.DataContractSerialization.dll /r:System.Runtime.Extensions.dll /r:System.ComponentModel.TypeConverter.dll /r:System.Xml.ReaderWriter.dll /r:System.IO.FileSystem.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Data.Common.dll /r:System.Xml.XmlSerializer.dll /r:System.Runtime.Serialization.Xml.dll /r:System.Runtime.Serialization.Xml.dll /r:System.Collections.dll /r:System.Private.Xml.dll /r:System.Private.DataContractSerialization.dll /r:System.Runtime.Extensions.dll /r:System.ComponentModel.TypeConverter.dll /r:System.Xml.ReaderWriter.dll /r:System.IO.FileSystem.dll
|
||||
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
@@ -98,4 +98,4 @@ namespace DataSetSerializationTest
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
csharp/ql/test/experimental/ir/ir/options
Normal file
1
csharp/ql/test/experimental/ir/ir/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /langversion:preview
|
||||
@@ -27,4 +27,4 @@ class UsingStmt
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /langversion:preview
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
semmle-extractor-options: /r:asm1=${testdir}/Assembly1.dll /r:asm2=${testdir}/Assembly2.dll
|
||||
|
||||
|
||||
Class is defined in three places, and requires the alias to disambiguate them.
|
||||
*/
|
||||
|
||||
1
csharp/ql/test/library-tests/aliases/options
Normal file
1
csharp/ql/test/library-tests/aliases/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:asm1=${testdir}/Assembly1.dll /r:asm2=${testdir}/Assembly2.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
|
||||
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
|
||||
1
csharp/ql/test/library-tests/asp/basic/options
Normal file
1
csharp/ql/test/library-tests/asp/basic/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
|
||||
@@ -15,4 +15,4 @@ namespace TestAssemblies
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Runtime.Extensions.dll
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /out:Locations.dll
|
||||
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
|
||||
2
csharp/ql/test/library-tests/assemblies/options
Normal file
2
csharp/ql/test/library-tests/assemblies/options
Normal file
@@ -0,0 +1,2 @@
|
||||
semmle-extractor-options: /out:Locations.dll
|
||||
semmle-extractor-options: /r:System.Runtime.Extensions.dll
|
||||
@@ -139,4 +139,4 @@ class Assignables
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /langversion:8.0
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/assignables/options
Normal file
1
csharp/ql/test/library-tests/assignables/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /langversion:8.0
|
||||
@@ -55,4 +55,4 @@ namespace Semmle
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Runtime.Extensions.dll /r:System.IO.FileSystem.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/async/options
Normal file
1
csharp/ql/test/library-tests/async/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Runtime.Extensions.dll /r:System.IO.FileSystem.dll
|
||||
@@ -1,7 +1,7 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
class Test
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/attributes/options
Normal file
1
csharp/ql/test/library-tests/cil/attributes/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/consistency/options
Normal file
1
csharp/ql/test/library-tests/cil/consistency/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/dataflow/options
Normal file
1
csharp/ql/test/library-tests/cil/dataflow/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/enums/options
Normal file
1
csharp/ql/test/library-tests/cil/enums/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,7 +1,7 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
class Test
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/init-only-prop/options
Normal file
1
csharp/ql/test/library-tests/cil/init-only-prop/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1 +1 @@
|
||||
// semmle-extractor-options: --cil --pdb
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/pdbs/options
Normal file
1
csharp/ql/test/library-tests/cil/pdbs/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil --pdb
|
||||
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
/*
|
||||
* A regression test for the CIL extractor - compiled into Methods.dll
|
||||
* This tests the correct extraction of F<T>, and we should end up with
|
||||
* 2 constructed methods of F<T>.
|
||||
*/
|
||||
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
namespace Methods
|
||||
{
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/regressions/options
Normal file
1
csharp/ql/test/library-tests/cil/regressions/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/cil/typeAnnotations/options
Normal file
1
csharp/ql/test/library-tests/cil/typeAnnotations/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil
|
||||
@@ -52,4 +52,4 @@ class Assertions
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs /r:System.Diagnostics.Contracts.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/commons/Assertions/options
Normal file
1
csharp/ql/test/library-tests/commons/Assertions/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs /r:System.Diagnostics.Contracts.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --cil /r:System.Net.Http.dll /r:System.Runtime.Extensions.dll /r:System.Private.Xml.dll
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/commons/Disposal/options
Normal file
1
csharp/ql/test/library-tests/commons/Disposal/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --cil /r:System.Net.Http.dll /r:System.Runtime.Extensions.dll /r:System.Private.Xml.dll
|
||||
@@ -2,4 +2,4 @@ using System;
|
||||
|
||||
class NonGeneratedCode { }
|
||||
|
||||
// semmle-extractor-options: /r:System.Diagnostics.Tools.dll
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Diagnostics.Tools.dll
|
||||
@@ -147,4 +147,4 @@ class ExitMethods
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Windows.cs ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
|
||||
|
||||
@@ -301,4 +301,4 @@ class NegationInConstructor
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Linq.dll /r:System.Runtime.Extensions.dll
|
||||
|
||||
|
||||
2
csharp/ql/test/library-tests/controlflow/graph/options
Normal file
2
csharp/ql/test/library-tests/controlflow/graph/options
Normal file
@@ -0,0 +1,2 @@
|
||||
semmle-extractor-options: /r:System.Linq.dll /r:System.Runtime.Extensions.dll
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Windows.cs ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
@@ -95,4 +95,4 @@ class AssertTests
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Collections.Specialized.dll /r:System.Collections.dll /r:System.Linq.dll
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// semmle-extractor-options: --cil
|
||||
|
||||
#nullable enable
|
||||
|
||||
3
csharp/ql/test/library-tests/controlflow/guards/options
Normal file
3
csharp/ql/test/library-tests/controlflow/guards/options
Normal file
@@ -0,0 +1,3 @@
|
||||
semmle-extractor-options: --cil
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
semmle-extractor-options: /r:System.Collections.Specialized.dll /r:System.Collections.dll /r:System.Linq.dll
|
||||
@@ -46,4 +46,4 @@ class C<T1, T2, T3, T4, T5, T6>
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/conversion/boxing/options
Normal file
1
csharp/ql/test/library-tests/conversion/boxing/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
@@ -29,4 +29,4 @@ class C<T>
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/conversion/identity/options
Normal file
1
csharp/ql/test/library-tests/conversion/identity/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
@@ -92,4 +92,4 @@ class C3<T5, T6> where T5 : C1
|
||||
public I4<T5, T6> M(I4<C1, T6> x) => x;
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/conversion/reftype/options
Normal file
1
csharp/ql/test/library-tests/conversion/reftype/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
Testcase covering C# 6.0 features
|
||||
*/
|
||||
|
||||
@@ -80,4 +80,4 @@ class IndexInitializers
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Linq.dll /langerversion:6.0
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp6/options
Normal file
1
csharp/ql/test/library-tests/csharp6/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Linq.dll /langerversion:6.0
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /langversion:latest
|
||||
|
||||
|
||||
class DefaultLiterals
|
||||
{
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp7.1/options
Normal file
1
csharp/ql/test/library-tests/csharp7.1/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /langversion:latest
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /langversion:latest
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp7.2/options
Normal file
1
csharp/ql/test/library-tests/csharp7.2/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /langversion:latest
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /langversion:latest
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp7.3/options
Normal file
1
csharp/ql/test/library-tests/csharp7.3/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /langversion:latest
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Linq.dll
|
||||
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp7/options
Normal file
1
csharp/ql/test/library-tests/csharp7/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Linq.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Threading.Tasks.dll /r:System.Threading.Tasks.Extensions.dll /r:netstandard.dll /langversion:preview
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /langversion:8.0
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
3
csharp/ql/test/library-tests/csharp8/options
Normal file
3
csharp/ql/test/library-tests/csharp8/options
Normal file
@@ -0,0 +1,3 @@
|
||||
semmle-extractor-options: /langversion:8.0
|
||||
semmle-extractor-options: /r:System.Threading.Tasks.dll /r:System.Threading.Tasks.Extensions.dll /r:netstandard.dll /langversion:preview
|
||||
semmle-extractor-options: /langversion:8.0
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /langversion:8.0
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
Global statements are not allowed in 'library' target.
|
||||
|
||||
semmle-extractor-options: --standalone
|
||||
|
||||
*/
|
||||
|
||||
using System;
|
||||
@@ -22,4 +22,4 @@ public class Attr : Attribute
|
||||
{
|
||||
Console.WriteLine("3");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
csharp/ql/test/library-tests/csharp9/options
Normal file
1
csharp/ql/test/library-tests/csharp9/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --standalone
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Linq.dll
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Linq.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Net.dll /r:System.Web.dll /r:System.Net.HttpListener.dll /r:System.Collections.Specialized.dll /r:System.Private.Uri.dll /r:System.Security.Cryptography.X509Certificates.dll ${testdir}/../../../../resources/stubs/System.Web.cs
|
||||
|
||||
|
||||
using System.Web.Http;
|
||||
using System.Web.Mvc;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Net.dll /r:System.Web.dll /r:System.Net.HttpListener.dll /r:System.Collections.Specialized.dll /r:System.Private.Uri.dll /r:System.Security.Cryptography.X509Certificates.dll ${testdir}/../../../../resources/stubs/System.Web.cs
|
||||
@@ -503,4 +503,4 @@ static class IEnumerableExtensions
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Diagnostics.Process.dll /r:System.Linq.dll /r:System.Linq.Expressions.dll /r:System.Linq.Queryable.dll /r:System.ComponentModel.Primitives.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/dataflow/global/options
Normal file
1
csharp/ql/test/library-tests/dataflow/global/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Diagnostics.Process.dll /r:System.Linq.dll /r:System.Linq.Expressions.dll /r:System.Linq.Queryable.dll /r:System.ComponentModel.Primitives.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /r:System.Net.dll /r:System.Web.dll /r:System.Net.HttpListener.dll /r:System.Collections.Specialized.dll /r:System.Private.Uri.dll /r:System.Runtime.Extensions.dll /r:System.Linq.Parallel.dll /r:System.Collections.Concurrent.dll /r:System.Linq.Expressions.dll /r:System.Collections.dll /r:System.Linq.Queryable.dll /r:System.Linq.dll /r:System.Collections.NonGeneric.dll /r:System.ObjectModel.dll /r:System.ComponentModel.TypeConverter.dll /r:System.IO.Compression.dll /r:System.IO.Pipes.dll /r:System.Net.Primitives.dll /r:System.Net.Security.dll /r:System.Security.Cryptography.Primitives.dll /r:System.Text.RegularExpressions.dll ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Runtime.Serialization.Primitives.dll
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
1
csharp/ql/test/library-tests/dataflow/library/options
Normal file
1
csharp/ql/test/library-tests/dataflow/library/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Net.dll /r:System.Web.dll /r:System.Net.HttpListener.dll /r:System.Collections.Specialized.dll /r:System.Private.Uri.dll /r:System.Runtime.Extensions.dll /r:System.Linq.Parallel.dll /r:System.Collections.Concurrent.dll /r:System.Linq.Expressions.dll /r:System.Collections.dll /r:System.Linq.Queryable.dll /r:System.Linq.dll /r:System.Collections.NonGeneric.dll /r:System.ObjectModel.dll /r:System.ComponentModel.TypeConverter.dll /r:System.IO.Compression.dll /r:System.IO.Pipes.dll /r:System.Net.Primitives.dll /r:System.Net.Security.dll /r:System.Security.Cryptography.Primitives.dll /r:System.Text.RegularExpressions.dll ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Runtime.Serialization.Primitives.dll
|
||||
@@ -181,4 +181,4 @@ public class Ssa
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Collections.dll /r:System.Collections.Specialized.dll /r:System.Linq.dll /r:System.Private.Uri.dll /r:System.Runtime.Extensions.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/dataflow/local/options
Normal file
1
csharp/ql/test/library-tests/dataflow/local/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Collections.dll /r:System.Collections.Specialized.dll /r:System.Linq.dll /r:System.Private.Uri.dll /r:System.Runtime.Extensions.dll
|
||||
@@ -488,4 +488,4 @@ class SignAnalysis
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Linq.dll
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Linq.dll
|
||||
@@ -36,4 +36,4 @@ class Tuples
|
||||
static void Use<T>(T u) { }
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Diagnostics.Process.dll /r:System.Linq.dll /r:System.Linq.Expressions.dll /r:System.Linq.Queryable.dll /r:System.ComponentModel.Primitives.dll
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/dataflow/ssa/options
Normal file
1
csharp/ql/test/library-tests/dataflow/ssa/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Diagnostics.Process.dll /r:System.Linq.dll /r:System.Linq.Expressions.dll /r:System.Linq.Queryable.dll /r:System.ComponentModel.Primitives.dll
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: --standalone
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/diagnostics/options
Normal file
1
csharp/ql/test/library-tests/diagnostics/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --standalone
|
||||
@@ -1,4 +1,4 @@
|
||||
using System; // semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
|
||||
|
||||
1
csharp/ql/test/library-tests/dispatch/options
Normal file
1
csharp/ql/test/library-tests/dispatch/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Dynamic.Runtime.dll /r:System.Linq.Expressions.dll
|
||||
@@ -1,6 +1,6 @@
|
||||
// semmle-extractor-options: /codepage:1252
|
||||
|
||||
|
||||
class SBCS
|
||||
{
|
||||
string sbcs = "<22>";
|
||||
string sbcs = "<22>";
|
||||
}
|
||||
|
||||
1
csharp/ql/test/library-tests/encoding/options
Normal file
1
csharp/ql/test/library-tests/encoding/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /codepage:1252
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /out:test.dll
|
||||
|
||||
|
||||
class C1
|
||||
{
|
||||
|
||||
1
csharp/ql/test/library-tests/exprorstmtparent/options
Normal file
1
csharp/ql/test/library-tests/exprorstmtparent/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /out:test.dll
|
||||
@@ -25,4 +25,4 @@ namespace VisualStudioTests
|
||||
}
|
||||
}
|
||||
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.VisualStudio.TestTools.UnitTesting.cs
|
||||
@@ -1,5 +1,5 @@
|
||||
// semmle-extractor-options: /r:System.Data.dll /r:System.ComponentModel.Primitives.dll /r:System.ComponentModel.TypeConverter.dll ${testdir}/../../../resources/stubs/EntityFramework.cs ${testdir}/../../../resources/stubs/System.Data.cs /r:System.ComponentModel.TypeConverter.dll /r:System.Data.Common.dll /r:System.Linq.dll
|
||||
// semmle-extractor-options: ${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs ${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
@@ -225,4 +225,4 @@ namespace EFTests
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
semmle-extractor-options: /r:System.Data.dll /r:System.ComponentModel.Primitives.dll /r:System.ComponentModel.TypeConverter.dll ${testdir}/../../../resources/stubs/EntityFramework.cs ${testdir}/../../../resources/stubs/System.Data.cs /r:System.ComponentModel.TypeConverter.dll /r:System.Data.Common.dll /r:System.Linq.dll
|
||||
semmle-extractor-options: ${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs ${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /nostdlib /noconfig --load-sources-from-project:../../../resources/stubs/Newtonsoft.Json/13.0.1/Newtonsoft.Json.csproj
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
1
csharp/ql/test/library-tests/frameworks/JsonNET/options
Normal file
1
csharp/ql/test/library-tests/frameworks/JsonNET/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /nostdlib /noconfig --load-sources-from-project:../../../resources/stubs/Newtonsoft.Json/13.0.1/Newtonsoft.Json.csproj
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: /nostdlib /noconfig --load-sources-from-project:../../../resources/stubs/NHibernate/5.3.8/NHibernate.csproj
|
||||
|
||||
|
||||
|
||||
using NHibernate;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /nostdlib /noconfig --load-sources-from-project:../../../resources/stubs/NHibernate/5.3.8/NHibernate.csproj
|
||||
@@ -33,4 +33,4 @@ struct Dispose1Struct : IDisposable
|
||||
public void Dispose() { }
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.ComponentModel.Primitives.dll
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.ComponentModel.Primitives.dll
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user