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
);
3667
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3772
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3881
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
3987
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
);
4089
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
4252
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4486
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4646
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5109
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5457
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemRuntimeFacadeRef, ValueTupleRef }, options:
ComSafeDebugDll
);
5792
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
6436
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
6979
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
7401
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
7739
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
8009
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
8150
var compilation0 = CreateCompilationWithMscorlib461(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8701
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8784
var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8876
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
9029
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9152
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9301
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9461
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9573
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9746
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
9983
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
10629
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10696
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10760
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10829
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10882
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10945
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11012
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11065
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options:
ComSafeDebugDll
);
11116
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
11170
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.References.mscorlib }, options:
ComSafeDebugDll
);
11231
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.References.mscorlib }, options:
ComSafeDebugDll
);
11286
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
11353
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
Emit\EditAndContinue\EditAndContinueTests.cs (51)
345
var compilation0 = CreateCompilationWithMscorlib461(source0, options:
ComSafeDebugDll
);
396
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
466
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
1830
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1922
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2007
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2083
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2147
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2226
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
3505
var compilation0 = CreateCompilation(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
6165
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
6595
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7122
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
8625
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
9711
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
9813
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10135
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
10509
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
10606
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
10729
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
10961
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
11637
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
11822
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
11940
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
11993
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
12915
options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
13078
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13227
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13361
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13470
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13588
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
13779
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13908
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14056
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14252
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14361
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14471
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14635
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14780
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14885
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15048
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15252
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15500
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15685
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options:
ComSafeDebugDll
);
15759
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15865
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16295
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
18937
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
19012
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
19100
var compilation0 = CreateCompilation(source0_gen0.Tree, options:
ComSafeDebugDll
);
19194
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));