Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm][tests] IL2105 trimming errors in test projects #51602

Open
radical opened this issue Apr 21, 2021 · 14 comments
Open

[wasm][tests] IL2105 trimming errors in test projects #51602

radical opened this issue Apr 21, 2021 · 14 comments
Labels
arch-wasm WebAssembly architecture area-Build-mono disabled-test The test is disabled in source code against the issue trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT
Milestone

Comments

@radical
Copy link
Member

radical commented Apr 21, 2021

Building these tests with /p:EnableAggressiveTrimming=true fails with:

Build

System.ObjectModel.Tests:

/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]
/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]
/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]
/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]
/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'otherTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]
/_/src/libraries/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs(74,13): error IL2105: System.ComponentModel.Tests.TypeConverterAttributeTests.GetHashCode_Invoke_ReturnsExpected(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj]

System.ComponentModel.Primitives.csproj

/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(69,102): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<>c.<Ctor_NullBaseType_ThrowsArgumentNullException>b__6_0(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(85,110): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<>c.<Ctor_NullDesignerBaseType_ThrowsArgumentNullException>b__7_0(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(71,90): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<>c.<Ctor_NullDesignerTypeName_ThrowsArgumentNullException>b__5_1(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(56,102): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<>c.<Ctor_NullTypeName_ThrowsArgumentNullException>b__4_0(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerbasetypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'basetypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(101,13): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.TypeId_Get_ReturnsExcepted(String,Object): Type 'SerializerType' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/_/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(85,13): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.TypeId_Get_ReturnsExcepted(String,Object): Type 'Type' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]

System.ComponentModel.TypeConverter.Tests

/_/src/libraries/System.ComponentModel.TypeConverter/tests/AttributeProviderAttributeTests.cs(23,82): error IL2105: System.ComponentModel.Tests.AttributeProviderAttributeTests.<>c.<Ctor_NullPropertyName_ThrowsArgumentNullException>b__1_0(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receiverTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receiverTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receiverTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receiverTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receivertypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ProvidePropertyAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ProvidePropertyAttributeTests.<Equals_TestData>d__3.MoveNext(): Type 'receiverTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.InstallerTypeAttributeTests.<Equals_TestData>d__5.MoveNext(): Type 'typename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.InstallerTypeAttributeTests.<Equals_TestData>d__5.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.InstallerTypeAttributeTests.<Equals_TestData>d__5.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.InstallerTypeAttributeTests.<Equals_TestData>d__5.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/LicenseProviderAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.LicenseProviderAttributeTests.<Equals_TestData>d__6.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ToolboxItemAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ToolboxItemAttributeTests.<Equals_TestData>d__7.MoveNext(): Type 'toolboxItemTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ToolboxItemAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ToolboxItemAttributeTests.<Equals_TestData>d__7.MoveNext(): Type 'toolboxitemtypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ToolboxItemAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ToolboxItemAttributeTests.<Equals_TestData>d__7.MoveNext(): Type 'toolboxItemTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/ToolboxItemAttributeTests.cs(16707566): error IL2105: System.ComponentModel.ToolboxItemAttributeTests.<Equals_TestData>d__7.MoveNext(): Type 'toolboxItemTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
/_/src/libraries/System.ComponentModel.TypeConverter/tests/LicenseProviderAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.LicenseProviderAttributeTests.<TypeId_TestData>d__4.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj]
@radical radical added arch-wasm WebAssembly architecture disabled-test The test is disabled in source code against the issue area-Build-mono trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT labels Apr 21, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 21, 2021
@ghost
Copy link

ghost commented Apr 21, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Log

/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(69,102): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<>c.<Ctor_NullBaseType_ThrowsArgumentNullException>b__6_0(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(85,110): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<>c.<Ctor_NullDesignerBaseType_ThrowsArgumentNullException>b__7_0(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(71,90): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<>c.<Ctor_NullDesignerTypeName_ThrowsArgumentNullException>b__5_1(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(56,102): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<>c.<Ctor_NullTypeName_ThrowsArgumentNullException>b__4_0(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designertBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerbasetypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerBaseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.<Equals_TestData>d__10.MoveNext(): Type 'designerTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'basetypename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typename' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'baseTypeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(16707566): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.<Equals_TestData>d__9.MoveNext(): Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/DesignerAttributeTests.cs(101,13): error IL2105: System.ComponentModel.Tests.DesignerAttributeTests.TypeId_Get_ReturnsExcepted(String,Object): Type 'SerializerType' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/EditorAttributeTests.cs(85,13): error IL2105: System.ComponentModel.Tests.EditorAttributeTests.TypeId_Get_ReturnsExcepted(String,Object): Type 'Type' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/Users/radical/dev/r2/src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj]
Author: radical
Assignees: -
Labels:

arch-wasm, area-Build-mono, disabled-test, trimming-for-aot

Milestone: -

@radical radical changed the title [wasm][tests][eat] Trimming errors in building System.ComponentModel.Primitives.Tests [wasm][tests] IL2105 trimming errors in test projects Apr 22, 2021
@radical
Copy link
Member Author

radical commented Apr 22, 2021

cc @eerhardt

radical added a commit to radical/runtime that referenced this issue Apr 22, 2021
Issue: dotnet#51602

`System.ObjectModel.Tests`
`System.ComponentModel.Primitives`
`System.ComponentModel.TypeConverter.Tests`
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jun 1, 2021
@marek-safar marek-safar added this to the Future milestone Jun 1, 2021
@radical
Copy link
Member Author

radical commented Aug 4, 2021

Getting similar errors for System.ComponentModel.Annotations.Tests - build

ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithSelfAssociatedMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithSelfAssociatedMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithSelfAssociatedMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [/__w/1/s/src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj]
ILLink : error IL2105: System.ComponentModel.DataAnnotations.Tests.AssociatedMetadataTypeTypeDescriptionProviderTests/ClassWithSelfAssociatedMetadata: Type 'typeName' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified.  ```

@eerhardt
Copy link
Member

eerhardt commented Aug 4, 2021

I don't understand why we are failing the build with linker errors coming from tests. Can anyone explain? I thought we suppressed all trim warnings in tests.

If IL2105 isn't being suppressed by default, we should disable it explicitly in our tests.

@radical
Copy link
Member Author

radical commented Aug 4, 2021

I don't understand why we are failing the build with linker errors coming from tests. Can anyone explain? I thought we suppressed all trim warnings in tests.

Is that done just for the linker tests?

$ git grep SuppressTrimAnalysis
eng/testing/linker/SupportFiles/Directory.Build.props:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
eng/testing/linker/SupportFiles/Directory.Build.props:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
eng/testing/tests.mobile.targets:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
src/mono/sample/wasm/browser-bench/Wasm.Browser.Bench.Sample.csproj:    <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>

@radical
Copy link
Member Author

radical commented Aug 4, 2021

I don't understand why we are failing the build with linker errors coming from tests. Can anyone explain? I thought we suppressed all trim warnings in tests.

If IL2105 isn't being suppressed by default, we should disable it explicitly in our tests.

Should I disable all trim warnings ($(SuppressTrimAnalysisWarnings)=true) for tests, or just IL2105($(LinkerNoWarn)=IL2105)?

@eerhardt
Copy link
Member

eerhardt commented Aug 4, 2021

Is that done just for the linker tests?

<PropertyGroup Condition="'$(EnableAggressiveTrimming)' == 'true'">
<PublishTrimmed>true</PublishTrimmed>
<!-- Suppress linker warnings as these are tests -->
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>

However, I think the issue here is that IL2105 isn't disabled when you set SuppressTrimAnalysisWarnings=true.

https://github.com/dotnet/sdk/blob/c3850ddbd2c92702cf62868d0614d35a1278f7bb/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ILLink.targets#L58-L90

So we should also add IL2105 to NoWarn.

@sbomer - is there a reason 2105 isn't suppressed?

@radical
Copy link
Member Author

radical commented Aug 4, 2021

However, I think the issue here is that IL2105 isn't disabled when you set SuppressTrimAnalysisWarnings=true.

dotnet/sdk@c3850dd/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ILLink.targets#L58-L90

ah, ok! that doesn't apply for IL2103(#51708) though, I guess, because it's included in that list above. But we have had those tests disabled since April, so maybe they won't fail if I enable them now.

@radical
Copy link
Member Author

radical commented Aug 4, 2021

And should this issue be closed?

@eerhardt
Copy link
Member

eerhardt commented Aug 4, 2021

And should this issue be closed?

Not if the tests are still failing. We should do something to make them pass.

@radical
Copy link
Member Author

radical commented Aug 4, 2021

And should this issue be closed?

Not if the tests are still failing. We should do something to make them pass.

I'm trying that now in #52004 . I meant, that this issue is for IL2105 specifically, and if we are disabling it as "not relevant for tests", or "won't fix for tests", then we can close this issue.

I'll update when I have results from the build.

@eerhardt
Copy link
Member

eerhardt commented Aug 4, 2021

if we are disabling it as "not relevant for tests", or "won't fix for tests", then we can close this issue.

I wouldn't disable the test. I would just suppress the warning.

@sbomer
Copy link
Member

sbomer commented Aug 4, 2021

@sbomer - is there a reason 2105 isn't suppressed?

Yes - it's not categorized as a "Trim analysis" warning in the linker because we want to encourage the use of fully-qualified type names for parameters that have DAMT requirements (see discussion in https://github.com/mono/linker/issues/1895). But if it's too noisy we can definitely reconsider.

These tests look like they aren't testing a user scenario (they seem to use strings that don't map to any types) so I think it would be fine just to suppress IL2105 for the tests.

@eerhardt
Copy link
Member

eerhardt commented Aug 4, 2021

so I think it would be fine just to suppress IL2105 for the tests.

Sounds good to me. Thanks for verifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono disabled-test The test is disabled in source code against the issue trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT
Projects
None yet
Development

No branches or pull requests

4 participants