1 write to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6159this.InvokedAsExtensionMethod = invokedAsExtensionMethod;
25 references to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Expressions.cs (1)
6476boundCall.InvokedAsExtensionMethod,
Binder\Binder_Query.cs (2)
329argumentRefKindsOpt: default, result.IsDelegateCall, result.Expanded, result.InvokedAsExtensionMethod, 679int index = invocation.InvokedAsExtensionMethod ? 1 : 0;
Binder\RefSafetyAnalysis.cs (1)
950int offset = invocation.InvokedAsExtensionMethod ? 1 : 0;
BoundTree\Constructors.cs (2)
160return this.Update(ReceiverOpt, InitialBindingReceiverIsSubjectToCloning, Method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type); 165return this.Update(receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type);
CodeGen\Optimizer.cs (1)
2281return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.Method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, type);
Compilation\CSharpSemanticModel.cs (2)
4746if (call.InvokedAsExtensionMethod) 4782if (call.InvokedAsExtensionMethod && method.IsExtensionMethod && method.MethodKind != MethodKind.ReducedExtension)
FlowAnalysis\NullableWalker.cs (6)
6219Debug.Assert(node.InvokedAsExtensionMethod); 6249if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..] && 6288node.Expanded, node.InvokedAsExtensionMethod, method, firstArgumentResult: firstArgumentResult); 10168if (!invocation.InvokedAsExtensionMethod) 10200int offset = invocation.InvokedAsExtensionMethod ? 1 : 0; 10203if (invocation.InvokedAsExtensionMethod)
Generated\BoundNodes.xml.Generated.cs (5)
6186if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(method, this.Method) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || isDelegateCall != this.IsDelegateCall || expanded != this.Expanded || invokedAsExtensionMethod != this.InvokedAsExtensionMethod || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || resultKind != this.ResultKind || originalMethodsOpt != this.OriginalMethodsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11742return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.Method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, type); 13938updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, infoAndType.Type!); 13943updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, node.Type); 16393new TreeDumperNode("invokedAsExtensionMethod", node.InvokedAsExtensionMethod, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1096node.InvokedAsExtensionMethod,
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
371if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..]) 388bool invokedAsExtensionMethod = node.InvokedAsExtensionMethod;
Lowering\MethodToClassRewriter.cs (1)
258node.InvokedAsExtensionMethod,
Operations\CSharpOperationFactory_Methods.cs (1)
239boundCall.InvokedAsExtensionMethod);