diff options
author | Stephen Toub <stoub@microsoft.com> | 2017-09-24 16:45:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-24 16:45:07 +0300 |
commit | a7f6f470cb2c4cdaafdc3ad85e2520992a8db265 (patch) | |
tree | 1c4f65cb2a3e0892b141ab6db0abbce3ea202ea5 /dir.props | |
parent | f25f97d837a33534f5a6e2f7da9c0989210d3f4c (diff) |
Use stackalloc directly into Span (#24212)
* Use stackalloc directly into Span
We have a few places in corefx where we were stackalloc'ing into a temporary pointer and then creating a Span from that. Now that we're using a C# compiler which supports stackalloc'ing directly into span, use that feature instead.
* Address PR feedback
Diffstat (limited to 'dir.props')
-rw-r--r-- | dir.props | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -209,9 +209,10 @@ <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> <CopyNuGetImplementations>false</CopyNuGetImplementations> </PropertyGroup> - - <!-- Set up handling of build warnings --> + + <!-- Language configuration --> <PropertyGroup> + <LangVersion>latest</LangVersion> <!-- default to allowing all language features --> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> </PropertyGroup> |