150 references to ComSafeDebugDll
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (150)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
583
var options =
ComSafeDebugDll
.WithCryptoPublicKey(TestResources.TestKeys.PublicKey_ce65828c82a341f2);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (47)
99
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
160
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
232
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
290
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
342
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
402
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
456
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
511
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
567
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
622
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
689
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
768
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
842
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
909
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
968
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1056
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1145
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1229
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1320
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1402
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1479
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1578
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1669
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1776
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1974
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2186
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2320
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2437
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2570
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
2648
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
2718
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
2824
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
2944
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3040
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3101
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3229
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3345
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3470
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3592
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3713
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
3793
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, references: new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
3988
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4073
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4155
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4228
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4310
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4407
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 (45)
1135
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
1560
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
1999
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
2589
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
2761
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
3309
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
3704
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
);
3809
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
);
3918
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
);
4024
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
);
4126
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
4289
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4523
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
4686
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5143
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
5479
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemRuntimeFacadeRef, ValueTupleRef }, options:
ComSafeDebugDll
);
5817
var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options:
ComSafeDebugDll
);
6542
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
6880
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
7090
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
7152
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
7293
var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
7844
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
7927
var compilation0 = CreateCompilationWithMscorlib45(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
8019
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
8100
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
8223
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
8372
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
8532
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
8644
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
8817
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
9054
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
9700
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9767
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9831
var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9900
var compilation0 = CreateCompilation(new[] { source0.Tree }, options:
ComSafeDebugDll
);
9953
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10013
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10078
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10128
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net451.mscorlib }, options:
ComSafeDebugDll
);
10179
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options:
ComSafeDebugDll
);
10230
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.mscorlib }, options:
ComSafeDebugDll
);
10291
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.mscorlib }, options:
ComSafeDebugDll
);
10346
var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net451.mscorlib }, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
10413
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
Emit\EditAndContinue\EditAndContinueTests.cs (53)
225
var compilation0 = CreateCompilationWithMscorlib45(source0, options:
ComSafeDebugDll
);
276
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
346
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
1199
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1291
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
1386
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1474
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1532
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1616
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1714
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
2605
var compilation0 = CreateCompilation(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
4728
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
5073
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
5600
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
7115
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
8695
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
8797
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
9119
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
9493
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
9590
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
9713
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
9882
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
9947
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options:
ComSafeDebugDll
);
10623
var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
10808
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
10926
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
10979
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
11833
options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
12013
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12162
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12296
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12405
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12523
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
12714
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12843
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12991
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13187
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13296
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13406
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
13570
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
13715
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13820
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
13983
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14187
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14435
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14620
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options:
ComSafeDebugDll
);
14694
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14801
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14917
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
16004
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
16079
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
16167
var compilation0 = CreateCompilation(source0_gen0.Tree, options:
ComSafeDebugDll
);
16262
var compilation0 = CreateCompilation(new[] { source1_gen0.Tree, source2_gen0.Tree }, options:
ComSafeDebugDll
);
Emit\EditAndContinue\LocalSlotMappingTests.cs (3)
122
var compilation0 = CreateCompilation(source, options:
ComSafeDebugDll
);
3765
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
4929
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithAllowUnsafe(true));