Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Commit 3f26451

Browse files
committed
Revert "Merge branch 'dev' into rel/2.0.0"
This reverts commit 8ff9ef7, reversing changes made to c02d701.
1 parent 8ff9ef7 commit 3f26451

File tree

97 files changed

+284
-2508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+284
-2508
lines changed

NuGet.config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
<configuration>
33
<packageSources>
44
<clear />
5-
<add key="AspNetCore" value="https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json" />
6-
<add key="Roslyn" value="https://dotnet.myget.org/F/roslyn/api/v3/index.json" />
5+
<add key="AspNetCore" value="https://dotnet.myget.org/F/aspnetcore-ci-release/api/v3/index.json" />
76
<add key="AspNetCoreTools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" />
87
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
98
</packageSources>

appveyor.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
init:
1+
init:
22
- git config --global core.autocrlf true
33
branches:
44
only:
@@ -10,10 +10,6 @@ branches:
1010
build_script:
1111
- ps: .\build.ps1
1212
clone_depth: 1
13-
environment:
14-
global:
15-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
16-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
1713
test: off
1814
deploy: off
1915
os: Visual Studio 2017 Preview

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cd $PSScriptRoot
3333
$repoFolder = $PSScriptRoot
3434
$env:REPO_FOLDER = $repoFolder
3535

36-
$koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip"
36+
$koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/2.0.0.zip"
3737
if ($env:KOREBUILD_ZIP)
3838
{
3939
$koreBuildZip=$env:KOREBUILD_ZIP

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
33
cd $repoFolder
44

5-
koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip"
5+
koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/2.0.0.zip"
66
if [ ! -z $KOREBUILD_ZIP ]; then
77
koreBuildZip=$KOREBUILD_ZIP
88
fi

build/common.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
1313
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
15-
16-
<!-- Generate full pdbs for desktop targeting projects on platforms that support generating full pdbs. -->
17-
<DebugType Condition="'$(OS)'=='Windows_NT' AND '$(TargetFramework)'=='net46'">full</DebugType>
1815
</PropertyGroup>
1916

2017
<ItemGroup>

build/dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<NETStandardLibraryNETFrameworkVersion>2.0.0-*</NETStandardLibraryNETFrameworkVersion>
1313
<RuntimeFrameworkVersion Condition="'$(TargetFramework)'=='netcoreapp2.0'">2.0.0-*</RuntimeFrameworkVersion>
1414
<RoslynVersion>2.3.1</RoslynVersion>
15-
<RoslynDevVersion>2.3.0-beta4-*</RoslynDevVersion>
15+
<RoslynDevVersion>2.6.0-beta*</RoslynDevVersion>
1616
<StreamJsonRpcVersion>1.1.92</StreamJsonRpcVersion>
1717
<TestSdkVersion>15.3.0-*</TestSdkVersion>
1818

src/Microsoft.AspNetCore.Mvc.Razor.Extensions/RazorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ public static void Register(IRazorEngineBuilder builder)
2929
builder.Features.Add(new ViewComponentTagHelperPass());
3030
builder.Features.Add(new RazorPageDocumentClassifierPass());
3131
builder.Features.Add(new MvcViewDocumentClassifierPass());
32+
builder.Features.Add(new AssemblyAttributeInjectionPass());
3233

3334
if (!builder.DesignTime)
3435
{
35-
builder.Features.Add(new AssemblyAttributeInjectionPass());
3636
builder.Features.Add(new InstrumentationPass());
3737
}
3838
}

src/Microsoft.AspNetCore.Mvc.Razor.Extensions/ViewComponentTagHelperDescriptorProvider.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ public void Execute(TagHelperDescriptorProviderContext context)
5555
var factory = new ViewComponentTagHelperDescriptorFactory(compilation);
5656
for (var i = 0; i < types.Count; i++)
5757
{
58-
var descriptor = factory.CreateDescriptor(types[i]);
59-
60-
if (descriptor != null)
61-
{
62-
context.Results.Add(descriptor);
63-
}
58+
context.Results.Add(factory.CreateDescriptor(types[i]));
6459
}
6560
}
6661

src/Microsoft.AspNetCore.Razor.Language/DirectiveTokenEditHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public DirectiveTokenEditHandler(Func<string, IEnumerable<ISymbol>> tokenizer) :
1313
{
1414
}
1515

16-
protected override PartialParseResultInternal CanAcceptChange(Span target, SourceChange change)
16+
protected override PartialParseResult CanAcceptChange(Span target, SourceChange change)
1717
{
1818
if (AcceptedCharacters == AcceptedCharactersInternal.NonWhiteSpace)
1919
{
@@ -25,11 +25,11 @@ protected override PartialParseResultInternal CanAcceptChange(Span target, Sourc
2525
// Did not modify whitespace, directive format should be the same.
2626
// Return provisional so extensible IR/code gen pieces can see the full directive text
2727
// once the user stops editing the document.
28-
return PartialParseResultInternal.Accepted | PartialParseResultInternal.Provisional;
28+
return PartialParseResult.Accepted | PartialParseResult.Provisional;
2929
}
3030
}
3131

32-
return PartialParseResultInternal.Rejected;
32+
return PartialParseResult.Rejected;
3333

3434
}
3535

src/Microsoft.AspNetCore.Razor.Language/Legacy/AutoCompleteEditHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ public AutoCompleteEditHandler(Func<string, IEnumerable<ISymbol>> tokenizer, Acc
3131

3232
public string AutoCompleteString { get; set; }
3333

34-
protected override PartialParseResultInternal CanAcceptChange(Span target, SourceChange change)
34+
protected override PartialParseResult CanAcceptChange(Span target, SourceChange change)
3535
{
3636
if (((AutoCompleteAtEndOfSpan && IsAtEndOfSpan(target, change)) || IsAtEndOfFirstLine(target, change)) &&
3737
change.IsInsert &&
3838
ParserHelpers.IsNewLine(change.NewText) &&
3939
AutoCompleteString != null)
4040
{
41-
return PartialParseResultInternal.Rejected | PartialParseResultInternal.AutoCompleteBlock;
41+
return PartialParseResult.Rejected | PartialParseResult.AutoCompleteBlock;
4242
}
43-
return PartialParseResultInternal.Rejected;
43+
return PartialParseResult.Rejected;
4444
}
4545

4646
public override string ToString()

0 commit comments

Comments
 (0)