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