private void SetBuildEventContextDefaultAfterSerialization(StreamingContext sc) { if (this.buildEventContext == null) { this.buildEventContext = new Microsoft.Build.Framework.BuildEventContext(-2, -1, -2, -1); } }
internal virtual void CreateFromStream(BinaryReader reader) { if (reader.ReadByte() == 0) { this.message = null; } else { this.message = reader.ReadString(); } if (reader.ReadByte() == 0) { this.helpKeyword = null; } else { this.helpKeyword = reader.ReadString(); } if (reader.ReadByte() == 0) { this.senderName = null; } else { this.senderName = reader.ReadString(); } DateTimeKind kind = (DateTimeKind)reader.ReadInt32(); this.timestamp = new DateTime(reader.ReadInt64(), kind); this.threadId = reader.ReadInt32(); if (reader.ReadByte() == 0) { this.buildEventContext = null; } else { int nodeId = reader.ReadInt32(); int submissionId = reader.ReadInt32(); int projectInstanceId = reader.ReadInt32(); int projectContextId = reader.ReadInt32(); int targetId = reader.ReadInt32(); int taskId = reader.ReadInt32(); this.buildEventContext = new Microsoft.Build.Framework.BuildEventContext(submissionId, nodeId, projectInstanceId, projectContextId, targetId, taskId); } }
internal virtual void CreateFromStream(BinaryReader reader) { if (reader.ReadByte() == 0) { this.message = null; } else { this.message = reader.ReadString(); } if (reader.ReadByte() == 0) { this.helpKeyword = null; } else { this.helpKeyword = reader.ReadString(); } if (reader.ReadByte() == 0) { this.senderName = null; } else { this.senderName = reader.ReadString(); } DateTimeKind kind = (DateTimeKind) reader.ReadInt32(); this.timestamp = new DateTime(reader.ReadInt64(), kind); this.threadId = reader.ReadInt32(); if (reader.ReadByte() == 0) { this.buildEventContext = null; } else { int nodeId = reader.ReadInt32(); int submissionId = reader.ReadInt32(); int projectInstanceId = reader.ReadInt32(); int projectContextId = reader.ReadInt32(); int targetId = reader.ReadInt32(); int taskId = reader.ReadInt32(); this.buildEventContext = new Microsoft.Build.Framework.BuildEventContext(submissionId, nodeId, projectInstanceId, projectContextId, targetId, taskId); } }
public static string Generate(string solutionPath, string toolsVersionOverride, Microsoft.Build.Framework.BuildEventContext projectBuildEventContext) { throw null; }
private void SetBuildEventContextDefaultBeforeSerialization(StreamingContext sc) { this.buildEventContext = null; }
public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext, System.DateTime eventTimestamp) { }
public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext, System.Collections.Generic.IDictionary <string, string> globalProperties, string toolsVersion) { }