Logo
Explore Help
Register Sign In
ishangsf/rspec
2
0
Fork 0
You've already forked rspec
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
rspec/rules/S3869/csharp/rule.adoc

15 lines
351 B
Plaintext
Raw Normal View History

Modify rule S3869: Migrate to new educational format (#2068)
2023-06-06 16:41:57 +02:00
include::../why-dotnet.adoc[]
Inline adoc when include has no additional value (#1940) Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
2023-05-25 14:18:12 +02:00
[source,csharp]
----
static void Main(string[] args)
{
System.Reflection.FieldInfo fieldInfo = ...;
SafeHandle handle = (SafeHandle)fieldInfo.GetValue(rKey);
Modify rule S3869: Migrate to new educational format (#2068)
2023-06-06 16:41:57 +02:00
IntPtr dangerousHandle = handle.DangerousGetHandle(); // Noncompliant
Inline adoc when include has no additional value (#1940) Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
2023-05-25 14:18:12 +02:00
}
----
Modify rule S3869: Migrate to new educational format (#2068)
2023-06-06 16:41:57 +02:00
include::../resources-dotnet.adoc[]
RULEAPI-666: Migrate the "List of parameters", "Highlighting" and "Message" fields from jira RSPEC (#346)
2021-09-20 15:38:42 +02:00
Modify rule S3869: Migrate to new educational format (#2068)
2023-06-06 16:41:57 +02:00
include::../rspecator-dotnet.adoc[]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1211ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API