2 references to TryRewriteMethodCall
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\InteropServices\CSharpDisableRuntimeMarshalling.FixAllProvider.cs (1)
53
if (
TryRewriteMethodCall
(node, editor, identifierGenerator, addRenameAnnotation: false, fixAllContext.CancellationToken))
Microsoft.NetCore.Analyzers\InteropServices\CSharpDisableRuntimeMarshalling.Fixer.cs (1)
77
var addUnsafeToEnclosingMethod =
TryRewriteMethodCall
(node, editor, identifierGenerator, addRenameAnnotation: true, ct);