9 references to GetSpeculativeType
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\InteractiveUsingTests.cs (9)
26Assert.Equal(SpecialType.System_String, GetSpeculativeType(sub, "String").SpecialType);
35Assert.Equal(SpecialType.System_Int32, GetSpeculativeType(sub, "I").SpecialType);
95Assert.Equal(typeSymbol, GetSpeculativeType(sub, "Type"));
96Assert.Equal(typeSymbol, GetSpeculativeType(sub, "T"));
125Assert.Equal(typeSymbol, GetSpeculativeType(sub4, "C1"));
187Assert.Equal(SpecialType.System_Int32, GetSpeculativeType(sub1, "A").SpecialType);
190Assert.Equal(SpecialType.System_Int16, GetSpeculativeType(sub2, "A").SpecialType);
193Assert.Equal(((Compilation)sub3).ScriptClass, GetSpeculativeType(sub3, "A").ContainingType);
196Assert.Equal(SpecialType.System_Int64, GetSpeculativeType(sub4, "A").SpecialType);