146 references to ComSafeDebugDll
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (146)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
591
var options =
ComSafeDebugDll
.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (44)
245
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
306
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
378
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
436
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
488
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
548
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
602
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
657
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
713
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
768
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
835
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
911
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
985
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1052
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1111
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1199
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1288
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1372
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1463
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1545
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1622
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1721
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1812
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1919
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2117
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2329
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2463
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2580
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2713
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2791
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
2861
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
2967
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3087
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3183
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3244
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3483
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3726
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3847
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3927
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, references: new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4122
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4207
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4289
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4362
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4444
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
Emit\EditAndContinue\EditAndContinuePdbTests.cs (1)
121
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "EncMethodExtents");
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (46)
1120
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
1545
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
1985
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
2564
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
2733
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
3272
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
3656
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3761
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3870
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3976
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
4078
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
4241
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4475
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4635
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5098
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5446
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemRuntimeFacadeRef, ValueTupleRef }, options:
ComSafeDebugDll
);
5781
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
6425
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
6968
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
7390
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
7728
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
7998
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
8139
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8690
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8773
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8865
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
9018
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9141
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9290
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9450
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9562
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9735
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
9972
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
10618
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10685
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10749
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10818
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10871
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10934
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11001
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11054
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options:
ComSafeDebugDll
);
11105
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11159
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.References.mscorlib }, options:
ComSafeDebugDll
);
11220
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.References.mscorlib }, options:
ComSafeDebugDll
);
11275
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
11342
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
Emit\EditAndContinue\EditAndContinueTests.cs (51)
379
var compilation0 = CreateCompilationWithMscorlib461(source0, options:
ComSafeDebugDll
);
430
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
500
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
1852
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1944
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2029
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2105
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2169
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2248
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
3799
var compilation0 = CreateCompilation(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
6866
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7296
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7823
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
9326
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
10412
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
10514
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10904
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
11278
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
11375
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11498
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11730
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
12406
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
12591
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12709
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
12762
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
13697
options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
13860
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14009
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14143
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14252
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14370
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14561
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14690
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14838
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15034
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15143
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15253
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15417
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15562
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15667
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15830
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16034
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16282
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16467
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options:
ComSafeDebugDll
);
16541
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16647
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
17080
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20085
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20160
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20248
var compilation0 = CreateCompilation(source0_gen0.Tree, options:
ComSafeDebugDll
);
20342
var compilation0 = CreateCompilation(new[] { source1_gen0.Tree, source2_gen0.Tree }, options:
ComSafeDebugDll
);
Emit\EditAndContinue\LocalSlotMappingTests.cs (3)
122
var compilation0 = CreateCompilation(source, options:
ComSafeDebugDll
);
3888
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
5052
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true));