Merge pull request #545 from calumgrant/cs/typemention-constraints

C#: Fix for type mentions of type parameter constraints
This commit is contained in:
Tom Hvitved
2018-11-27 14:25:48 +01:00
committed by GitHub
3 changed files with 18 additions and 5 deletions

View File

@@ -139,4 +139,12 @@ class LocalVariableTags
};
}
partial class C1<T> where T: DynamicType
{
}
partial class C1<T> where T: DynamicType
{
}
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll

View File

@@ -64,3 +64,7 @@
| Program.cs:135:33:135:38 | String |
| Program.cs:135:41:135:46 | Object |
| Program.cs:137:10:137:15 | Object |
| Program.cs:142:27:142:27 | T |
| Program.cs:142:30:142:40 | DynamicType |
| Program.cs:146:27:146:27 | T |
| Program.cs:146:30:146:40 | DynamicType |