Skip to content

Commit

Permalink
fix a couple straggler namespaces (#3417)
Browse files Browse the repository at this point in the history
Few namespaces that weren't correct
  • Loading branch information
m-nash authored May 22, 2024
1 parent ffaff36 commit 8c61fa3
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.ComponentModel.Composition;
using Microsoft.Generator.CSharp.ClientModel.Expressions;
using Microsoft.Generator.CSharp.Expressions;
using Microsoft.Generator.CSharp.Writers;

namespace Microsoft.Generator.CSharp.ClientModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.ComponentModel.Composition;
using Microsoft.Generator.CSharp.Expressions;
using Microsoft.Generator.CSharp.Input;
using Microsoft.Generator.CSharp.Writers;

namespace Microsoft.Generator.CSharp
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Microsoft.Generator.CSharp.Expressions;

namespace Microsoft.Generator.CSharp.Models
namespace Microsoft.Generator.CSharp
{
internal record ExpressionPropertyBody(ValueExpression Getter) : PropertyBody;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Microsoft.Generator.CSharp.Expressions;

namespace Microsoft.Generator.CSharp.Models
namespace Microsoft.Generator.CSharp
{
internal record MethodPropertyBody(MethodBodyStatement Getter, MethodBodyStatement? Setter = null, MethodSignatureModifiers SetterModifiers = MethodSignatureModifiers.None) : PropertyBody;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using Microsoft.CodeAnalysis;

namespace Microsoft.Generator.CSharp.Input
namespace Microsoft.Generator.CSharp
{
internal record ClientSourceInput(INamedTypeSymbol? ParentClientType);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp;
using System.Linq;
using System.Text;
using System.Runtime.CompilerServices;
using static Microsoft.Generator.CSharp.ValidationType;
using Microsoft.Generator.CSharp.Expressions;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.Generator.CSharp.Expressions;
using static Microsoft.Generator.CSharp.Expressions.Snippets;
using Microsoft.Generator.CSharp.Models;
using static Microsoft.Generator.CSharp.ValidationType;

namespace Microsoft.Generator.CSharp
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System.Linq;

namespace Microsoft.Generator.CSharp.Writers
namespace Microsoft.Generator.CSharp
{
public class TypeProviderWriter
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Microsoft.Generator.CSharp.Expressions;
using System.IO;
using Microsoft.Generator.CSharp.Models;
using NUnit.Framework;
using static Microsoft.Generator.CSharp.Expressions.Snippets;

namespace Microsoft.Generator.CSharp.Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License.

using System;
using Microsoft.Generator.CSharp.Writers;
using Moq;
using NUnit.Framework;

Expand Down

0 comments on commit 8c61fa3

Please sign in to comment.