1 write to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6229this.InvokedAsExtensionMethod = invokedAsExtensionMethod;
30 references to InvokedAsExtensionMethod
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_Conversions.cs (1)
2251return call.Arguments[call.InvokedAsExtensionMethod ? 1 : 0];
Binder\Binder_Expressions.cs (1)
6694boundCall.InvokedAsExtensionMethod,
Binder\Binder_Query.cs (2)
329argumentRefKindsOpt: default, result.IsDelegateCall, result.Expanded, result.InvokedAsExtensionMethod, 684int index = invocation.InvokedAsExtensionMethod ? 1 : 0;
Binder\RefSafetyAnalysis.cs (1)
1189int offset = invocation.InvokedAsExtensionMethod || invocation.Method.IsExtensionBlockMember() ? 1 : 0;
BoundTree\Constructors.cs (2)
167return this.Update(ReceiverOpt, InitialBindingReceiverIsSubjectToCloning, Method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type); 172return this.Update(receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type);
CodeGen\Optimizer.cs (1)
2342return 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)
4772if (call.InvokedAsExtensionMethod) 4806if (call.InvokedAsExtensionMethod && method.IsExtensionMethod && method.MethodKind != MethodKind.ReducedExtension)
FlowAnalysis\NullableWalker.cs (8)
4042call.InvokedAsExtensionMethod, 6823Debug.Assert(node.InvokedAsExtensionMethod); 6843Debug.Assert(node.InvokedAsExtensionMethod || isExtensionBlockMethod); 6886if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..] && 6940node.InvokedAsExtensionMethod, 11478if (!invocation.InvokedAsExtensionMethod && !isExtensionBlockMethod) 11511int offset = invocation.InvokedAsExtensionMethod ? 1 : 0; 11514if (invocation.InvokedAsExtensionMethod || isExtensionBlockMethod)
FlowAnalysis\NullableWalker_Patterns.cs (1)
1006call.InvokedAsExtensionMethod);
Generated\BoundNodes.xml.Generated.cs (5)
6260if (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)) 12170return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, originalMethodsOpt, type); 14431updatedNode = 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!); 14436updatedNode = 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); 16927new TreeDumperNode("invokedAsExtensionMethod", node.InvokedAsExtensionMethod, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1111node.InvokedAsExtensionMethod,
Lowering\ExtensionMethodReferenceRewriter.cs (1)
86node.InvokedAsExtensionMethod,
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
383bool invokedAsExtensionMethod = node.InvokedAsExtensionMethod; 444if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..])
Lowering\MethodToClassRewriter.cs (1)
127node.InvokedAsExtensionMethod,
Operations\CSharpOperationFactory_Methods.cs (1)
239boundCall.InvokedAsExtensionMethod);