3 references to Rule
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\ContractsCheckTest.cs (1)
41
VerifyCS.Diagnostic(ContractsCheckAnalyzer.DecodeMessageWithLoadContextDiagnostic.
Rule
).WithLocation(basis + 39, 41).WithArguments("CheckDecode", "\"This message is suspicious\""),
Microsoft.ML.InternalCodeAnalyzer (2)
ContractsCheckAnalyzer.cs (2)
78
DecodeMessageWithLoadContextDiagnostic.
Rule
);
244
DecodeMessageWithLoadContextDiagnostic.
Rule
, arg.GetLocation(), name, arg.Expression));