9 references to ParseAndRoundTripping
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\RoundTrippingTests.cs (9)
23ParseAndRoundTripping(text, TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.Preview), errorCount, memberCount);
78ParseAndRoundTripping("class C { int GetInt { get; } = 0; }", parseOptions, memberCount: 1);
79ParseAndRoundTripping("class C { int GetInt { get; } = 0 }", parseOptions, 1, 1);
80ParseAndRoundTripping("class C { public int GetInt { get; } = 0; }", parseOptions, memberCount: 1);
81ParseAndRoundTripping("class C { int GetInt { get; } = 0;; }", parseOptions, 1, 1);
82ParseAndRoundTripping("class C { int GetInt { get;; } = 0;; }", parseOptions, 2, 1);
83ParseAndRoundTripping("interface I { int GetInt { get; } = 0; }", parseOptions, memberCount: 1);
84ParseAndRoundTripping("interface I { int GetInt { get; } = 0 }", parseOptions, 1, 1);
85ParseAndRoundTripping("interface I { public int GetInt { get; } = 0; }", parseOptions, memberCount: 1);