Esempio n. 1
0
        public string Hash(string hashForAllHeaderFilesPossiblyInfluencingCompilation)
        {
            StringBuilder builder = new StringBuilder();

            foreach (string str in this.Arguments)
            {
                builder.Append(str);
            }
            builder.Append(this.CompilerExecutable);
            builder.Append(this.SourceFile);
            builder.Append(hashForAllHeaderFilesPossiblyInfluencingCompilation);
            builder.Append(HashTools.HashOfFile(this.SourceFile));
            return(HashTools.HashOf(builder.ToString()));
        }