3 writes to SourceCode
Microsoft.Build.Tasks.Core (3)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
426taskInfo.SourceCode = codeElement.Value; 476taskInfo.SourceCode = FileSystems.Default.ReadFileAllText(resolvedPath); 543taskInfo.SourceCode = GetSourceCode(taskInfo, parameters);
9 references to SourceCode
Microsoft.Build.Tasks.Core (9)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (6)
233return taskInfo.SourceCode; 261executeMethod.Statements.Add(new CodeSnippetStatement(taskInfo.SourceCode)); 267codeTypeDeclaration.Members.Add(new CodeSnippetTypeMember(taskInfo.SourceCode)); 536if (String.IsNullOrWhiteSpace(taskInfo.SourceCode)) 738_log.LogIncludeGeneratedFile(fileNameInBinlog, taskInfo.SourceCode); 741File.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);