54 references to CreateCompilationWithSpan
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\CodeGenForEachTests.cs (1)
3298var comp = CreateCompilationWithSpan(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
CodeGen\CodeGenFunctionPointersTests.cs (6)
5017var comp = CreateCompilationWithSpan(@" 10987var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseExe); 10994comp = CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe); 11021var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseExe); 11037comp = CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe); 11283var comp = CreateCompilationWithSpan(@"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Semantics\PatternMatchingTests.cs (4)
8490CreateCompilationWithSpan(source, parseOptions: TestOptions.RegularPreview) 8519CreateCompilationWithSpan(source, parseOptions: TestOptions.RegularPreview) 10090CreateCompilationWithSpan(source, parseOptions: TestOptions.RegularPreview) 10119CreateCompilationWithSpan(source, parseOptions: TestOptions.RegularPreview)
Semantics\PatternMatchingTests2.cs (1)
3613var comp = CreateCompilationWithSpan(source);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IConversionExpression.cs (2)
3434var comp = CreateCompilationWithSpan(source); 3450comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular12);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (40)
Semantics\DelegateTypeTests.cs (1)
12237var comp = CreateCompilationWithSpan(source, options: TestOptions.ReleaseExe);
Semantics\IndexAndRangeTests.cs (2)
1907var comp = CreateCompilationWithSpan(src); 2093var comp = CreateCompilationWithSpan(src);
Semantics\NullableReferenceTypesTests.cs (2)
145048var comp = CreateCompilationWithSpan(src + @" 145066comp = CreateCompilationWithSpan(src + @"
Semantics\RefEscapingTests.cs (19)
47var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 2633var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 2666var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 2797var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 2918var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 2947var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3041var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3195var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3277var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3447var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3784var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3829var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 3994var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 4184var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 6340var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 8490var comp = CreateCompilationWithSpan(source); 8520var comp = CreateCompilationWithSpan(source); 9755var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll); 9842var comp = CreateCompilationWithSpan(tree, TestOptions.UnsafeDebugDll);
Semantics\RefFieldTests.cs (9)
16911var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 29763var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 29819var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.UnsafeReleaseDll); 29851var comp = CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseDll); 30111var comp = CreateCompilationWithSpan(source); 30137var comp = CreateCompilationWithSpan(source); 30164var comp = CreateCompilationWithSpan(source); 30189var comp = CreateCompilationWithSpan(source); 30206var comp = CreateCompilationWithSpan(source);
Semantics\SemanticErrorTests.cs (1)
24915var comp = CreateCompilationWithSpan(source);
Semantics\SpanStackSafetyTests.cs (3)
1827CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 1834var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular13); 1837comp = CreateCompilationWithSpan(source);
Semantics\StructConstructorTests.cs (3)
3696var comp = CreateCompilationWithSpan(source); 3745var comp = CreateCompilationWithSpan(source); 3770var comp = CreateCompilationWithSpan(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));