1 write to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6160this.InvokedAsExtensionMethod = invokedAsExtensionMethod;
25 references to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Expressions.cs (1)
6479boundCall.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)
4753if (call.InvokedAsExtensionMethod) 4789if (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); 10165if (!invocation.InvokedAsExtensionMethod) 10197int offset = invocation.InvokedAsExtensionMethod ? 1 : 0; 10200if (invocation.InvokedAsExtensionMethod)
Generated\BoundNodes.xml.Generated.cs (5)
6187if (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)) 11743return 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); 13939updatedNode = 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!); 13944updatedNode = 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); 16394new TreeDumperNode("invokedAsExtensionMethod", node.InvokedAsExtensionMethod, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1096node.InvokedAsExtensionMethod,
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
370if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..]) 387bool invokedAsExtensionMethod = node.InvokedAsExtensionMethod;
Lowering\MethodToClassRewriter.cs (1)
258node.InvokedAsExtensionMethod,
Operations\CSharpOperationFactory_Methods.cs (1)
239boundCall.InvokedAsExtensionMethod);