Cysharp / ZLogger

Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.
MIT License
1.25k stars 88 forks source link

Ambiguous method call: GetTypeInfo(System.Type) #50

Closed aschearer closed 2 years ago

aschearer commented 2 years ago

Full error: UnityLoggerFactory.cs(200, 56): [CS0121] The call is ambiguous between the following methods or properties: 'System.Reflection.TypeExtensions.GetTypeInfo(System.Type)' and 'System.Reflection.IntrospectionExtensions.GetTypeInfo(System.Type)'

This is in Unity 2019.4.13f1 running .NET 4.x, using ZLogger.Unity.1.6.0 and ZString.Unity.2.4.2.

neuecc commented 2 years ago

thanks, I'll investigate it.

neuecc commented 2 years ago

I can't reproduce it, have you installed other libs?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.