Fix build warnings; tackles #595 (#599) #3056
Annotations
5 errors and 9 warnings
Analyze (csharp):
DisCatSharp/Logging/DefaultLogger.cs#L13
The type 'Lock' exists in both 'Backport.System.Threading.Lock, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011' and 'DisCatSharp.Common, Version=10.6.6.0, Culture=neutral, PublicKeyToken=null'
|
Analyze (csharp):
DisCatSharp/Logging/DefaultLogger.cs#L13
The type 'Lock' exists in both 'Backport.System.Threading.Lock, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011' and 'DisCatSharp.Common, Version=10.6.6.0, Culture=neutral, PublicKeyToken=null'
|
Analyze (csharp):
DisCatSharp/Logging/DefaultLogger.cs#L13
The type 'Lock' exists in both 'Backport.System.Threading.Lock, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011' and 'DisCatSharp.Common, Version=10.6.6.0, Culture=neutral, PublicKeyToken=null'
|
Analyze (csharp):
DisCatSharp/Logging/DefaultLogger.cs#L13
The type 'Lock' exists in both 'Backport.System.Threading.Lock, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011' and 'DisCatSharp.Common, Version=10.6.6.0, Culture=neutral, PublicKeyToken=null'
|
Analyze (csharp)
Process completed with exit code 1.
|
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.LockFactory.cs#L46
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs#L105
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs#L141
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/Utilities/AsyncEvent/AsyncEvent.cs#L52
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.LockFactory.cs#L46
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs#L105
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs#L141
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.PreNet5Lock.cs'.
|
Analyze (csharp):
DisCatSharp.Common/Utilities/AsyncEvent/AsyncEvent.cs#L52
The type 'Lock' in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs' conflicts with the imported type 'Lock' in 'Backport.System.Threading.Lock, Version=3.0.3.0, Culture=neutral, PublicKeyToken=b4f1bfae1afe4011'. Using the type defined in '/home/runner/work/DisCatSharp/DisCatSharp/DisCatSharp.Common/obj/Release/net8.0/generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs'.
|