10 references to InvalidArgument
Aspire.Hosting.RemoteHost (2)
Ats\CapabilityDispatcher.cs (1)
847catch (CapabilityException ex) when (ex.Error.Code is AtsErrorCodes.InvalidArgument or AtsErrorCodes.TypeMismatch)
Ats\CapabilityException.cs (1)
97Code = AtsErrorCodes.InvalidArgument,
Aspire.Hosting.RemoteHost.Tests (8)
CapabilityDispatcherTests.cs (7)
135Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 167Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 225Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 282Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 295Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 524Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code); 882Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code);
ReferenceExpressionRefTests.cs (1)
225Assert.Equal(AtsErrorCodes.InvalidArgument, ex.Error.Code);