Use project ID, not code, in CrdtMerge API #319
Annotations
2 errors and 11 warnings
Dotnet test:
backend/FwLite/FwLiteProjectSync.Tests/SyncFixtureTests.cs#L11
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key ""
---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details
1.) new LcmMetaDataCache()
2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache
3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache)
4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*)
5.) SIL.LCModel.Infrastructure.Impl.IdentityMap
6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap
7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*)
8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider
9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider)
10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup)
-------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
|
Dotnet test
Process completed with exit code 1.
|
Dotnet test:
backend/FwLite/FwDataMiniLcmBridge.Tests/Fixtures/MockFwProjectList.cs#L6
Parameter 'IOptions<FwDataBridgeConfig> config' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Dotnet build:
backend/FwLite/MiniLcm/InMemoryApi.cs#L189
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/FwLite/MiniLcm/InMemoryApi.cs#L194
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/FwLite/MiniLcm/InMemoryApi.cs#L226
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/FwLite/MiniLcm/InMemoryApi.cs#L245
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
|
Dotnet build:
backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs#L122
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
|
Dotnet build:
backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateEntryProxy.cs#L53
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
|
Dotnet build:
backend/FwLite/LcmCrdt/Changes/RemoveSemanticDomainChange.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/FwLite/FwLiteProjectSync/DryRunMiniLcmApi.cs#L30
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(MiniLcm.Models.WritingSystemType)2' is not covered.
|
Dotnet build:
backend/FwLite/LocalWebApp/SyncService.cs#L14
Parameter 'factory' is unread.
|
Loading