Add test for new _Instance but removing if option is used

This commit is contained in:
Adam Hathcock
2024-06-03 14:41:30 +01:00
parent 6391515c19
commit 36840265ca
11 changed files with 82 additions and 14 deletions
@@ -0,0 +1,3 @@
namespace ProxyInterfaceSourceGeneratorTests.Source.Disposable;
public partial interface IRevitLocationPointProxy : IRevitLocationPoint { }
@@ -0,0 +1,3 @@
namespace ProxyInterfaceSourceGeneratorTests.Source.Disposable;
public partial interface IRevitLocationProxy : IRevitLocation { }
@@ -0,0 +1,27 @@
namespace ProxyInterfaceSourceGeneratorTests.Source.Disposable;
public interface IRevitLocationPoint : IRevitLocation
{
}
public interface IRevitLocationCurve : IRevitLocation
{
IRevitCurve Curve { get; }
}
public class LocationPoint : Location
{
public XYZ Point => throw new NotImplementedException();
}
public class Location : APIObject { }
public class APIObject { }
public class XYZ { }
public interface IRevitLocation
{
}
public interface IRevitCurve
{
double Length { get; }
}