diff --git a/mode/clike/clike.js b/mode/clike/clike.js index e9f441fc0a..cff4aa6a9d 100644 --- a/mode/clike/clike.js +++ b/mode/clike/clike.js @@ -519,9 +519,10 @@ CodeMirror.defineMode("clike", function(config, parserConfig) { " unsafe using virtual void volatile while add alias ascending descending dynamic from get" + " global group into join let orderby partial remove select set value var yield"), types: words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func" + - " Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32" + - " UInt64 bool byte char decimal double short int long object" + - " sbyte float string ushort uint ulong"), + " Guid Int16 Int32 Int64 Object SByte Single String Task ValueTask TimeSpan UInt16 UInt32" + + " UInt64 bool byte char decimal double short int long object Span Memory ArraySegment IAsyncEnumerable" + + " sbyte float string ushort uint ulong Array List Dictionary IDisposable IAsyncDisposable " + + " ICollection IList IEnumerable IDictionary Stream"), blockKeywords: words("catch class do else finally for foreach if struct switch try while"), defKeywords: words("class interface namespace record struct var"), typeFirstDefinitions: true,