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