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)
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));
3755
var compilation0 = CreateCompilation(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
6415
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
6845
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
7372
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
8875
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options:
ComSafeDebugDll
);
9961
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All));
10063
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10453
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
10827
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
10924
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11047
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef }, options:
ComSafeDebugDll
);
11279
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, options:
ComSafeDebugDll
);
11955
var compilation0 = CreateCompilationWithMscorlib461(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options:
ComSafeDebugDll
);
12140
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
12258
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
12311
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
, references: new MetadataReference[] { referencePIA });
13233
options:
ComSafeDebugDll
.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A");
13396
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13545
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13679
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13788
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
13906
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14097
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14226
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14374
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14570
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14679
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
14789
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
14953
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15098
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
15203
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15366
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15570
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
15818
var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16003
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options:
ComSafeDebugDll
);
16077
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16183
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options:
ComSafeDebugDll
);
16613
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
19255
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
19330
var compilation0 = CreateCompilation(source0.Tree, options:
ComSafeDebugDll
);
19418
var compilation0 = CreateCompilation(source0_gen0.Tree, options:
ComSafeDebugDll
);
19512
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));