3 writes to SourceCode
Microsoft.Build.Tasks.Core (3)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
483taskInfo.SourceCode = codeElement.Value; 533taskInfo.SourceCode = FileSystems.Default.ReadFileAllText(resolvedPath); 600taskInfo.SourceCode = GetSourceCode(taskInfo, parameters);
10 references to SourceCode
Microsoft.Build.Tasks.Core (10)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (6)
290return taskInfo.SourceCode; 318executeMethod.Statements.Add(new CodeSnippetStatement(taskInfo.SourceCode)); 324codeTypeDeclaration.Members.Add(new CodeSnippetTypeMember(taskInfo.SourceCode)); 593if (String.IsNullOrWhiteSpace(taskInfo.SourceCode)) 799_log.LogIncludeGeneratedFile(fileNameInBinlog, taskInfo.SourceCode); 802File.WriteAllText(sourceCodePath, taskInfo.SourceCode);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (4)
62&& String.Equals(SourceCode, other.SourceCode, StringComparison.OrdinalIgnoreCase) 82SourceCode is null ? 0 : StringComparer.OrdinalIgnoreCase.GetHashCode(SourceCode),