1 write to _method
Microsoft.CodeAnalysis.CSharp (1)
CodeGen\CodeGenerator.cs (1)
99
_method
= method;
20 references to _method
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\CodeGenerator.cs (10)
168
Debug.Assert(!
_method
.ReturnsVoid, "returning something from void method?");
169
var slotConstraints =
_method
.RefKind == RefKind.None
176
int syntaxOffset =
_method
.CalculateLocalSyntaxOffset(LambdaUtilities.GetDeclaratorPosition(bodySyntax), bodySyntax.SyntaxTree);
177
var localSymbol = new SynthesizedLocal(
_method
,
_method
.ReturnTypeWithAnnotations, SynthesizedLocalKind.FunctionReturnValue, bodySyntax);
193
result = AllocateTemp(
_method
.ReturnType, _boundBody.Syntax, slotConstraints);
273
if (_emitPdbSequencePoints &&
_method
.IsImplicitlyDeclared)
311
Debug.Assert(
_method
.ReturnsVoid == (_returnTemp == null));
313
if (_emitPdbSequencePoints && !
_method
.IsIterator && !
_method
.IsAsync)
CodeGen\EmitAddress.cs (1)
469
=> Binder.HasHome(expression, addressKind,
_method
, IsPeVerifyCompatEnabled(), _stackLocals);
CodeGen\EmitConversion.cs (1)
361
method = method.GetConstructedLeastOverriddenMethod(
_method
.ContainingType, requireSameReturnType: true);
CodeGen\EmitExpression.cs (4)
179
var thisType =
_method
.ContainingType;
1953
actualMethodTargetedByTheCall = method.GetConstructedLeastOverriddenMethod(
_method
.ContainingType, requireSameReturnType: true);
1974
(object)actualMethodTargetedByTheCall.ContainingModule == (object)
_method
.ContainingModule)
4055
Debug.Assert(
_method
.GenerateDebugInfo, "Implied by this.emitSequencePoints");
CodeGen\EmitStatement.cs (4)
847
return _ilEmitStyle == ILEmitStyle.Debug &&
_method
.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true ||
858
(boundReturnStatement.Syntax.IsKind(SyntaxKind.Block) ||
_method
?.IsImplicitConstructor == true) &&
873
var unexpectedTemp = this.EmitAddress(expressionOpt, this.
_method
.RefKind == RefKind.RefReadOnly ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);
1868
int syntaxOffset =
_method
.CalculateLocalSyntaxOffset(LambdaUtilities.GetDeclaratorPosition(syntax), syntax.SyntaxTree);