20 references to ReturnType
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
CodeGen\CodeGenScriptTests.vb (3)
306
Assert.Equal("System.Threading.Tasks.Task(Of Object)", methodData.Method.
ReturnType
.ToDisplayString())
365
Assert.Equal("System.Threading.Tasks.Task(Of Object)", methodData.Method.
ReturnType
.ToDisplayString())
393
Assert.Equal("System.Threading.Tasks.Task(Of Object)", methodData.Method.
ReturnType
.ToDisplayString())
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (17)
ExpressionCompilerTests.vb (6)
1439
Assert.Equal(SpecialType.System_Object, method.
ReturnType
.SpecialType)
1708
Assert.Equal(SpecialType.System_Void, method.
ReturnType
.SpecialType)
2271
Assert.Equal(methodData.Method.
ReturnType
.ToDisplayString(), "Integer()")
3439
Assert.Equal(SpecialType.System_Int32, methodData.Method.
ReturnType
.SpecialType)
3474
Assert.Equal(SpecialType.System_Int32, methodData.Method.
ReturnType
.SpecialType)
4513
Dim returnType = DirectCast(methodData.Method.
ReturnType
, NamedTypeSymbol)
LocalsTests.vb (3)
1971
Assert.Equal(SpecialType.System_Int32, testData.GetMethodData(typeName & ".<>m0").Method.
ReturnType
.SpecialType)
1980
Assert.Equal(SpecialType.System_Int32, methodData.Method.
ReturnType
.SpecialType)
2013
Dim typeVariablesType = DirectCast(method.
ReturnType
, NamedTypeSymbol)
ReferencedModulesTests.vb (4)
608
Assert.Equal(methodData.Method.
ReturnType
.ContainingAssembly.ToDisplayString(), identityA.GetDisplayName())
626
Assert.Equal(methodData.Method.
ReturnType
.ContainingAssembly.ToDisplayString(), identityA.GetDisplayName())
642
Assert.Equal(methodData.Method.
ReturnType
.ContainingAssembly.ToDisplayString(), identityA.GetDisplayName())
796
Assert.Equal(methodData.Method.
ReturnType
.ContainingAssembly.ToDisplayString(), identityObjectModel.GetDisplayName())
TupleTests.vb (4)
56
Assert.True(method.
ReturnType
.IsTupleType)
190
Assert.True(method.
ReturnType
.IsTupleType)
232
Assert.True(method.
ReturnType
.IsTupleType)
466
Dim returnType = DirectCast(method.
ReturnType
, TypeSymbol)