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