1 write to sourceName
System.Diagnostics.EventLog (1)
System\Diagnostics\EventLogInternal.cs (1)
117this.sourceName = source;
8 references to sourceName
System.Diagnostics.EventLog (8)
System\Diagnostics\EventLog.cs (1)
114EventLogInternal newLog = new EventLogInternal(_underlyingEventLog.logName, value, _underlyingEventLog.sourceName, this);
System\Diagnostics\EventLogInternal.cs (7)
227if (string.IsNullOrEmpty(logName) && !string.IsNullOrEmpty(sourceName)) 229logName = EventLog._InternalLogNameFromSourceName(sourceName, currentMachineName); 404return sourceName; 1096if (string.IsNullOrEmpty(sourceName)) 1099SafeEventLogWriteHandle handle = Interop.Advapi32.RegisterEventSource(currentMachineName, sourceName); 1108throw new InvalidOperationException(SR.Format(SR.CantOpenLogAccess, sourceName), e); 1317VerifyAndCreateSource(sourceName, currentMachineName);