public override bool IsSupportedFor(CSharpProgramConfiguration config) { //UNITY_DOTS_ENTRYPOINT is actually a fake define constraint we use to signal the buildsystem, // so don't impose it as a constraint return(DefineConstraintsHelper.IsDefineConstraintsCompatible(Defines.For(config).Append("UNITY_DOTS_ENTRYPOINT").ToArray(), AsmDefDescription.DefineConstraints) && base.IsSupportedFor(config)); }
public override bool IsSupportedFor(CSharpProgramConfiguration config) { //UNITY_DOTS_ENTRYPOINT is actually a fake define constraint we use to signal the buildsystem, //so don't impose it as a constraint return(base.IsSupportedFor(config) && AsmDefDescription.DefineConstraints.All(dc => dc == "UNITY_DOTS_ENTRYPOINT" || Defines.For(config).Contains(dc))); }