Mono.CSharp.WarningRegions.WarningEnable C# (CSharp) Method

WarningEnable() public method

public WarningEnable ( Mono.CSharp.Location location, int code, Report Report ) : void
location Mono.CSharp.Location
code int
Report Report
return void
		public void WarningEnable (Location location, int code, Report Report)
		{
			if (!Report.CheckWarningCode (code, location))
				return;

			if (Report.IsWarningDisabledGlobally (code))
				Report.Warning (1635, 1, location, "Cannot restore warning `CS{0:0000}' because it was disabled globally", code);

			regions.Add (new Enable (location.Row, code));
		}

Same methods

WarningRegions::WarningEnable ( int line ) : void