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