18 references to VerifyOutVar
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\NullableReferenceTypesTests.cs (18)
33022VerifyOutVar(c, "string?");
33094VerifyOutVar(c, "string!"); // https://github.com/dotnet/roslyn/issues/29856: expecting string?
33118VerifyOutVar(c, "string!");
33207VerifyOutVar(c, "string!");
33227VerifyOutVar(c, "string?");
33251VerifyOutVar(c, "string?");
33279VerifyOutVar(c, "string?");
33303VerifyOutVar(c, "string?[]!");
33327VerifyOutVar(c, "string?[]!");
33354VerifyOutVar(c, "string![]!");
34378VerifyOutVar(c, "string![]!"); // https://github.com/dotnet/roslyn/issues/29856: expecting string?[]!
34399VerifyOutVar(c, "string!"); // https://github.com/dotnet/roslyn/issues/29856: T is inferred to string! instead of string?, so the `var` gets `string!`
34420VerifyOutVar(c, "string?");
34444VerifyOutVar(c, "string!");
34471VerifyOutVar(c, "string!");
34492VerifyOutVar(c, "string?");
34519VerifyOutVar(c, "string?");
34543VerifyOutVar(c, "string?");