3 writes to _eventType
Microsoft.Build (3)
LogMessagePacketBase.cs (3)
330_eventType = GetLoggingEventId(_buildEvent); 405translator.TranslateEnum(ref _eventType, (int)_eventType); 575_eventType = GetLoggingEventId(_buildEvent);
15 references to _eventType
Microsoft.Build (15)
LogMessagePacketBase.cs (15)
393return _eventType; 405translator.TranslateEnum(ref _eventType, (int)_eventType); 424if (_eventType != LoggingEventType.CustomEvent) 429if (!s_writeMethodCache.TryGetValue(_eventType, out methodInfo)) 433s_writeMethodCache.Add(_eventType, methodInfo); 463if (_eventType == LoggingEventType.TargetFinishedEvent && _targetFinishedTranslator != null) 470WriteEventToStream(_buildEvent, _eventType, translator); 491if (LoggingEventType.CustomEvent != _eventType) 508if (!s_readMethodCache.TryGetValue(_eventType, out methodInfo)) 512s_readMethodCache.Add(_eventType, methodInfo); 519if (_eventType == LoggingEventType.TargetFinishedEvent && _targetFinishedTranslator != null) 526_buildEvent = ReadEventFromStream(_eventType, translator); 527ErrorUtilities.VerifyThrow(_buildEvent is not null, "Not Supported LoggingEventType {0}", _eventType.ToString()); 620return _eventType switch 666_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)