Commit 4f71f921 authored by Jesse McGrew's avatar Jesse McGrew
Browse files

Fix building in Release configuration.

parent 4ec1d07169d1
......@@ -164,7 +164,6 @@ Global
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Debug|x86.ActiveCfg = Debug|Any CPU
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Debug|x86.Build.0 = Debug|Any CPU
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Release|Any CPU.Build.0 = Release|Any CPU
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Release|x86.ActiveCfg = Release|Any CPU
{55BC8693-4255-4F7C-B69D-734406DE6C88}.Release|x86.Build.0 = Release|Any CPU
{1451DB23-3FE9-4207-9903-9B5395934806}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
......
......@@ -85,7 +85,10 @@ namespace Zapf
public OpenFileDelegate InterceptOpenFile;
public FileExistsDelegate InterceptFileExists;
#pragma warning disable CS0649
public GetDebugWriterDelegate InterceptGetDebugWriter;
#pragma warning restore CS0649
char? LanguageEscapeChar { get; set; }
......
......@@ -390,8 +390,10 @@ namespace Zilf.Interpreter
[ParamDesc("all-none-or-codes")]
public struct CodesOrWildcard
{
#pragma warning disable CS0649
[Either(typeof(Wildcard), typeof(AtomParams.StringOrAtom[]))]
public object Content;
#pragma warning restore CS0649
public StdAtom? GetWildcard()
{
......@@ -410,8 +412,10 @@ namespace Zilf.Interpreter
[ZilSequenceParam]
public struct Wildcard
{
#pragma warning disable CS0649
[Decl("<OR 'ALL 'NONE>")]
public ZilAtom Atom;
#pragma warning restore CS0649
public StdAtom StdAtom => Atom.StdAtom;
}
......
......@@ -39,7 +39,7 @@
<!-- only use the analyzer if it's been built for this target -->
<PropertyGroup>
<ZilfAnalyzersAssembly>..\Analyzers\ZilfAnalyzers\ZilfAnalyzers\bin\Debug\$(TargetFramework)\ZilfAnalyzers.dll</ZilfAnalyzersAssembly>
<ZilfAnalyzersAssembly>..\Analyzers\ZilfAnalyzers\ZilfAnalyzers\bin\$(Configuration)\$(TargetFramework)\ZilfAnalyzers.dll</ZilfAnalyzersAssembly>
</PropertyGroup>
<ItemGroup>
<Analyzer Condition="Exists('$(ZilfAnalyzersAssembly)')" Include="$(ZilfAnalyzersAssembly)" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment