public MakeReference(Expression referencedType, ReferenceFlow flow, bool streamRef, TokenPosition position) : base(position) { this.referencedType = referencedType; this.flow = flow; this.streamReference = streamRef; }
internal ReferenceType(IChelaType actualType, ReferenceFlow flow, bool streamReference) { this.referencedType = actualType; this.name = null; this.fullName = null; this.referenceFlow = flow; this.streamReference = streamReference; }
public static ReferenceType Create(IChelaType actualType, ReferenceFlow flow) { return(Create(actualType, flow, false)); }
public static ReferenceType Create(IChelaType actualType, ReferenceFlow flow, bool streamReference) { ReferenceType reference = new ReferenceType(actualType, flow, streamReference); return(referenceTypes.GetOrAdd(reference)); }