Microsoft.CodeAnalysis.Sarif.Converters.FxCopConverter.GetFilePath C# (CSharp) 메소드

GetFilePath() 개인적인 정적인 메소드

private static GetFilePath ( FxCopLogReader context ) : string
context FxCopLogReader
리턴 string
        private static string GetFilePath(FxCopLogReader.Context context)
        {
            if (context.Path == null)
            {
                return context.File;
            }
            else if (context.File == null)
            {
                Debug.Fail("FxCop with path set but file unset.");
                return context.Path;
            }
            else
            {
                return Path.Combine(context.Path, context.File);
            }
        }