49 references to CreateCompilationWithIndexAndRangeAndSpan
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\IndexAndRangeTests.cs (11)
190var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe); 280var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe); 358var comp = CreateCompilationWithIndexAndRangeAndSpan(src); 412var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe); 917var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe); 1010var comp = CreateCompilationWithIndexAndRangeAndSpan(@" 1169var comp = CreateCompilationWithIndexAndRangeAndSpan(@" 1815var comp = CreateCompilationWithIndexAndRangeAndSpan(@" 3150var comp = CreateCompilationWithIndexAndRangeAndSpan(@" 3209var comp = CreateCompilationWithIndexAndRangeAndSpan(@" 3284var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (27)
Semantics\CollectionExpressionTests.cs (1)
28047CreateCompilationWithIndexAndRangeAndSpan(source).VerifyEmitDiagnostics(
Semantics\PatternMatchingTests_ListPatterns.cs (26)
2510var compilation = CreateCompilationWithIndexAndRangeAndSpan(source, parseOptions: TestOptions.RegularWithListPatterns, options: TestOptions.ReleaseExe); 2787var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 2807CreateCompilationWithIndexAndRangeAndSpan(@" 3119var comp = CreateCompilationWithIndexAndRangeAndSpan(source, options: TestOptions.ReleaseExe); 3176var comp = CreateCompilationWithIndexAndRangeAndSpan(source, options: TestOptions.ReleaseExe); 3235var comp = CreateCompilationWithIndexAndRangeAndSpan(source, options: TestOptions.ReleaseExe); 7228var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { src, TestSources.GetSubArray }, parseOptions: TestOptions.RegularWithListPatterns); 7251var comp = CreateCompilationWithIndexAndRangeAndSpan(src, parseOptions: TestOptions.RegularWithListPatterns); 7286var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }, options: TestOptions.DebugExe); 7382var comp = CreateCompilationWithIndexAndRangeAndSpan(src, parseOptions: TestOptions.RegularWithListPatterns); 7412var comp = CreateCompilationWithIndexAndRangeAndSpan(src, parseOptions: TestOptions.RegularWithListPatterns); 8598var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }); 8623var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8648var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8671var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8691var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8711var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8731var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8751var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8771var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8791var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8811var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 8841var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }); 8884var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }); 8940var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }); 8961var comp = CreateCompilationWithIndexAndRangeAndSpan(source);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IIsPatternExpression.cs (2)
2260var comp = CreateCompilationWithIndexAndRangeAndSpan(source); 2293var comp = CreateCompilationWithIndexAndRangeAndSpan(source);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\IndexAndRangeTests.cs (5)
39var comp = CreateCompilationWithIndexAndRangeAndSpan(src); 241var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe); 286var comp = CreateCompilationWithIndexAndRangeAndSpan(src); 1563CreateCompilationWithIndexAndRangeAndSpan(@" 1600CreateCompilationWithIndexAndRangeAndSpan(@"
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\NullablePublicAPITests.cs (2)
3303var comp = CreateCompilationWithIndexAndRangeAndSpan(source, options: WithNullableEnable()); 3352var comp = CreateCompilationWithIndexAndRangeAndSpan(source, options: WithNullableEnable());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\StatementAttributeParsingTests.cs (2)
6015CreateCompilationWithIndexAndRangeAndSpan(test).VerifyDiagnostics( 6107CreateCompilationWithIndexAndRangeAndSpan(test).VerifyDiagnostics(