209 references to WithScriptClassName
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
785
return
WithScriptClassName
(scriptClassName);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenScriptTests.cs (9)
30
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
49
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
67
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
93
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
117
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
142
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
173
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
201
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
640
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (173)
Semantics\OutVarTests.cs (91)
23184
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23388
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23433
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23519
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23635
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23855
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23973
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24201
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24272
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24489
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24520
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24635
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25170
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25258
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25499
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25544
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25669
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25785
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25849
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26006
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26146
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26194
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26247
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26389
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26530
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26674
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26814
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26865
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26995
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27135
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27288
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27427
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27485
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27662
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27820
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27875
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28053
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28218
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28277
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28428
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28565
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28613
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28669
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28837
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28988
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29128
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29192
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29368
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29530
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29643
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29844
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30032
options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30099
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30271
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30425
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30478
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30519
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30563
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30608
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30666
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30837
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30993
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31046
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31087
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31131
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31191
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31364
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31521
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31574
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31615
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31659
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31704
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31748
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31835
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31928
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32014
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
32103
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32147
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32187
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32227
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32267
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32307
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32326
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32362
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32379
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32416
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32456
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32544
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32572
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32600
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32626
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_Global.cs (82)
53
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
175
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
286
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
345
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
497
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
632
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
674
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
722
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
859
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
995
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1127
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1255
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1301
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1426
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1561
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1709
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1843
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
1898
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2069
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2220
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2272
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2444
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2602
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2656
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2802
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2934
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
2980
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3033
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3192
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3338
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3473
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3532
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3703
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3856
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
3916
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4114
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4295
options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4357
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4524
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4669
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4713
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4749
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4788
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4824
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
4877
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5043
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5190
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5234
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5270
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5309
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5364
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5549
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5719
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5768
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5804
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5843
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5884
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5923
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6008
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6095
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6177
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
6260
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6289
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6317
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6341
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6370
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6393
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6487
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6679
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6719
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6796
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
6906
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7120
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7223
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7445
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7504
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7703
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7728
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
7837
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
8366
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
8448
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
8683
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests.cs (1)
505
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\InteractiveSemanticModelTests.cs (1)
36
options: TestOptions.ReleaseExe.
WithScriptClassName
("Goo.Bar.Script")
Semantics\RefFieldTests.cs (3)
12109
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
12479
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
12889
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
Semantics\RefLocalsAndReturnsTests.cs (2)
5239
var comp = CreateCompilation(code, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
5278
var comp = CreateCompilation(code, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
Semantics\ScriptSemanticsTests.cs (13)
265
var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
288
var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
369
options: TestOptions.ReleaseExe.
WithScriptClassName
("Goo.Script"),
400
options: TestOptions.ReleaseExe.
WithScriptClassName
("Goo.Script"),
447
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
489
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
1193
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
1217
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"));
1226
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
(""));
1238
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
(null));
1250
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("a\0b"));
1322
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script1"));
1352
compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script1"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\CSharpCompilationOptionsTests.cs (4)
112
TestProperty((old, value) => old.
WithScriptClassName
(value), opt => opt.ScriptClassName, "<Script>");
147
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
(null).VerifyErrors(
151
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
("blah\0goo").VerifyErrors(
155
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
("").VerifyErrors(
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2754
options: TestOptions.DebugExe.
WithScriptClassName
("Script"),
Symbols\ExtensionMethodTests.cs (1)
2427
options: TestOptions.DebugExe.
WithScriptClassName
("Script"),