Files
MoShiro/backend/BannedSymbols.txt
T
2026-10-04 21:46:39 +08:00

20 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
M:System.Threading.Thread.Sleep(System.Int32);用 Task.Delay(TimeProvider)
M:System.Threading.Thread.Sleep(System.TimeSpan);用 Task.Delay(TimeProvider)
M:System.Threading.Tasks.Task.Wait();禁止同步等待
M:System.Threading.Tasks.Task.Wait(System.Int32);禁止同步等待
M:System.Threading.Tasks.Task.Wait(System.TimeSpan);禁止同步等待
P:System.Threading.Tasks.Task`1.Result;禁止同步等待,改用 await
P:System.DateTime.Now;时间一律通过 TimeProvider
P:System.DateTime.UtcNow;时间一律通过 TimeProvider
P:System.DateTime.Today;时间一律通过 TimeProvider
P:System.DateTimeOffset.Now;时间一律通过 TimeProvider
P:System.DateTimeOffset.UtcNow;时间一律通过 TimeProvider
M:System.Diagnostics.Stopwatch.StartNew();耗时通过 TimeProvider.GetTimestamp
M:System.Activator.CreateInstance(System.Type);禁止反射创建实例(AOT)
M:System.Type.GetType(System.String);禁止按名称取类型(AOT)
M:System.Text.Json.JsonSerializer.Serialize``1(``0,System.Text.Json.JsonSerializerOptions);必须使用源生成的 JsonTypeInfo
M:System.Text.Json.JsonSerializer.Deserialize``1(System.String,System.Text.Json.JsonSerializerOptions);必须使用源生成的 JsonTypeInfo
M:System.Text.Json.JsonSerializer.Deserialize``1(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonSerializerOptions);必须使用源生成的 JsonTypeInfo
M:System.Text.Json.JsonSerializer.Serialize``1(``0);必须使用源生成的 JsonTypeInfo
M:System.Text.Json.JsonSerializer.Deserialize``1(System.String);必须使用源生成的 JsonTypeInfo