365 references to UnsafeDebugDll
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (41)
CodeGen\CodeGenAsyncIteratorTests.cs (1)
10531
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: [libS2, missingLibS1], targetFramework: TargetFramework.Net80);
CodeGen\CodeGenAwaitForeachTests.cs (1)
1857
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
UnsafeDebugDll
);
CodeGen\CodeGenAwaitUsingTests.cs (1)
240
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
UnsafeDebugDll
);
CodeGen\CodeGenConstructorInitTests.cs (1)
1151
CompileAndVerify(source, options: TestOptions.
UnsafeDebugDll
, verify: Verification.Skipped).VerifyIL("C..cctor()", @"
CodeGen\CodeGenDeconstructTests.cs (2)
1793
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1837
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
CodeGen\CodeGenFunctionPointersTests.cs (18)
11540
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11592
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11617
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11641
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11704
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
11768
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11830
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11942
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11967
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
11994
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12017
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
12044
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12101
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12166
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12192
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12217
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12244
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12400
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
CodeGen\CodeGenIterators.cs (1)
4120
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: [libS2, missingLibS1]);
CodeGen\CodeGenRefLocalTests.cs (2)
3879
CompileAndVerify(text, options: TestOptions.
UnsafeDebugDll
, verify: Verification.Fails).VerifyIL("Program.Main()", @"
3952
CompileAndVerify(text, options: TestOptions.
UnsafeDebugDll
, verify: Verification.Passes).VerifyIL("Program.Main()", @"
CodeGen\CodeGenTupleEqualityTests.cs (1)
5439
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
CodeGen\CodeGenTupleTest.cs (3)
10393
options: TestOptions.
UnsafeDebugDll
);
10642
options: TestOptions.
UnsafeDebugDll
);
24075
var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: s_valueTupleRefs, options: TestOptions.
UnsafeDebugDll
);
CodeGen\UnsafeTests.cs (10)
89
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
115
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
141
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
167
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
193
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
5439
var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.EmitToImageReference() }, options: TestOptions.
UnsafeDebugDll
);
7421
CompileAndVerify(text, options: TestOptions.
UnsafeDebugDll
, verify: Verification.Fails).VerifyIL("C.Test", @"
7529
var comp = CompileAndVerify(text, options: TestOptions.
UnsafeDebugDll
, verify: Verification.Fails);
10553
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10624
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (19)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
8026
var options = TestOptions.
UnsafeDebugDll
;
Emit\EditAndContinue\LocalSlotMappingTests.cs (2)
1208
var compilation0 = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1316
var compilation0 = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Emit\EditAndContinue\SymbolMatcherTests.cs (9)
1211
var compilation0 = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1245
var compilation0 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1296
var compilation0 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1520
var compilation0 = CreateCompilation(source0, options: TestOptions.
UnsafeDebugDll
);
1521
var compilation1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
1580
var compilation0 = CreateCompilation(source0, options: TestOptions.
UnsafeDebugDll
);
1581
var compilation1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
1650
var compilation0 = CreateCompilation(source0, options: TestOptions.
UnsafeDebugDll
);
1651
var compilation1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
Emit\NumericIntPtrTests.cs (1)
10273
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, targetFramework: TargetFramework.Net70);
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
28
options: options ?? (expectedOutput != null ? TestOptions.UnsafeDebugExe : TestOptions.
UnsafeDebugDll
),
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
27
options: options ?? (expectedOutput != null ? TestOptions.UnsafeDebugExe : TestOptions.
UnsafeDebugDll
),
PDB\PDBTests.cs (3)
7218
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
UnsafeDebugDll
);
7418
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
UnsafeDebugDll
);
7568
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
UnsafeDebugDll
);
PDB\PDBUsingTests.cs (1)
467
CompileAndVerify(text, options: TestOptions.
UnsafeDebugDll
, targetFramework: TargetFramework.NetFramework).VerifyPdb(@"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (61)
Attributes\AttributeTests.cs (9)
10173
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10211
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10872
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10895
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10901
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
10908
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
10922
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
10939
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
11576
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Attributes\AttributeTests_WellKnownAttributes.cs (1)
12919
var comp = CreateCompilation(new[] { src, skipLocalsInitDef1 }, options: TestOptions.
UnsafeDebugDll
);
FlowAnalysis\RegionAnalysisTests.cs (2)
9254
", options: TestOptions.
UnsafeDebugDll
);
14139
options: TestOptions.
UnsafeDebugDll
);
RefReadonlyParameterTests.cs (23)
964
CreateCompilationWithIL(source, ilSource, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
969
var comp = CreateCompilationWithIL(source, ilSource, options: TestOptions.
UnsafeDebugDll
);
1028
CreateCompilationWithIL(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1051
var comp = CreateCompilationWithIL(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.
UnsafeDebugDll
);
1115
var comp = CreateCompilationWithIL(source, ilSource, options: TestOptions.
UnsafeDebugDll
);
1169
var comp = CreateCompilationWithIL(source, ilSource, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1217
var comp = CreateCompilationWithIL(source, ilSource, options: TestOptions.
UnsafeDebugDll
);
1245
var comp = CreateCompilation(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1269
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1286
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1319
var comp2 = CreateCompilation(source2, new[] { comp1Ref }, assemblyName: "Assembly2", options: TestOptions.
UnsafeDebugDll
);
1331
var comp2b = CreateCompilation(source2, new[] { comp1bRef }, assemblyName: "Assembly2", options: TestOptions.
UnsafeDebugDll
);
1345
var comp3 = CreateCompilation(source3, new[] { comp1bRef }, assemblyName: "Assembly3", options: TestOptions.
UnsafeDebugDll
);
1522
var comp = CreateCompilation(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
1542
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1558
var comp1 = CreateCompilation(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1574
CreateCompilation(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1589
CreateCompilation(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(expectedDiagnostics);
1590
CreateCompilation(source2, new[] { comp1Ref }, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(expectedDiagnostics);
7971
var comp1 = CreateCompilation(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
);
8046
var comp1 = CreateCompilation(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
);
8212
var comp1 = CreateCompilation(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.
UnsafeDebugDll
);
8327
var comp1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
Semantics\CollectionExpressionTests.cs (2)
42706
var comp1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
42786
var comp1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
Semantics\ParamsCollectionTests.cs (4)
13507
var comp1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
13519
var comp2 = CreateCompilation(source2, references: [comp1Ref], options: TestOptions.
UnsafeDebugDll
);
13608
var comp1 = CreateCompilation(source1, options: TestOptions.
UnsafeDebugDll
);
13620
var comp2 = CreateCompilation(source2, references: [comp1Ref], options: TestOptions.
UnsafeDebugDll
);
Semantics\PatternMatchingTests.cs (1)
4462
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
UnsafeDebugDll
);
Semantics\PatternMatchingTests4.cs (3)
3485
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
3503
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
3522
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Semantics\PatternMatchingTests5.cs (1)
1069
var compilation = CreateCompilation(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.
UnsafeDebugDll
);
Semantics\PrimaryConstructorTests.cs (11)
12901
}", options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12935
}", options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12963
}", options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
12989
}", options: TestOptions.
UnsafeDebugDll
).VerifyEmitDiagnostics(
14560
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
14590
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
14594
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
14835
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
14852
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
15267
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
15289
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Semantics\RecordTests.cs (4)
1249
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1302
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1352
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1448
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (17)
IOperation\IOperationTests_IAddressOfOperation.cs (2)
60
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
140
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, TestOptions.
UnsafeDebugDll
);
IOperation\IOperationTests_IFieldReferenceExpression.cs (2)
295
VerifyOperationTreeAndDiagnosticsForTest<AssignmentExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
335
VerifyOperationTreeAndDiagnosticsForTest<AssignmentExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
IOperation\IOperationTests_IFixedStatement.cs (10)
88
compilationOptions: TestOptions.
UnsafeDebugDll
);
168
compilationOptions: TestOptions.
UnsafeDebugDll
);
257
compilationOptions: TestOptions.
UnsafeDebugDll
);
315
compilationOptions: TestOptions.
UnsafeDebugDll
);
383
compilationOptions: TestOptions.
UnsafeDebugDll
);
467
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
562
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
688
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
784
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
915
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
IOperation\IOperationTests_INoneOperation.cs (1)
337
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
IOperation\IOperationTests_IPointerIndirectionReferenceOperation.cs (2)
58
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
116
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, compilationOptions: TestOptions.
UnsafeDebugDll
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (166)
Semantics\AnonymousFunctionTests.cs (4)
1318
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1357
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1377
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
1398
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
Semantics\DeconstructionTests.cs (1)
4089
options: TestOptions.
UnsafeDebugDll
,
Semantics\ForEachTests.cs (2)
3322
""", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
3356
""", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
Semantics\FunctionPointerTests.cs (5)
88
var comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
98
comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
105
comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
141
var comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
150
comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
Semantics\GlobalUsingDirectiveTests.cs (4)
5044
CreateCompilation(new[] { source1, source2 }, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5063
CreateCompilation(new[] { source1, source2 }, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5082
CreateCompilation(new[] { source1, source2 }, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5101
CreateCompilation(new[] { source1, source2 }, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
Semantics\LocalFunctionTests.cs (7)
1452
var compWithUnsafe = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1489
var compWithUnsafe = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1518
var compWithUnsafe = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
2369
var comp = CreateCompilation(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12.WithFeature("run-nullable-analysis", "never"));
2441
CreateCompilation(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular13.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2442
CreateCompilation(src, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
4540
}", options: TestOptions.
UnsafeDebugDll
);
Semantics\NameOfTests.cs (1)
1537
TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Semantics\NativeIntegerTests.cs (1)
15064
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Semantics\NullableReferenceTypesTests.cs (5)
1378
}", options: TestOptions.
UnsafeDebugDll
);
93738
var comp = CreateCompilation(new[] { source }, options: WithNullableEnable(TestOptions.
UnsafeDebugDll
));
160685
", options: TestOptions.
UnsafeDebugDll
);
160713
", options: TestOptions.
UnsafeDebugDll
);
160739
", options: TestOptions.
UnsafeDebugDll
);
Semantics\OverloadResolutionTests.cs (3)
608
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
UnsafeDebugDll
);
801
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
UnsafeDebugDll
);
875
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular9);
Semantics\RecordStructTests.cs (5)
659
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
UnsafeDebugDll
);
1504
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1560
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1613
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
1710
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
UnsafeDebugDll
);
Semantics\RefEscapingTests.cs (32)
47
var comp = CreateCompilationWithSpan(tree, TestOptions.
UnsafeDebugDll
);
113
}", options: TestOptions.
UnsafeDebugDll
);
835
var comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1005
var comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
2221
var comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular10);
2231
comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
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
);
3364
var comp = CreateCompilation(tree, targetFramework: TargetFramework.Net90, options: 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
);
4657
var comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
4985
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5009
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5033
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5083
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5133
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5185
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5212
var comp = CreateCompilationWithMscorlibAndSpan(csharp, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
);
5470
CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
6340
var comp = CreateCompilationWithSpan(tree, TestOptions.
UnsafeDebugDll
);
9755
var comp = CreateCompilationWithSpan(tree, TestOptions.
UnsafeDebugDll
);
9842
var comp = CreateCompilationWithSpan(tree, TestOptions.
UnsafeDebugDll
);
Semantics\RefFieldTests.cs (8)
2534
var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.
UnsafeDebugDll
);
2847
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
5346
var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.
UnsafeDebugDll
);
17858
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
18827
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.
UnsafeDebugDll
);
18849
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
21045
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
28248
var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.
UnsafeDebugDll
);
Semantics\RefLocalsAndReturnsTests.cs (4)
835
}", options: TestOptions.
UnsafeDebugDll
);
1902
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
2446
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
2529
var comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
);
Semantics\SemanticErrorTests.cs (2)
9403
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
24831
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Semantics\StackAllocInitializerTests.cs (1)
1620
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Semantics\StackAllocSpanExpressionsTests.cs (1)
471
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Semantics\UnsafeTests.cs (63)
59
options: TestOptions.
UnsafeDebugDll
);
78
options: TestOptions.
UnsafeDebugDll
);
5914
var libComp = CreateCompilation(libSrc, options: TestOptions.
UnsafeDebugDll
);
5934
var comp = CreateCompilation(src, options: TestOptions.
UnsafeDebugDll
, references: new[] { libComp.EmitToImageReference() });
5993
var comp = CreateCompilation(src, options: TestOptions.
UnsafeDebugDll
);
11368
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
11785
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12596
}", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
12630
}", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
12656
}", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
12683
}", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
12712
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12800
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
12816
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
12851
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
12877
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12900
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12920
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12938
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12962
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12983
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
12998
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13011
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13024
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13046
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13065
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13083
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13117
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13136
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13157
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13183
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13203
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13228
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13247
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13265
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13274
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13300
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13309
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
);
13329
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13348
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13381
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13403
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13423
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13444
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13485
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13500
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13520
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13542
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13562
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13571
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13593
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13660
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13718
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13721
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13787
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13863
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13866
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13900
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13906
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13909
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
13932
var comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11);
13939
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
13942
comp = CreateCompilation(csharp, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.RegularPreview);
Semantics\UseSiteErrorTests.cs (17)
2484
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2494
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2511
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2520
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2536
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2545
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2563
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2590
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2610
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2632
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2652
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2667
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2692
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2707
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2738
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2752
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref2 });
2769
comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\UsedAssembliesTests.cs (2)
3834
Compilation comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, references: references, options: TestOptions.
UnsafeDebugDll
);
3841
AssertUsedAssemblyReferences(source, references, references, parseOptions: TestOptions.RegularPreview, options: TestOptions.
UnsafeDebugDll
);
Symbols\AnonymousTypesSemanticsTests.cs (3)
1917
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1934
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
1955
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Symbols\GenericConstraintTests.cs (7)
1012
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
5841
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6477
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6500
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6525
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6540
CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
7005
var compilation = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
Symbols\Source\BaseClassTests.cs (1)
2339
comp = CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12);
Symbols\Source\ClsComplianceTests.cs (3)
561
var lib1 = CreateCompilation(libSource1, assemblyName: "lib1", options: TestOptions.
UnsafeDebugDll
).EmitToImageReference();
562
var lib2 = CreateCompilation(libSource2, assemblyName: "lib2", options: TestOptions.
UnsafeDebugDll
).EmitToImageReference();
563
var lib3 = CreateCompilation(libSource3, assemblyName: "lib3", options: TestOptions.
UnsafeDebugDll
).EmitToImageReference();
Symbols\Source\FileModifierTests.cs (1)
2896
var comp = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Symbols\Source\PropertyTests.cs (1)
2896
CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Symbols\Source\UsingAliasTests.cs (6)
778
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
844
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
915
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
936
""", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1003
""", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1022
""", options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (3)
4517
CreateCompilationWithMscorlib46(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12)
4520
CreateCompilationWithMscorlib46(source, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11)
16770
CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
Parsing\ParserErrorMessageTests.cs (5)
4671
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
4697
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
4717
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
4737
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
4888
CreateCompilation(test, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
Parsing\RefReadonlyTests.cs (2)
45
var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1), options: TestOptions.
UnsafeDebugDll
);
90
var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1), options: TestOptions.
UnsafeDebugDll
);
Parsing\RefStructs.cs (1)
230
}", TestOptions.
UnsafeDebugDll
).GetParseDiagnostics().Verify();
Parsing\UsingDirectiveParsingTests.cs (24)
659
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
771
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1108
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1156
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1231
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1304
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1379
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
1466
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
2096
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
2173
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();
2248
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
2329
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
2405
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
2473
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics(
4086
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4180
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4285
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4401
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4500
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4580
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4701
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4863
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5020
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5177
CreateCompilation(text, options: TestOptions.
UnsafeDebugDll
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
CSharpFunctionResolverTests.cs (1)
512
var compilation = CreateCompilation(source, options: TestOptions.
UnsafeDebugDll
);
Microsoft.CodeAnalysis.UnitTests (1)
Symbols\DocumentationCommentIdTests.cs (1)
173
var comp = CreateCSharpCompilation(text, compilationOptions: TestOptions.
UnsafeDebugDll
).VerifyDiagnostics();