public SourceReferenceItem(DefinitionItem definition, DocumentSpan sourceSpan, bool isWrittenTo) { Definition = definition; SourceSpan = sourceSpan; IsWrittenTo = isWrittenTo; ReferenceInfo = ReferenceInfoMap.Empty; }
public SourceReferenceItem(DefinitionItem definition, DocumentSpan sourceSpan, ReferenceInfoMap referenceInfo) { Definition = definition; SourceSpan = sourceSpan; ReferenceInfo = referenceInfo ?? ReferenceInfoMap.Empty; }