Skip to content

Commit

Permalink
Removing framework-specific attributes from .NET
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Nov 12, 2020
1 parent 0ec4a4f commit cff1bf0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dotnet/src/webdriver/DriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public bool SuppressInitialDiagnosticInformation
/// </summary>
public bool IsRunning
{
[SecurityPermission(SecurityAction.Demand)]
get { return this.driverServiceProcess != null && !this.driverServiceProcess.HasExited; }
}

Expand Down Expand Up @@ -252,7 +251,6 @@ public void Dispose()
/// <summary>
/// Starts the DriverService if it is not already running.
/// </summary>
[SecurityPermission(SecurityAction.Demand)]
public void Start()
{
if (this.driverServiceProcess != null)
Expand Down Expand Up @@ -355,7 +353,6 @@ protected void OnDriverProcessStarted(DriverProcessStartedEventArgs eventArgs)
/// <summary>
/// Stops the DriverService.
/// </summary>
[SecurityPermission(SecurityAction.Demand)]
private void Stop()
{
if (this.IsRunning)
Expand Down

0 comments on commit cff1bf0

Please sign in to comment.