52 references to AssertIncompleteSubmission
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (52)
Syntax\SyntaxTests.cs (52)
43
AssertIncompleteSubmission
("#if F");
44
AssertIncompleteSubmission
("#region R");
51
AssertIncompleteSubmission
("using X; /*");
53
AssertIncompleteSubmission
(@"
60
AssertIncompleteSubmission
(@"
70
AssertIncompleteSubmission
("\"");
71
AssertIncompleteSubmission
("'");
73
AssertIncompleteSubmission
("@\"xxx");
74
AssertIncompleteSubmission
("/* ");
76
AssertIncompleteSubmission
("1.");
77
AssertIncompleteSubmission
("1+");
78
AssertIncompleteSubmission
("f(");
79
AssertIncompleteSubmission
("f,");
80
AssertIncompleteSubmission
("f(a");
81
AssertIncompleteSubmission
("f(a,");
82
AssertIncompleteSubmission
("f(a:");
83
AssertIncompleteSubmission
("new");
84
AssertIncompleteSubmission
("new T(");
85
AssertIncompleteSubmission
("new T {");
86
AssertIncompleteSubmission
("new T");
87
AssertIncompleteSubmission
("1 + new T");
92
AssertIncompleteSubmission
("void goo(");
93
AssertIncompleteSubmission
("void goo()");
94
AssertIncompleteSubmission
("void goo() {");
98
AssertIncompleteSubmission
("int goo {");
102
AssertIncompleteSubmission
("enum goo {");
105
AssertIncompleteSubmission
("class goo {");
108
AssertIncompleteSubmission
("struct goo {");
111
AssertIncompleteSubmission
("interface goo {");
116
AssertIncompleteSubmission
("partial class");
118
AssertIncompleteSubmission
("int x = 1");
121
AssertIncompleteSubmission
("delegate T F()");
122
AssertIncompleteSubmission
("delegate T F<");
125
AssertIncompleteSubmission
("using");
126
AssertIncompleteSubmission
("using X");
129
AssertIncompleteSubmission
("extern");
130
AssertIncompleteSubmission
("extern alias");
131
AssertIncompleteSubmission
("extern alias X");
134
AssertIncompleteSubmission
("[");
135
AssertIncompleteSubmission
("[A");
138
AssertIncompleteSubmission
("try");
139
AssertIncompleteSubmission
("try {");
140
AssertIncompleteSubmission
("try { }");
141
AssertIncompleteSubmission
("try { } finally");
142
AssertIncompleteSubmission
("try { } finally {");
143
AssertIncompleteSubmission
("try { } catch");
144
AssertIncompleteSubmission
("try { } catch {");
145
AssertIncompleteSubmission
("try { } catch (");
146
AssertIncompleteSubmission
("try { } catch (Exception");
147
AssertIncompleteSubmission
("try { } catch (Exception e");
148
AssertIncompleteSubmission
("try { } catch (Exception e)");
149
AssertIncompleteSubmission
("try { } catch (Exception e) {");