13
1
Option Strict On
2
Imports System
3
Public Module Module1
4
Public Sub Main()
5
Dim i As Integer = 0
6
Console.WriteLine(i) 'i=0
7
TwoPlusTwo(i)
8
Console.WriteLine(i) 'i=4
9
End Sub
10
Private Sub TwoPlusTwo(ByRef value As Integer)
11
value = 2 + 2
12
End Sub
13
End Module
Cached Result
Compilation error (line 7, col 7): The type or namespace name 'MongoDB' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 14, col 16): The type or namespace name 'ITransactionService' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 15, col 16): The type or namespace name 'IMongoCollection<>' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 17, col 77): The type or namespace name 'ITransactionService' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 17, col 117): The type or namespace name 'IMongoClient' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 1, col 1): Program does not contain a static 'Main' method suitable for an entry point
Compilation error (line 35, col 24): 'ILogger<TransactionController>' does not contain a definition for 'logdebug' and no accessible extension method 'logdebug' accepting a first argument of type 'ILogger<TransactionController>' could be found (are you missing a using directive or an assembly reference?)
Compilation error (line 14, col 16): The type or namespace name 'ITransactionService' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 15, col 16): The type or namespace name 'IMongoCollection<>' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 17, col 77): The type or namespace name 'ITransactionService' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 17, col 117): The type or namespace name 'IMongoClient' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 1, col 1): Program does not contain a static 'Main' method suitable for an entry point
Compilation error (line 35, col 24): 'ILogger<TransactionController>' does not contain a definition for 'logdebug' and no accessible extension method 'logdebug' accepting a first argument of type 'ILogger<TransactionController>' could be found (are you missing a using directive or an assembly reference?)