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)
378
var compilation0 = CreateCompilationWithMscorlib461(source0, options:
ComSafeDebugDll
);
429
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
499
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
1851
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1943
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2028
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2104
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2168
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2247
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
3798
var compilation0 = CreateCompilation(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
6865
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7295
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7822
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
9325
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
10411
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
10513
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10903
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
11277
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
11374
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11497
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11729
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
12405
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
12590
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12708
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
12761
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
13696
options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
13859
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14008
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14142
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14251
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14369
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14560
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14689
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14837
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15033
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15142
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15252
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15416
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15561
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15666
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15829
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16033
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16281
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16466
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options:
ComSafeDebugDll
);
16540
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16646
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
17079
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20084
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20159
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
20247
var compilation0 = CreateCompilation(source0_gen0.Tree, options:
ComSafeDebugDll
);
20341
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));