Skip to content

Commit 31d5970

Browse files
committed
Release v1.7.18 (published)
1 parent c8a6ec0 commit 31d5970

File tree

18 files changed

+5
-5
lines changed

18 files changed

+5
-5
lines changed
-19 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

src/CSScriptIntellisense/CSharpIntellisense/CSScriptHelper.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static public List<string> AgregateReferences(this ScriptParser parser, IEnumera
108108

109109
var refAsms = refPkAsms.Union(refPkAsms)
110110
.Union(refCodeAsms)
111-
.Union(defaultRefAsms.SelectMany(name =>AssemblyResolver.FindAssembly(name, probingDirs)))
111+
.Union(defaultRefAsms.SelectMany(name => AssemblyResolver.FindAssembly(name, probingDirs)))
112112
.Distinct()
113113
.ToArray();
114114

@@ -145,7 +145,7 @@ static public List<string> AgregateReferences(this ScriptParser parser, IEnumera
145145
static public T CreateInstanceFromAndUnwrap<T>(this AppDomain domain)
146146
{
147147
Type type = typeof(T);
148-
return (T) domain.CreateInstanceFromAndUnwrap(type.Assembly.Location, type.ToString());
148+
return (T)domain.CreateInstanceFromAndUnwrap(type.Assembly.Location, type.ToString());
149149
}
150150

151151
class RemoteResolver : MarshalByRefObject
@@ -239,7 +239,8 @@ static public Tuple<string[], string[]> GetProjectFiles(string script)
239239

240240
static public bool NeedsAutoclassWrapper(string text)
241241
{
242-
return Regex.Matches(text, @"\s?//css_args\s+/ac(,|;|\s+)").Count != 0;
242+
return Regex.Matches(text, @"\s?//css_args\s+/ac(,|;|\s+)").Count != 0
243+
|| Regex.Matches(text, @"\s?//css_ac\s+").Count != 0;
243244
}
244245

245246
static public string GenerateAutoclassWrapper(string text, ref int position)
Binary file not shown.

0 commit comments

Comments
 (0)