Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2017-09-24 16:45:07 +0300
committerGitHub <noreply@github.com>2017-09-24 16:45:07 +0300
commita7f6f470cb2c4cdaafdc3ad85e2520992a8db265 (patch)
tree1c4f65cb2a3e0892b141ab6db0abbce3ea202ea5 /dir.props
parentf25f97d837a33534f5a6e2f7da9c0989210d3f4c (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.props5
1 files changed, 3 insertions, 2 deletions
diff --git a/dir.props b/dir.props
index 5c90cfc83c..b75dec9297 100644
--- a/dir.props
+++ b/dir.props
@@ -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>