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