diff --git a/.gitignore b/.gitignore index 4c5fc3d..c89f7f3 100644 --- a/.gitignore +++ b/.gitignore @@ -171,3 +171,4 @@ UpgradeLog*.XML UpgradeLog*.htm /src/QuoterService/project.lock.json /src/QuoterService/Properties/PublishProfiles/roslynquoter - Web Deploy-publish.ps1 +*.binlog \ No newline at end of file diff --git a/src/Quoter.Tests/Quoter.Tests.csproj b/src/Quoter.Tests/Quoter.Tests.csproj index 2f97680..a84d69e 100644 --- a/src/Quoter.Tests/Quoter.Tests.csproj +++ b/src/Quoter.Tests/Quoter.Tests.csproj @@ -6,12 +6,12 @@ - - - - - - + + + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/Quoter.Web/Quoter.Web.csproj b/src/Quoter.Web/Quoter.Web.csproj index 7aa405c..c3e3896 100644 --- a/src/Quoter.Web/Quoter.Web.csproj +++ b/src/Quoter.Web/Quoter.Web.csproj @@ -1,11 +1,12 @@ - netcoreapp2.0 + netcoreapp2.2 + 113425b6-d4c0-42c1-bd99-694335fdfa16 - + diff --git a/src/Quoter.Web/wwwroot/index.html b/src/Quoter.Web/wwwroot/index.html index 141c6ba..863208c 100644 --- a/src/Quoter.Web/wwwroot/index.html +++ b/src/Quoter.Web/wwwroot/index.html @@ -25,6 +25,7 @@ Parse as: diff --git a/src/Quoter/Quoter.cs b/src/Quoter/Quoter.cs index bfc1fc1..44c63c6 100644 --- a/src/Quoter/Quoter.cs +++ b/src/Quoter/Quoter.cs @@ -102,6 +102,8 @@ public class Quoter { case NodeKind.CompilationUnit: return SyntaxFactory.ParseCompilationUnit(sourceText); + case NodeKind.MemberDeclaration: + return SyntaxFactory.ParseMemberDeclaration(sourceText); case NodeKind.Statement: return SyntaxFactory.ParseStatement(sourceText); case NodeKind.Expression: @@ -1891,6 +1893,7 @@ public class Quoter public enum NodeKind { CompilationUnit, + MemberDeclaration, Statement, Expression } \ No newline at end of file diff --git a/src/Quoter/Quoter.csproj b/src/Quoter/Quoter.csproj index 39f85e4..df66e8b 100644 --- a/src/Quoter/Quoter.csproj +++ b/src/Quoter/Quoter.csproj @@ -6,10 +6,7 @@ - - - - + \ No newline at end of file diff --git a/src/uno/RoslynQuoter.Shared/MainPage.xaml b/src/uno/RoslynQuoter.Shared/MainPage.xaml index 894cfdb..d6c6a83 100644 --- a/src/uno/RoslynQuoter.Shared/MainPage.xaml +++ b/src/uno/RoslynQuoter.Shared/MainPage.xaml @@ -4,152 +4,85 @@ xmlns:wasm="http://uno/wasm" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:RoslynQuoter" + xmlns:banner="using:Uno.UI.Sample.Banner" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="xamarin wasm"> - - - - - - - - + - - + + This application is running the Roslyn Quoter tool locally on your machine. + - - - + + + + + + + + + + + + + + + + +