File tree Expand file tree Collapse file tree 7 files changed +22
-26
lines changed
src/Microsoft.DotNet.Wpf/src/WpfGfx/tools/csp Expand file tree Collapse file tree 7 files changed +22
-26
lines changed Original file line number Diff line number Diff line change 1111//
1212//
1313
14+ using System . Text . RegularExpressions ;
15+ using System . Collections ;
16+ using System . Text ;
17+
1418namespace MS . Internal . Csp
1519{
16- using System ;
17- using System . IO ;
18- using System . Text ;
19- using System . Text . RegularExpressions ;
20- using System . Collections ;
21-
2220 internal sealed class CsPrimeParser
2321 {
2422 private struct Position
Original file line number Diff line number Diff line change 1414// provided to the project that Csp.exe will execute.
1515//
1616
17+ using System . Text ;
18+
1719namespace MS . Internal . Csp
1820{
19- using System ;
20- using System . Text ;
21-
2221 public sealed class CsPrimeRuntime
2322 {
2423 //------------------------------------------------------
Original file line number Diff line number Diff line change 1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+
4+ global using System . IO ;
5+ global using System ;
Original file line number Diff line number Diff line change 1919//
2020//------------------------------------------------------------------------------
2121
22+ using System . CodeDom . Compiler ;
23+ using System . Collections ;
24+ using System . Diagnostics ;
25+ using System . Text ;
26+
2227namespace MS . Internal . Csp
2328{
24- using System ;
25- using System . Collections ;
26- using System . Diagnostics ;
27- using System . IO ;
28- using System . Text ;
29- using System . CodeDom . Compiler ;
30-
3129 internal sealed class MainClass
3230 {
3331 // Parameters affecting csp.exe as a whole.
Original file line number Diff line number Diff line change 1010// a set of "C# prime" files, then executes the project.
1111//
1212
13+ using System . CodeDom . Compiler ;
14+ using System . Collections ;
15+ using System . Reflection ;
16+ using System . Text ;
17+
1318namespace MS . Internal . Csp
1419{
15- using System ;
16- using System . IO ;
17- using System . Text ;
18- using System . Collections ;
19- using System . Reflection ;
20- using System . CodeDom . Compiler ;
21-
2220 // This kind of exception is thrown when csp detects an
2321 // error in the project.
2422 public class CspProjectException : ApplicationException
Original file line number Diff line number Diff line change 1313
1414namespace MS . Internal . Csp
1515{
16- using System ;
17- using System . IO ;
18-
1916 internal class TempDirectory : IDisposable
2017 {
2118 //------------------------------------------------------
Original file line number Diff line number Diff line change 1010 </PropertyGroup >
1111
1212 <ItemGroup >
13+ <Compile Include =" GlobalUsings.cs" />
1314 <Compile Include =" MainClass.cs" />
1415 <Compile Include =" Project.cs" />
1516 <Compile Include =" TempDirectory.cs" />
You can’t perform that action at this time.
0 commit comments