public void IsNullable(Type type, bool expected) { var symbol = Compilation.GetTypeByMetadataName(type); symbol.ShouldNotBeNull(); SyntaxTools.IsNullable(symbol).ShouldBe(expected); }
public void IsNullable(Type type, bool expected) { var symbol = Compilation.GetTypeByMetadataName(type); symbol.ShouldNotBeNull(); SyntaxTools.IsNullable(symbol).ShouldBe(expected); }