summaryrefslogtreecommitdiff
path: root/pygments/lexers
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers')
-rw-r--r--pygments/lexers/dotnet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py
index 6b1799df..55366e28 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -76,6 +76,7 @@ class CSharpLexer(RegexLexer):
(r'[a-zA-Z_][a-zA-Z0-9_]*', Name.Class, '#pop')
],
'namespace': [
+ (r'(?=\()', Text, '#pop'), # using (resource)
(r'[a-zA-Z_][a-zA-Z0-9_.]*', Name.Namespace, '#pop')
]
}