Create unit tests for TestConnection #774
Annotations
10 errors and 7 warnings
build:
src/CommonLib/LDAPUtils.cs#L996
No overload for method 'CreateLDAPConnection' takes 3 arguments
|
build:
src/CommonLib/LDAPUtils.cs#L1168
No overload for method 'CreateLDAPConnection' takes 3 arguments
|
build:
src/CommonLib/LDAPUtils.cs#L1440
Argument 1: cannot convert from 'string' to 'SharpHoundCommonLib.DomainControllerCacheKey'
|
build:
src/CommonLib/LDAPUtils.cs#L1441
There is no argument given that corresponds to the required parameter 'port' of 'LDAPUtils.GetUsableDomainController(Domain, int, bool)'
|
build:
src/CommonLib/LDAPUtils.cs#L1447
The name '_globalCatalogConnections' does not exist in the current context
|
build:
src/CommonLib/LDAPUtils.cs#L1468
The name '_globalCatalogConnections' does not exist in the current context
|
build:
src/CommonLib/LDAPUtils.cs#L1532
'LDAPUtils.CreateLDAPConnectionWrapper(string, bool, AuthType)': not all code paths return a value
|
build:
src/CommonLib/LDAPUtils.cs#L1608
'LDAPConnectionCacheKey' does not contain a constructor that takes 3 arguments
|
build:
src/CommonLib/LDAPUtils.cs#L1638
'LDAPConnectionCacheKey' does not contain a constructor that takes 3 arguments
|
build:
src/CommonLib/LDAPUtils.cs#L1724
Cannot implicitly convert type '(bool, int)' to 'SharpHoundCommonLib.DomainWrapper'
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
ProjectReference 'D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\SharpHoundCommonLib.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
|
build
ProjectReference 'D:\a\SharpHoundCommon\SharpHoundCommon\src\SharpHoundRPC\SharpHoundRPC.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
|
build:
src/CommonLib/LDAPUtils.cs#L1532
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.
|
build
ProjectReference 'D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\SharpHoundCommonLib.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
|
build
ProjectReference 'D:\a\SharpHoundCommon\SharpHoundCommon\src\SharpHoundRPC\SharpHoundRPC.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
|
build:
src/CommonLib/LDAPUtils.cs#L1532
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.
|