Skip to content

Commit

Permalink
Update AutoRest C# version (Azure#12144)
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk authored May 18, 2020
1 parent 915ca9c commit ffbd034
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion eng/CodeGeneration.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<_AutoRestVersion>https://github.com/Azure/autorest/releases/download/autorest-3.0.6222/autorest-3.0.6222.tgz</_AutoRestVersion>
<_AutoRestCoreVersion>3.0.6282</_AutoRestCoreVersion>
<_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200516.1/autorest-csharp-v3-3.0.0-dev.20200516.1.tgz</_AutoRestCSharpVersion>
<_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200518.1/autorest-csharp-v3-3.0.0-dev.20200518.1.tgz</_AutoRestCSharpVersion>
<_SupportsCodeGeneration Condition="'$(IsClientLibrary)' == 'true'">true</_SupportsCodeGeneration>
<_DefaultInputName Condition="Exists('$(MSBuildProjectDirectory)/autorest.md')">$(MSBuildProjectDirectory)/autorest.md</_DefaultInputName>
<AutoRestInput Condition="'$(AutoRestInput)' == ''">$(_DefaultInputName)</AutoRestInput>
Expand Down Expand Up @@ -45,3 +45,4 @@




Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ public ResponseWithHeaders(T value, THeaders headers, Response rawResponse)
public override T Value { get; }

public THeaders Headers { get; }

public static implicit operator Response(ResponseWithHeaders<T, THeaders> self) => self.GetRawResponse();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public ResponseWithHeaders(THeaders headers, Response rawResponse)

public THeaders Headers { get; }

public static implicit operator Response(ResponseWithHeaders<THeaders> responseWithHeaders) => responseWithHeaders.GetRawResponse();
public static implicit operator Response(ResponseWithHeaders<THeaders> self) => self.GetRawResponse();
}
}

0 comments on commit ffbd034

Please sign in to comment.