66 references to BuildEventArgsFieldFlags
Microsoft.Build (66)
Logging\BinaryLogger\BuildEventArgsFields.cs (1)
16public BuildEventArgsFieldFlags Flags { get; set; }
Logging\BinaryLogger\BuildEventArgsReader.cs (22)
1312BuildEventArgsFieldFlags flags = (BuildEventArgsFieldFlags)ReadInt32(); 1318if ((flags & BuildEventArgsFieldFlags.Message) != 0) 1323if ((flags & BuildEventArgsFieldFlags.BuildEventContext) != 0) 1328if ((flags & BuildEventArgsFieldFlags.ThreadId) != 0) 1333if ((flags & BuildEventArgsFieldFlags.HelpKeyword) != 0) 1338if ((flags & BuildEventArgsFieldFlags.SenderName) != 0) 1343if ((flags & BuildEventArgsFieldFlags.Timestamp) != 0) 1348if ((flags & BuildEventArgsFieldFlags.Extended) != 0) 1355if ((flags & BuildEventArgsFieldFlags.Subcategory) != 0) 1360if ((flags & BuildEventArgsFieldFlags.Code) != 0) 1365if ((flags & BuildEventArgsFieldFlags.File) != 0) 1370if ((flags & BuildEventArgsFieldFlags.ProjectFile) != 0) 1375if ((flags & BuildEventArgsFieldFlags.LineNumber) != 0) 1380if ((flags & BuildEventArgsFieldFlags.ColumnNumber) != 0) 1385if ((flags & BuildEventArgsFieldFlags.EndLineNumber) != 0) 1390if ((flags & BuildEventArgsFieldFlags.EndColumnNumber) != 0) 1395if ((flags & BuildEventArgsFieldFlags.Arguments) != 0) 1407if ((_fileFormatVersion < 13 && readImportance) || (_fileFormatVersion >= 13 && (flags & BuildEventArgsFieldFlags.Importance) != 0)) 1419if ((fields.Flags & BuildEventArgsFieldFlags.ThreadId) != 0) 1424if ((fields.Flags & BuildEventArgsFieldFlags.SenderName) != 0) 1429if ((fields.Flags & BuildEventArgsFieldFlags.Timestamp) != 0)
Logging\BinaryLogger\BuildEventArgsWriter.cs (43)
638var flags = GetBuildEventArgsFieldFlags(e, writeMessage); 641flags |= BuildEventArgsFieldFlags.LineNumber | BuildEventArgsFieldFlags.ColumnNumber; 648private void WriteBaseFields(BuildEventArgs e, BuildEventArgsFieldFlags flags) 650if ((flags & BuildEventArgsFieldFlags.Message) != 0) 655if ((flags & BuildEventArgsFieldFlags.BuildEventContext) != 0) 660if ((flags & BuildEventArgsFieldFlags.ThreadId) != 0) 665if ((flags & BuildEventArgsFieldFlags.HelpKeyword) != 0) 670if ((flags & BuildEventArgsFieldFlags.SenderName) != 0) 675if ((flags & BuildEventArgsFieldFlags.Timestamp) != 0) 680if ((flags & BuildEventArgsFieldFlags.Extended) != 0) 688var flags = GetBuildEventArgsFieldFlags(e, writeMessage); 695if ((flags & BuildEventArgsFieldFlags.Subcategory) != 0) 700if ((flags & BuildEventArgsFieldFlags.Code) != 0) 705if ((flags & BuildEventArgsFieldFlags.File) != 0) 710if ((flags & BuildEventArgsFieldFlags.ProjectFile) != 0) 715if ((flags & BuildEventArgsFieldFlags.LineNumber) != 0) 720if ((flags & BuildEventArgsFieldFlags.ColumnNumber) != 0) 725if ((flags & BuildEventArgsFieldFlags.EndLineNumber) != 0) 730if ((flags & BuildEventArgsFieldFlags.EndColumnNumber) != 0) 735if ((flags & BuildEventArgsFieldFlags.Arguments) != 0) 740if ((flags & BuildEventArgsFieldFlags.Importance) != 0) 762private static BuildEventArgsFieldFlags GetMessageFlags(BuildMessageEventArgs e, BuildEventArgsFieldFlags flags, bool writeImportance = false) 766flags |= BuildEventArgsFieldFlags.Subcategory; 771flags |= BuildEventArgsFieldFlags.Code; 776flags |= BuildEventArgsFieldFlags.File; 781flags |= BuildEventArgsFieldFlags.ProjectFile; 786flags |= BuildEventArgsFieldFlags.LineNumber; 791flags |= BuildEventArgsFieldFlags.ColumnNumber; 796flags |= BuildEventArgsFieldFlags.EndLineNumber; 801flags |= BuildEventArgsFieldFlags.EndColumnNumber; 806flags |= BuildEventArgsFieldFlags.Importance; 812private static BuildEventArgsFieldFlags GetBuildEventArgsFieldFlags(BuildEventArgs e, bool writeMessage = true) 814var flags = BuildEventArgsFieldFlags.None; 817flags |= BuildEventArgsFieldFlags.BuildEventContext; 822flags |= BuildEventArgsFieldFlags.HelpKeyword; 827flags |= BuildEventArgsFieldFlags.Message; 834flags |= BuildEventArgsFieldFlags.Arguments; 841flags |= BuildEventArgsFieldFlags.SenderName; 846flags |= BuildEventArgsFieldFlags.Timestamp; 851flags |= BuildEventArgsFieldFlags.Extended;