private CPlusPlusDataAssociation GetAssociatedData(ISourceFile sourceFile)
{
CPlusPlusDataAssociation result = null;
if (!dataAssociations.TryGetValue(sourceFile, out result))
{
throw new Exception("Tried to parse file that has not been registered with the language service.");
}
return result;
}