107 references to LoggingEventType
MSBuild (107)
LogMessagePacketBase.cs (107)
271private static Dictionary<LoggingEventType, MethodInfo> s_readMethodCache = new Dictionary<LoggingEventType, MethodInfo>(); 276private static Dictionary<LoggingEventType, MethodInfo> s_writeMethodCache = new Dictionary<LoggingEventType, MethodInfo>(); 306private LoggingEventType _eventType = LoggingEventType.Invalid; 389internal LoggingEventType EventType 424if (_eventType != LoggingEventType.CustomEvent) 463if (_eventType == LoggingEventType.TargetFinishedEvent && _targetFinishedTranslator != null) 491if (LoggingEventType.CustomEvent != _eventType) 519if (_eventType == LoggingEventType.TargetFinishedEvent && _targetFinishedTranslator != null) 622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 623LoggingEventType.BuildFinishedEvent => new BuildFinishedEventArgs(null, null, false), 624LoggingEventType.BuildMessageEvent => new BuildMessageEventArgs(null, null, null, MessageImportance.Normal), 625LoggingEventType.BuildStartedEvent => new BuildStartedEventArgs(null, null), 626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 627LoggingEventType.ProjectFinishedEvent => new ProjectFinishedEventArgs(null, null, null, false), 628LoggingEventType.ProjectStartedEvent => new ProjectStartedEventArgs(null, null, null, null, null, null), 629LoggingEventType.TargetStartedEvent => new TargetStartedEventArgs(null, null, null, null, null), 630LoggingEventType.TargetFinishedEvent => new TargetFinishedEventArgs(null, null, null, null, null, false), 631LoggingEventType.TaskStartedEvent => new TaskStartedEventArgs(null, null, null, null, null), 632LoggingEventType.TaskFinishedEvent => new TaskFinishedEventArgs(null, null, null, null, null, false), 633LoggingEventType.TaskCommandLineEvent => new TaskCommandLineEventArgs(null, null, MessageImportance.Normal), 634LoggingEventType.ResponseFileUsedEvent => new ResponseFileUsedEventArgs(null), 637LoggingEventType.AssemblyLoadEvent => new AssemblyLoadBuildEventArgs(), 638LoggingEventType.TaskParameterEvent => new TaskParameterEventArgs(0, null, null, true, default), 639LoggingEventType.ProjectEvaluationStartedEvent => new ProjectEvaluationStartedEventArgs(), 640LoggingEventType.ProjectEvaluationFinishedEvent => new ProjectEvaluationFinishedEventArgs(), 641LoggingEventType.ProjectImportedEvent => new ProjectImportedEventArgs(), 642LoggingEventType.TargetSkipped => new TargetSkippedEventArgs(), 643LoggingEventType.Telemetry => new TelemetryEventArgs(), 644LoggingEventType.ExtendedCustomEvent => new ExtendedCustomBuildEventArgs(), 645LoggingEventType.ExtendedBuildErrorEvent => new ExtendedBuildErrorEventArgs(), 646LoggingEventType.ExtendedBuildWarningEvent => new ExtendedBuildWarningEventArgs(), 647LoggingEventType.ExtendedBuildMessageEvent => new ExtendedBuildMessageEventArgs(), 648LoggingEventType.ExtendedCriticalBuildMessageEvent => new ExtendedCriticalBuildMessageEventArgs(), 649LoggingEventType.ExternalProjectStartedEvent => new ExternalProjectStartedEventArgs(null, null, null, null, null), 650LoggingEventType.ExternalProjectFinishedEvent => new ExternalProjectFinishedEventArgs(null, null, null, null, false), 651LoggingEventType.CriticalBuildMessage => new CriticalBuildMessageEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 652LoggingEventType.MetaprojectGenerated => new MetaprojectGeneratedEventArgs(null, null, null), 653LoggingEventType.PropertyInitialValueSet => new PropertyInitialValueSetEventArgs(), 654LoggingEventType.PropertyReassignment => new PropertyReassignmentEventArgs(), 655LoggingEventType.UninitializedPropertyRead => new UninitializedPropertyReadEventArgs(), 656LoggingEventType.GeneratedFileUsedEvent => new GeneratedFileUsedEventArgs(), 657LoggingEventType.BuildCheckMessageEvent => new BuildCheckResultMessage(), 658LoggingEventType.BuildCheckWarningEvent => new BuildCheckResultWarning(), 659LoggingEventType.BuildCheckErrorEvent => new BuildCheckResultError(), 660LoggingEventType.BuildCheckAcquisitionEvent => new BuildCheckAcquisitionEventArgs(), 661LoggingEventType.BuildCheckTracingEvent => new BuildCheckTracingEventArgs(), 662LoggingEventType.EnvironmentVariableReadEvent => new EnvironmentVariableReadEventArgs(), 663LoggingEventType.BuildSubmissionStartedEvent => new BuildSubmissionStartedEventArgs(), 664LoggingEventType.BuildCanceledEvent => new BuildCanceledEventArgs("Build canceled."), 677private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg) 682return LoggingEventType.BuildMessageEvent; 686return LoggingEventType.TaskCommandLineEvent; 691return LoggingEventType.TaskParameterEvent; 696return LoggingEventType.ProjectFinishedEvent; 700return LoggingEventType.ProjectStartedEvent; 704return LoggingEventType.ExternalProjectStartedEvent; 708return LoggingEventType.ExternalProjectFinishedEvent; 714return LoggingEventType.ProjectEvaluationFinishedEvent; 718return LoggingEventType.ProjectEvaluationStartedEvent; 722return LoggingEventType.ProjectImportedEvent; 726return LoggingEventType.TargetSkipped; 730return LoggingEventType.Telemetry; 734return LoggingEventType.AssemblyLoadEvent; 738return LoggingEventType.ExtendedCustomEvent; 742return LoggingEventType.ExtendedBuildErrorEvent; 746return LoggingEventType.ExtendedBuildWarningEvent; 750return LoggingEventType.ExtendedBuildMessageEvent; 754return LoggingEventType.CriticalBuildMessage; 758return LoggingEventType.ExtendedCriticalBuildMessageEvent; 762return LoggingEventType.MetaprojectGenerated; 766return LoggingEventType.PropertyInitialValueSet; 770return LoggingEventType.PropertyReassignment; 774return LoggingEventType.UninitializedPropertyRead; 778return LoggingEventType.GeneratedFileUsedEvent; 782return LoggingEventType.BuildCheckMessageEvent; 786return LoggingEventType.BuildCheckWarningEvent; 790return LoggingEventType.BuildCheckErrorEvent; 794return LoggingEventType.BuildCheckAcquisitionEvent; 798return LoggingEventType.BuildCheckTracingEvent; 802return LoggingEventType.EnvironmentVariableReadEvent; 806return LoggingEventType.BuildSubmissionStartedEvent; 810return LoggingEventType.BuildCanceledEvent; 815return LoggingEventType.TargetStartedEvent; 819return LoggingEventType.TargetFinishedEvent; 823return LoggingEventType.TaskStartedEvent; 827return LoggingEventType.TaskFinishedEvent; 831return LoggingEventType.BuildFinishedEvent; 835return LoggingEventType.BuildStartedEvent; 839return LoggingEventType.BuildWarningEvent; 843return LoggingEventType.BuildErrorEvent; 847return LoggingEventType.ResponseFileUsedEvent; 851return LoggingEventType.CustomEvent; 859private void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 885case LoggingEventType.BuildMessageEvent: 888case LoggingEventType.ResponseFileUsedEvent: 891case LoggingEventType.TaskCommandLineEvent: 894case LoggingEventType.BuildErrorEvent: 897case LoggingEventType.BuildWarningEvent: 1210private BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator) 1233LoggingEventType.TaskCommandLineEvent => ReadTaskCommandLineEventFromStream(translator, message, helpKeyword, senderName), 1234LoggingEventType.BuildErrorEvent => ReadTaskBuildErrorEventFromStream(translator, message, helpKeyword, senderName), 1235LoggingEventType.BuildMessageEvent => ReadBuildMessageEventFromStream(translator, message, helpKeyword, senderName), 1236LoggingEventType.ResponseFileUsedEvent => ReadResponseFileUsedEventFromStream(translator, message, helpKeyword, senderName), 1237LoggingEventType.BuildWarningEvent => ReadBuildWarningEventFromStream(translator, message, helpKeyword, senderName),