10 references to validate
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\TargetTypedDefaultTests.cs (10)
1659validate(modifier: "class", type: "int", value: "0", equal: "true", semanticType: "System.Int32");
1660validate("class", "int", "1", "false", "System.Int32");
1661validate("class", "int?", "null", "true", "System.Int32?");
1663validate("class", "string", "null", "true", "System.String");
1664validate("class", "string", "\"\"", "false", "System.String");
1666validate("class", "MyType", "null", "true", "System.Object");
1779validate("class", "(int, int)", "(1, 2)", "false", "(System.Int32, System.Int32)");
1780validate("class", "(int, int)", "(0, 0)", "true", "(System.Int32, System.Int32)");
1781validate("class", "(int, int)?", "null", "true", "(System.Int32, System.Int32)?");
1782validate("class", "(int, int)?", "(0, 0)", "false", "(System.Int32, System.Int32)?");