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)
23136
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23340
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23385
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23471
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23587
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23807
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
23925
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24153
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24224
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24441
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24472
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
24587
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25122
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25210
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25451
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25496
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25621
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25737
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25801
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
25958
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26098
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);
26199
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26341
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26482
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26626
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26766
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26817
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
26947
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27087
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27240
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27379
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27437
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27614
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27772
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
27827
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28005
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28170
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28229
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28380
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28517
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);
28621
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28789
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
28940
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29080
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29144
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29320
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29482
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29595
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29796
options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
29984
options: TestOptions.DebugExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30051
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30223
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30377
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30430
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30471
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30515
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30560
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30618
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30789
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30945
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
30998
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31039
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31083
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31143
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31316
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31473
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31526
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31567
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31611
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31656
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31700
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31787
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31880
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
31966
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"),
32055
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32099
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32139
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32179
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32219
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32259
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32278
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32314
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32331
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true);
32368
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32408
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32496
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32524
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32552
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.
WithScriptClassName
("Script"), parseOptions: TestOptions.Script);
32578
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"),