Commit 9160e3e8 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed build ..again 😤

parent 6d7f530a
......@@ -8,7 +8,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NLua</RootNamespace>
<AssemblyName>NLua</AssemblyName>
<ReleaseVersion>2.x</ReleaseVersion>
<ReleaseVersion>1.3.1</ReleaseVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
......
......@@ -116,7 +116,7 @@ namespace NLua.Extensions
if (t.IsPrimitive ())
return true;
// Unary - will always have only one version.
var op = t.GetPublicMethods ("op_UnaryNegation");
var op = t.GetMethod ("op_UnaryNegation", BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static);
return op != null;
}
......
......@@ -142,8 +142,29 @@ Global
$1.TabsToSpaces = False
$1.inheritsSet = VisualStudio
$1.inheritsScope = text/plain
$0.DotNetNamingPolicy = $2
$2.DirectoryNamespaceAssociation = None
$2.ResourceNamePolicy = FileFormatDefault
$0.TextStylePolicy = $3
$3.FileWidth = 120
$3.TabsToSpaces = False
$3.EolMarker = Windows
$3.inheritsSet = VisualStudio
$3.inheritsScope = text/plain
$3.scope = text/x-csharp
$0.CSharpFormattingPolicy = $4
$4.AfterDelegateDeclarationParameterComma = True
$4.inheritsSet = Mono
$4.inheritsScope = text/x-csharp
$4.scope = text/x-csharp
$0.TextStylePolicy = $5
$5.FileWidth = 120
$5.TabsToSpaces = False
$5.inheritsSet = VisualStudio
$5.inheritsScope = text/plain
$5.scope = text/plain
description = NLua
version = 2.x
version = 1.3.1
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......
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