2 references to IsMethodInvalid
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (2)
448if (!boundCall.OriginalMethodsOpt.IsDefault || IsMethodInvalid(boundCall.ResultKind, targetMethod)) 933if (IsMethodInvalid(boundCollectionElementInitializer.ResultKind, addMethod))