-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-System.ComponentModeldisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime
Milestone
Description
I have no repro for this test locally, but it fails on runtime (Libraries Test Run release mono OSX x64 Debug)
lane in #2087.
System.NotSupportedException : Interface 'System.ComponentModel.Composition.ITrans_StronglyTypedStructure' is not a valid MetadataView; MetadataViews do not support non-public interfaces, and interfaces that contain members that are not properties.
---- System.TypeLoadException : Could not load type '_proxy_System.ComponentModel.Composition.ITrans_StronglyTypedStructure_193e0f9f-5ac0-45e4-859f-299ce861709f' from assembly ''.
Stack Trace:
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/MetadataViewProvider.cs(45,0): at System.ComponentModel.Composition.MetadataViewProvider.GetMetadataView[ITrans_StronglyTypedStructure](IDictionary`2 metadata)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/AttributedModelServices.cs(24,0): at System.ComponentModel.Composition.AttributedModelServices.GetMetadataView[ITrans_StronglyTypedStructure](IDictionary`2 metadata)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ExportServices.cs(98,0): at System.ComponentModel.Composition.ExportServices.CreateStronglyTypedLazyOfTM[BasicTestComponent,ITrans_StronglyTypedStructure](Export export)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ExportProvider.GetExportOverrides.cs(769,0): at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportCore[BasicTestComponent,ITrans_StronglyTypedStructure](String contractName)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ExportProvider.GetExportOverrides.cs(214,0): at System.ComponentModel.Composition.Hosting.ExportProvider.GetExport[BasicTestComponent,ITrans_StronglyTypedStructure](String contractName)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ExportProvider.GetExportOverrides.cs(163,0): at System.ComponentModel.Composition.Hosting.ExportProvider.GetExport[BasicTestComponent,ITrans_StronglyTypedStructure]()
/_/src/libraries/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ExportableAttributeTests.cs(67,0): at System.ComponentModel.Composition.MetadataAttributeTests.StronglyTypedStructureTestWithTransparentViews()
/_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
/_/src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs(2292,0): at System.RuntimeType.GetMethodsByName(String name, BindingFlags bindingAttr, MemberListType listType, RuntimeType reflectedType)
/_/src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs(592,0): at System.RuntimeType.GetMethodCandidates(String name, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, Int32 genericParamCount, Boolean allowPrefixLookup)
/_/src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs(813,0): at System.RuntimeType.GetMethodImpl(String name, Int32 genericParamCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
/_/src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs(806,0): at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
/_/src/libraries/System.Private.CoreLib/src/System/Type.cs(166,0): at System.Type.GetMethod(String name, BindingFlags bindingAttr)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/MetadataViewGenerator.cs(122,0): at System.ComponentModel.Composition.MetadataViewGenerator.GetMetadataViewFactory(Type viewType)
/_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/MetadataViewProvider.cs(41,0): at System.ComponentModel.Composition.MetadataViewProvider.GetMetadataView[ITrans_StronglyTypedStructure](IDictionary`2 metadata)
Runfo Tracking Issue: system.componentmodel.composition tests failing
Build | Definition | Kind | Run Name |
---|
Build Result Summary
Day Hit Count | Week Hit Count | Month Hit Count |
---|---|---|
0 | 0 | 0 |
Metadata
Metadata
Assignees
Labels
area-System.ComponentModeldisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime