AvalonStudio.Languages.CPlusPlus.CPlusPlusLanguageService.GetAssociatedData C# (CSharp) Method

GetAssociatedData() private method

private GetAssociatedData ( ISourceFile sourceFile ) : CPlusPlusDataAssociation
sourceFile ISourceFile
return CPlusPlusDataAssociation
        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;
        }