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