3 writes to SourceCode
Microsoft.Build.Tasks.Core (3)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
452taskInfo.SourceCode = codeElement.Value; 502taskInfo.SourceCode = FileSystems.Default.ReadFileAllText(resolvedPath); 569taskInfo.SourceCode = GetSourceCode(taskInfo, parameters);
9 references to SourceCode
Microsoft.Build.Tasks.Core (9)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (6)
259return taskInfo.SourceCode; 287executeMethod.Statements.Add(new CodeSnippetStatement(taskInfo.SourceCode)); 293codeTypeDeclaration.Members.Add(new CodeSnippetTypeMember(taskInfo.SourceCode)); 562if (String.IsNullOrWhiteSpace(taskInfo.SourceCode)) 766_log.LogIncludeGeneratedFile(fileNameInBinlog, taskInfo.SourceCode); 769File.WriteAllText(sourceCodePath, taskInfo.SourceCode);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (3)
57&& String.Equals(SourceCode, other.SourceCode, StringComparison.OrdinalIgnoreCase) 74return HashCode.Combine(Name?.GetHashCode() ?? 0, SourceCode?.GetHashCode() ?? 0);