File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -738,6 +738,13 @@ private HashSet<MetadataToken> BuildDependencyList(MetadataToken token)
738
738
set . Add ( v . VariableType . MetadataToken ) ;
739
739
set . Add ( v . VariableType . GetElementType ( ) . MetadataToken ) ;
740
740
}
741
+ else if ( v . VariableType . IsPointer )
742
+ {
743
+ var message = $ "Pointer types in unsafe code aren't supported. Can't use { v . VariableType } variable in \" { md . FullName } \" .";
744
+
745
+ Console . WriteLine ( message ) ;
746
+ throw new Exception ( message ) ;
747
+ }
741
748
}
742
749
743
750
// op codes
Original file line number Diff line number Diff line change @@ -145,7 +145,17 @@ jobs:
145
145
- script : nbgv cloud -a -c
146
146
condition : succeeded()
147
147
displayName : Set Could Version
148
-
148
+
149
+ - task : PowerShell@2
150
+ displayName : Remove nano Test Adapter
151
+ inputs :
152
+ targetType : ' inline'
153
+ script : |
154
+ Get-ChildItem -Path $env:System_DefaultWorkingDirectory -Include "nanoFramework.TestAdapter.dll" -Recurse |
155
+ Foreach-object {
156
+ Remove-Item -Path $_.fullname
157
+ }
158
+
149
159
- task : VisualStudioTestPlatformInstaller@1
150
160
condition : succeeded()
151
161
displayName : ' Visual Studio Test Platform Installer'
@@ -157,6 +167,7 @@ jobs:
157
167
displayName : ' Running tests'
158
168
inputs :
159
169
testSelector : ' testAssemblies'
170
+ pathtoCustomTestAdapters :
160
171
testAssemblyVer2 : |
161
172
**\*Tests*.dll
162
173
!**\*TestAdapter*.dll
You can’t perform that action at this time.
0 commit comments