Change "String." to "string." to match coding convention

This commit is contained in:
Mike Harder 2016-08-01 11:09:31 -07:00 committed by GitHub
parent 00a540dcb8
commit 4ece3f4b68
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel
{
if (IsUnixPipe)
{
if (String.IsNullOrEmpty(PathBase))
if (string.IsNullOrEmpty(PathBase))
{
return Scheme.ToLowerInvariant() + "://" + Host.ToLowerInvariant();
}

View File

@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
public async Task SendAll(params string[] lines)
{
var text = String.Join("\r\n", lines);
var text = string.Join("\r\n", lines);
var writer = new StreamWriter(_stream, Encoding.GetEncoding("iso-8859-1"));
await writer.WriteAsync(text);
writer.Flush();
@ -70,7 +70,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
public async Task Send(params string[] lines)
{
var text = String.Join("\r\n", lines);
var text = string.Join("\r\n", lines);
var writer = new StreamWriter(_stream, Encoding.GetEncoding("iso-8859-1"));
for (var index = 0; index < text.Length; index++)
{
@ -92,7 +92,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
public async Task Receive(params string[] lines)
{
var expected = String.Join("\r\n", lines);
var expected = string.Join("\r\n", lines);
var actual = new char[expected.Length];
var offset = 0;
while (offset < expected.Length)