61 references to CreateCompilationWithIndex
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\IndexAndRangeTests.cs (7)
509
var comp =
CreateCompilationWithIndex
(src, options: TestOptions.ReleaseExe);
676
var comp =
CreateCompilationWithIndex
(src, options: TestOptions.ReleaseExe);
1602
var comp =
CreateCompilationWithIndex
(@"
1883
var comp =
CreateCompilationWithIndex
(@"
1957
var comp =
CreateCompilationWithIndex
(source, WithNullableEnable(TestOptions.DebugExe));
2120
var compilation =
CreateCompilationWithIndex
(@"
2141
var compilation =
CreateCompilationWithIndex
(@"
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (32)
CodeGen\IndexAndRangeTests.cs (32)
57
var comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
201
comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
233
var comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
237
comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
275
var comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
279
comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
312
var comp =
CreateCompilationWithIndex
(source);
395
var comp =
CreateCompilationWithIndex
(source);
486
var comp =
CreateCompilationWithIndex
(source);
568
var comp =
CreateCompilationWithIndex
(source, options: TestOptions.ReleaseExe);
823
var comp =
CreateCompilationWithIndex
(source, options: TestOptions.ReleaseExe);
870
var comp =
CreateCompilationWithIndex
(source);
918
var comp =
CreateCompilationWithIndex
(source);
1014
var comp =
CreateCompilationWithIndex
(source);
1217
var comp =
CreateCompilationWithIndex
(source);
1263
var comp =
CreateCompilationWithIndex
(source);
1339
var comp =
CreateCompilationWithIndex
(source);
1399
var comp =
CreateCompilationWithIndex
(source);
1475
var comp =
CreateCompilationWithIndex
(source);
1518
var comp =
CreateCompilationWithIndex
(source);
1567
var comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1721
comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
1759
var comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1763
comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
1802
var comp =
CreateCompilationWithIndex
(source);
1957
var comp =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular12);
1976
comp =
CreateCompilationWithIndex
(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2085
var comp =
CreateCompilationWithIndex
(source);
2125
var comp =
CreateCompilationWithIndex
(source);
4176
var comp =
CreateCompilationWithIndex
(source);
4225
var comp =
CreateCompilationWithIndex
(source);
4264
var comp =
CreateCompilationWithIndex
(source);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\PatternMatchingTests_ListPatterns.cs (1)
7828
var compilation =
CreateCompilationWithIndex
(source);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
IOperation\IOperationTests_IFromEndIndexOperation_IRangeOperation.cs (1)
140
var compilation =
CreateCompilationWithIndex
(source);
IOperation\IOperationTests_IIsPatternExpression.cs (2)
2117
var comp =
CreateCompilationWithIndex
(source);
2364
var comp =
CreateCompilationWithIndex
(source);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\DeconstructionTests.cs (1)
6479
var comp =
CreateCompilationWithIndex
(source);
Semantics\IndexAndRangeTests.cs (17)
668
var comp =
CreateCompilationWithIndex
(@"
683
var comp =
CreateCompilationWithIndex
(@"
758
var comp =
CreateCompilationWithIndex
(@"
788
var comp =
CreateCompilationWithIndex
(@"
906
var compilation =
CreateCompilationWithIndex
(@"
927
var compilation =
CreateCompilationWithIndex
(@"
948
var compilation =
CreateCompilationWithIndex
(@"
972
var compilation =
CreateCompilationWithIndex
(@"
999
var compilation =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected);
1000
compilation =
CreateCompilationWithIndex
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1006
var compilation =
CreateCompilationWithIndex
(@"
1034
var compilation =
CreateCompilationWithIndex
(@"
1094
var compilation =
CreateCompilationWithIndex
(@"
1226
var compilation =
CreateCompilationWithIndex
(@"
1259
var compilation =
CreateCompilationWithIndex
(@"
1292
var compilation =
CreateCompilationWithIndex
(@"
1489
CreateCompilationWithIndex
(@"