Add test for new _Instance but removing if option is used
This commit is contained in:
@@ -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 { }
|
||||
+27
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user