3 writes to Context
Microsoft.Maui.Controls.Build.Tasks (3)
XamlCTask.cs (3)
45 Context = new LoggingHelperContext(); 93 Context = new LoggingHelperContext(); 112 Context ??= new LoggingHelperContext();
16 references to Context
Microsoft.Maui.Controls.Build.Tasks (16)
XamlCTask.cs (16)
44 if (Context == null) 46 Context.WarningLevel = warningLevel; 47 Context.TreatWarningsAsErrors = treatWarningsAsErrors; 48 Context.PathPrefix = pathPrefix; 50 Context.NoWarn = noWarn?.Split([';', ','], StringSplitOptions.RemoveEmptyEntries).Select(s => 63 Context.WarningsAsErrors = warningsAsErrors?.Split([';', ','], StringSplitOptions.RemoveEmptyEntries).Select(s => 76 Context.WarningsNotAsErrors = warningsNotAsErrors?.Split([';', ','], StringSplitOptions.RemoveEmptyEntries).Select(s => 92 if (Context == null) 94 if (Context.NoWarn != null && Context.NoWarn.Contains(code.CodeCode)) 97 if ((Context.TreatWarningsAsErrors && (Context.WarningsNotAsErrors == null || !Context.WarningsNotAsErrors.Contains(code.CodeCode))) 98 || (Context.WarningsAsErrors != null && Context.WarningsAsErrors.Contains(code.CodeCode))) 114 if (Context.PathPrefix is string prefix)