Skip to content

[EventReference] Error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'GenericScriptableArchitecture.ScriptableEvent' and 'GenericScriptableArchitecture.EventInstancer' #23

Description

@Walter-Hulsebos

I've been receiving this error in a lot of places inside of EventReference

error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'GenericScriptableArchitecture.ScriptableEvent' and 'GenericScriptableArchitecture.EventInstancer'

It happens at
(27, 43)

private IScriptableEvent Event => _eventType == EventType.ScriptableEvent ? _event : _eventInstancer;

(90, 46)

private IScriptableEvent<T> Event => _eventType == EventType.ScriptableEvent ? _event : _eventInstancer;

(153, 51)

private IScriptableEvent<T1, T2> Event => _eventType == EventType.ScriptableEvent ? _event : _eventInstancer;

(216, 55)

private IScriptableEvent<T1, T2, T3> Event => _eventType == EventType.ScriptableEvent ? _event : _eventInstancer;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions