source generator upgrade
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class DataInPort : DataPort, IDataInPort
|
||||
|
||||
public override bool IsMatch(IBasePort other) =>
|
||||
other is DataOutPort dataOut &&
|
||||
GlobalProvider.DataPackageTypeProvider!.DataPortTypeCompatible(DataType!, dataOut.DataType!);
|
||||
GlobalProvider.DataTypeProvider!.DataPortTypeCompatible(DataType!, dataOut.DataType!);
|
||||
|
||||
public DataCache GetData => Connected ? ConnectedPort!.OutData : DataCache.Null;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public partial class DataOutPort : DataPort, IDataOutPort
|
||||
|
||||
public override bool IsMatch(IBasePort other) =>
|
||||
other is DataInPort inPort &&
|
||||
GlobalProvider.DataPackageTypeProvider!.DataPortTypeCompatible(inPort.DataType!, DataType!);
|
||||
GlobalProvider.DataTypeProvider!.DataPortTypeCompatible(inPort.DataType!, DataType!);
|
||||
|
||||
public override IBaseCable MakeCable(IBasePort other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user