Skip to content

Commit

Permalink
Removed dnxcore50 from generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed May 24, 2016
1 parent 72b915b commit 25a2716
Show file tree
Hide file tree
Showing 41 changed files with 120 additions and 120 deletions.
4 changes: 2 additions & 2 deletions AutoRest/AutoRest.Core/Logging/CodeGenerationException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Rest.Generator.Logging
/// <summary>
/// Code generation aggregate exception.
/// </summary>
#if !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class CodeGenerationException : AggregateException
Expand Down Expand Up @@ -38,7 +38,7 @@ public CodeGenerationException(string message, Exception innerException) : base(
{
}

#if !DNXCORE50
#if !PORTABLE
/// <summary>
/// Instantiates a new instance of the CodeGenerationException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsAzureBodyDuration.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsAzureCompositeModelClient.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsAzureReport.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsAzureResource.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsAzureSpecials.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsCustomBaseUri.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.Azure.AcceptanceTestsSubscriptionIdApiVersion.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyArray.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyBoolean.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyByte.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyComplex.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyDate.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace Fixtures.AcceptanceTestsBodyDateTime.Models
using System;
using System.Net.Http;
using System.Runtime.Serialization;
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
using System.Security.Permissions;
#endif

/// <summary>
/// Exception thrown for an invalid response with Error information.
/// </summary>
#if !PORTABLE && !DNXCORE50
#if !PORTABLE
[Serializable]
#endif
public class ErrorException : RestException
Expand Down Expand Up @@ -65,7 +65,7 @@ public ErrorException(string message, Exception innerException)
{
}

#if !PORTABLE && !DNXCORE50
#if !PORTABLE
/// <summary>
/// Initializes a new instance of the ErrorException class.
/// </summary>
Expand Down
Loading

0 comments on commit 25a2716

Please sign in to comment.