10 references to MethodBodySynthesizer
Microsoft.CodeAnalysis.CSharp (10)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (3)
138retExpression = MethodBodySynthesizer.GenerateFieldEquals(retExpression, boundLocal, fields, F); 189initHash = unchecked(initHash * MethodBodySynthesizer.HASH_FACTOR + Hash.GetFNVHashCode(property.BackingField.Name)); 206retExpression = MethodBodySynthesizer.GenerateHashCombine(retExpression, equalityComparer_GetHashCode, equalityComparer_get_Default, ref boundHashFactor,
Compiler\MethodBodySynthesizer.Lowered.cs (3)
252F.CloseMethod(MethodBodySynthesizer.ConstructSingleInvocationMethodBody(F, methodToInvoke, useBaseReference: false)); 285F.CloseMethod(MethodBodySynthesizer.ConstructSingleInvocationMethodBody(F, this.OverriddenAccessor, useBaseReference: true)); 332BoundBlock body = MethodBodySynthesizer.ConstructSingleInvocationMethodBody(F, methodBeingWrapped, useBaseReference: true);
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
154retExpr = MethodBodySynthesizer.GenerateFieldEquals(
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (3)
73currentHashValue = MethodBodySynthesizer.GenerateGetHashCode(equalityComparer_GetHashCode, equalityComparer_get_Default, F.Property(F.This(), _equalityContract), F); 102currentHashValue = MethodBodySynthesizer.GenerateGetHashCode(equalityComparer_GetHashCode, equalityComparer_get_Default, F.Field(F.This(), f), F); 106currentHashValue = MethodBodySynthesizer.GenerateHashCombine(currentHashValue, equalityComparer_GetHashCode, equalityComparer_get_Default, ref boundHashFactor,