Compilation\ReferenceManagerTests.cs (8)
1214var arSA = TestReferences.SymbolsTests.Versioning.AR_SA;
1215var enUS = TestReferences.SymbolsTests.Versioning.EN_US;
2230TestReferences.SymbolsTests.Versioning.C2,
2231TestReferences.SymbolsTests.Versioning.C1,
3218var aRef = CreateEmptyCompilation(@"public interface A { C CA { get; } }", new[] { MscorlibRef, TestReferences.SymbolsTests.Versioning.C2 },
3221var bRef = CreateEmptyCompilation(@"public interface B { C CB { get; } }", new[] { MscorlibRef, TestReferences.SymbolsTests.Versioning.C1 },
3226{ "C, 1.0.0.0", TestReferences.SymbolsTests.Versioning.C1 },
3227{ "C, 2.0.0.0", TestReferences.SymbolsTests.Versioning.C2 },
Symbols\CompilationCreationTests.cs (23)
70var mdTestLib1 = TestReferences.SymbolsTests.MDTestLib1;
110var cyclic2Ref = TestReferences.SymbolsTests.Cyclic.Cyclic2.dll;
128var varV1MTTestLib2Ref = TestReferences.SymbolsTests.V1.MTTestLib2.dll;
148TestReferences.SymbolsTests.V1.MTTestLib1.dll
172var varV2MTTestLib3Ref = TestReferences.SymbolsTests.V2.MTTestLib3.dll;
177TestReferences.SymbolsTests.V2.MTTestLib1.dll,
229var varV3MTTestLib4Ref = TestReferences.SymbolsTests.V3.MTTestLib4.dll;
234TestReferences.SymbolsTests.V3.MTTestLib1.dll,
443TestReferences.SymbolsTests.V3.MTTestLib1.dll,
1424TestReferences.SymbolsTests.V1.MTTestLib1.dll,
1425TestReferences.SymbolsTests.V1.MTTestModule2.netmodule
1434TestReferences.SymbolsTests.V1.MTTestLib1.dll,
1473TestReferences.SymbolsTests.V2.MTTestLib1.dll,
1475TestReferences.SymbolsTests.V2.MTTestModule3.netmodule
1490TestReferences.SymbolsTests.V2.MTTestLib1.dll,
1558TestReferences.SymbolsTests.V3.MTTestLib1.dll,
1561TestReferences.SymbolsTests.V3.MTTestModule4.netmodule
1577TestReferences.SymbolsTests.V3.MTTestLib1.dll,
1814TestReferences.SymbolsTests.V3.MTTestLib1.dll,
2552TestReferences.SymbolsTests.V1.MTTestLib1.dll,
2553TestReferences.SymbolsTests.V1.MTTestModule2.netmodule
2561TestReferences.SymbolsTests.V2.MTTestLib1.dll,
2859var r = TestReferences.SymbolsTests.Metadata.InvalidCharactersInAssemblyName;
Symbols\Metadata\PE\LoadingAttributes.cs (26)
27TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
28TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
99TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
100TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
171TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
172TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
238TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
239TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
304TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
305TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
354TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
355TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
406TestReferences.SymbolsTests.Metadata.MDTestAttributeApplicationLib,
407TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib,
531TestReferences.SymbolsTests.Metadata.MDTestAttributeDefLib ,
581TestReferences.SymbolsTests.Metadata.AttributeInterop01,
662TestReferences.SymbolsTests.Metadata.AttributeInterop01,
727TestReferences.SymbolsTests.Metadata.AttributeInterop01,
768TestReferences.SymbolsTests.Metadata.AttributeInterop02,
806TestReferences.SymbolsTests.Metadata.AttributeInterop01,
905TestReferences.SymbolsTests.Metadata.AttributeTestLib01,
906TestReferences.SymbolsTests.Metadata.AttributeTestDef01,
940TestReferences.SymbolsTests.Metadata.AttributeTestLib01 ,
941TestReferences.SymbolsTests.Metadata.AttributeTestDef01 ,
1042TestReferences.SymbolsTests.Metadata.AttributeTestLib01,
1043TestReferences.SymbolsTests.Metadata.AttributeTestDef01,
Symbols\Metadata\PE\LoadingEvents.cs (12)
27TestReferences.SymbolsTests.Events,
44TestReferences.SymbolsTests.Events,
61TestReferences.SymbolsTests.Events,
126TestReferences.SymbolsTests.Events,
149TestReferences.SymbolsTests.Events,
172TestReferences.SymbolsTests.Events,
190TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp,
217TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp,
249TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp,
285TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp,
325TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp,
378var assembly = MetadataTestHelpers.GetSymbolForReference(TestReferences.SymbolsTests.Events);
Symbols\Metadata\PE\LoadingMethods.cs (19)
29TestReferences.SymbolsTests.MDTestLib1,
30TestReferences.SymbolsTests.MDTestLib2,
31TestReferences.SymbolsTests.Methods.CSMethods,
32TestReferences.SymbolsTests.Methods.VBMethods,
34TestReferences.SymbolsTests.Methods.ByRefReturn
384TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.CSharp);
408TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL);
443TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.CSharp,
479TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.CSharp,
512TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL);
540TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL);
570TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.CSharp,
607TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL);
631TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL);
663TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.IL,
697TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Methods.CSharp,
772var compilation = CreateCompilation(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
785var compilation = CreateCompilation(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
829var compilation = CreateCompilation(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
Symbols\Metadata\PE\NoPia.cs (83)
26TestReferences.SymbolsTests.NoPia.LocalTypes1,
27TestReferences.SymbolsTests.NoPia.LocalTypes2
49TestReferences.SymbolsTests.NoPia.LocalTypes1,
50TestReferences.SymbolsTests.NoPia.LocalTypes2,
51TestReferences.SymbolsTests.NoPia.Pia1,
53TestReferences.SymbolsTests.MDTestLib1
92TestReferences.SymbolsTests.NoPia.LocalTypes1,
93TestReferences.SymbolsTests.NoPia.LocalTypes2,
94TestReferences.SymbolsTests.NoPia.Pia1,
123TestReferences.SymbolsTests.NoPia.LocalTypes1,
124TestReferences.SymbolsTests.NoPia.LocalTypes2,
125TestReferences.SymbolsTests.NoPia.Pia1
169TestReferences.SymbolsTests.NoPia.LocalTypes1,
170TestReferences.SymbolsTests.NoPia.LocalTypes2,
171TestReferences.SymbolsTests.NoPia.Pia1,
173TestReferences.SymbolsTests.MDTestLib1
183TestReferences.SymbolsTests.NoPia.LocalTypes1,
184TestReferences.SymbolsTests.NoPia.LocalTypes2,
185TestReferences.SymbolsTests.NoPia.Pia2,
220TestReferences.SymbolsTests.NoPia.LocalTypes1,
221TestReferences.SymbolsTests.NoPia.LocalTypes2,
222TestReferences.SymbolsTests.NoPia.Pia3,
251TestReferences.SymbolsTests.NoPia.LocalTypes1,
252TestReferences.SymbolsTests.NoPia.LocalTypes2,
253TestReferences.SymbolsTests.NoPia.Pia4,
282TestReferences.SymbolsTests.NoPia.LocalTypes1,
283TestReferences.SymbolsTests.NoPia.LocalTypes2,
284TestReferences.SymbolsTests.NoPia.Pia4,
285TestReferences.SymbolsTests.NoPia.Pia1,
316TestReferences.SymbolsTests.NoPia.Library1,
317TestReferences.SymbolsTests.NoPia.LocalTypes1,
318TestReferences.SymbolsTests.NoPia.Pia4,
327TestReferences.SymbolsTests.NoPia.Library1,
328TestReferences.SymbolsTests.NoPia.LocalTypes1,
329TestReferences.SymbolsTests.NoPia.Pia4,
331TestReferences.SymbolsTests.MDTestLib1
366var pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.WithEmbedInteropTypes(true);
367var pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.WithEmbedInteropTypes(false);
380TestReferences.SymbolsTests.NoPia.Pia1,
382TestReferences.SymbolsTests.MDTestLib1,
383TestReferences.SymbolsTests.MDTestLib2
433TestReferences.SymbolsTests.NoPia.Pia1,
435TestReferences.SymbolsTests.MDTestLib1
464TestReferences.SymbolsTests.NoPia.Pia1,
496TestReferences.SymbolsTests.NoPia.Pia1,
498TestReferences.SymbolsTests.MDTestLib1,
499TestReferences.SymbolsTests.MDTestLib2
510TestReferences.SymbolsTests.NoPia.Pia2,
555TestReferences.SymbolsTests.NoPia.Pia3,
585TestReferences.SymbolsTests.NoPia.Pia4,
619TestReferences.SymbolsTests.NoPia.Pia4,
620TestReferences.SymbolsTests.NoPia.Pia1,
651TestReferences.SymbolsTests.NoPia.Library1,
652TestReferences.SymbolsTests.NoPia.Pia4,
663TestReferences.SymbolsTests.NoPia.Library1,
664TestReferences.SymbolsTests.NoPia.Pia4,
666TestReferences.SymbolsTests.MDTestLib1,
687var mscorlibRef = TestReferences.SymbolsTests.MDTestLib1;
688var cyclic2Ref = TestReferences.SymbolsTests.Cyclic.Cyclic2.dll;
689var piaRef = TestReferences.SymbolsTests.NoPia.Pia1;
690var localTypes1Ref = TestReferences.SymbolsTests.NoPia.LocalTypes1;
710TestReferences.SymbolsTests.NoPia.LocalTypes3,
711TestReferences.SymbolsTests.NoPia.Pia1
729TestReferences.SymbolsTests.NoPia.LocalTypes3,
730TestReferences.SymbolsTests.NoPia.Pia1,
748var pia5Link = TestReferences.SymbolsTests.NoPia.Pia5.WithEmbedInteropTypes(true);
749var pia5Ref = TestReferences.SymbolsTests.NoPia.Pia5.WithEmbedInteropTypes(false);
750var library2Ref = TestReferences.SymbolsTests.NoPia.Library2.WithEmbedInteropTypes(false);
751var library2Link = TestReferences.SymbolsTests.NoPia.Library2.WithEmbedInteropTypes(true);
752var pia1Link = TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(true);
753var pia1Ref = TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(false);
873var varALink = TestReferences.SymbolsTests.NoPia.A.WithEmbedInteropTypes(true);
874var varARef = TestReferences.SymbolsTests.NoPia.A.WithEmbedInteropTypes(false);
875var varBLink = TestReferences.SymbolsTests.NoPia.B.WithEmbedInteropTypes(true);
876var varBRef = TestReferences.SymbolsTests.NoPia.B.WithEmbedInteropTypes(false);
877var varCLink = TestReferences.SymbolsTests.NoPia.C.WithEmbedInteropTypes(true);
878var varCRef = TestReferences.SymbolsTests.NoPia.C.WithEmbedInteropTypes(false);
879var varDLink = TestReferences.SymbolsTests.NoPia.D.WithEmbedInteropTypes(true);
880var varDRef = TestReferences.SymbolsTests.NoPia.D.WithEmbedInteropTypes(false);
1005var pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.WithEmbedInteropTypes(true);
1006var pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.WithEmbedInteropTypes(false);
1012new[] { TestReferences.SymbolsTests.NoPia.Pia1 },
1030TestReferences.SymbolsTests.NoPia.Pia1,
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (23)
29TestReferences.SymbolsTests.NoPia.Pia1,
30TestReferences.SymbolsTests.NoPia.LocalTypes1
76TestReferences.SymbolsTests.NoPia.GeneralPia.WithEmbedInteropTypes(true)
82TestReferences.SymbolsTests.NoPia.GeneralPia,
89TestReferences.SymbolsTests.NoPia.GeneralPiaCopy,
124TestReferences.SymbolsTests.NoPia.GeneralPia,
125TestReferences.SymbolsTests.NoPia.ExternalAsm1,
187TestReferences.SymbolsTests.NoPia.GeneralPia,
188TestReferences.SymbolsTests.NoPia.ExternalAsm1
224TestReferences.SymbolsTests.NoPia.GeneralPia,
225TestReferences.SymbolsTests.NoPia.ExternalAsm1
259TestReferences.SymbolsTests.NoPia.GeneralPia,
260TestReferences.SymbolsTests.NoPia.ExternalAsm1
290TestReferences.SymbolsTests.NoPia.GeneralPia,
291TestReferences.SymbolsTests.NoPia.ExternalAsm1
318TestReferences.SymbolsTests.NoPia.GeneralPia,
319TestReferences.SymbolsTests.NoPia.ExternalAsm1
340TestReferences.SymbolsTests.NoPia.GeneralPia,
341TestReferences.SymbolsTests.NoPia.ExternalAsm1
362TestReferences.SymbolsTests.NoPia.GeneralPia,
363TestReferences.SymbolsTests.NoPia.GeneralPiaCopy,
364TestReferences.SymbolsTests.NoPia.ExternalAsm1
472TestReferences.SymbolsTests.NoPia.Pia1,
Symbols\Retargeting\NoPia.cs (60)
361TestReferences.SymbolsTests.NoPia.Pia1,
363TestReferences.SymbolsTests.MDTestLib1
403TestReferences.SymbolsTests.NoPia.Pia1,
433new MetadataReference[] { TestReferences.SymbolsTests.NoPia.Pia1 },
478TestReferences.SymbolsTests.NoPia.Pia1,
480TestReferences.SymbolsTests.MDTestLib1
491TestReferences.SymbolsTests.NoPia.Pia2,
527TestReferences.SymbolsTests.NoPia.Pia3,
556TestReferences.SymbolsTests.NoPia.Pia4,
586TestReferences.SymbolsTests.NoPia.Pia4,
587TestReferences.SymbolsTests.NoPia.Pia1,
618TestReferences.SymbolsTests.NoPia.Pia4,
628TestReferences.SymbolsTests.NoPia.Pia4,
630TestReferences.SymbolsTests.MDTestLib1
651references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(true) });
656references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(true) });
662TestReferences.SymbolsTests.NoPia.Pia1,
664TestReferences.SymbolsTests.MDTestLib1
704TestReferences.SymbolsTests.NoPia.Pia1,
734new MetadataReference[] { TestReferences.SymbolsTests.NoPia.Pia1 },
779TestReferences.SymbolsTests.NoPia.Pia1,
781TestReferences.SymbolsTests.MDTestLib1
792TestReferences.SymbolsTests.NoPia.Pia2,
828TestReferences.SymbolsTests.NoPia.Pia3,
857TestReferences.SymbolsTests.NoPia.Pia4,
887TestReferences.SymbolsTests.NoPia.Pia4,
888TestReferences.SymbolsTests.NoPia.Pia1,
919TestReferences.SymbolsTests.NoPia.Pia4,
929TestReferences.SymbolsTests.NoPia.Pia4,
931TestReferences.SymbolsTests.MDTestLib1
966TestReferences.SymbolsTests.NoPia.Pia1,
968TestReferences.SymbolsTests.MDTestLib1
1008TestReferences.SymbolsTests.NoPia.Pia1,
1038new MetadataReference[] { TestReferences.SymbolsTests.NoPia.Pia1 },
1083TestReferences.SymbolsTests.NoPia.Pia1,
1085TestReferences.SymbolsTests.MDTestLib1
1096TestReferences.SymbolsTests.NoPia.Pia2,
1132TestReferences.SymbolsTests.NoPia.Pia3,
1161TestReferences.SymbolsTests.NoPia.Pia4,
1191TestReferences.SymbolsTests.NoPia.Pia4,
1192TestReferences.SymbolsTests.NoPia.Pia1,
1223TestReferences.SymbolsTests.NoPia.Pia4,
1233TestReferences.SymbolsTests.NoPia.Pia4,
1235TestReferences.SymbolsTests.MDTestLib1
1254var mscorlibRef = TestReferences.SymbolsTests.MDTestLib1;
1255var cyclic2Ref = TestReferences.SymbolsTests.Cyclic.Cyclic2.dll;
1256var piaRef = TestReferences.SymbolsTests.NoPia.Pia1;
1279var mscorlibRef = TestReferences.SymbolsTests.MDTestLib1;
1280var cyclic2Ref = TestReferences.SymbolsTests.Cyclic.Cyclic2.dll;
1281var piaRef = TestReferences.SymbolsTests.NoPia.Pia1;
1284references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(true) });
1305var mscorlibRef = TestReferences.SymbolsTests.MDTestLib1;
1306var cyclic2Ref = TestReferences.SymbolsTests.Cyclic.Cyclic2.dll;
1343TestReferences.SymbolsTests.NoPia.Pia1
1364TestReferences.SymbolsTests.NoPia.Pia1,
1888references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.WithEmbedInteropTypes(true) });
1896TestReferences.SymbolsTests.NoPia.Pia1
1917TestReferences.SymbolsTests.NoPia.Pia1,
1946TestReferences.SymbolsTests.NoPia.Pia1
1967TestReferences.SymbolsTests.NoPia.Pia1,