2 overrides of ConstructedFrom
Microsoft.CodeAnalysis.CSharp (2)
Symbols\ReducedExtensionMethodSymbol.cs (1)
277
public override MethodSymbol
ConstructedFrom
Symbols\SubstitutedMethodSymbol.cs (1)
75
public override MethodSymbol
ConstructedFrom
37 references to ConstructedFrom
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder.cs (1)
653
symbol = ((MethodSymbol)symbol).
ConstructedFrom
;
Binder\Binder_Expressions.cs (1)
10588
method = method.
ConstructedFrom
.Construct(node.TypeArgumentsOpt);
Binder\Binder_Invocation.cs (2)
1930
constructedMethods.Add(m.
ConstructedFrom
== m && m.Arity == typeArgumentsWithAnnotations.Length ? m.Construct(typeArgumentsWithAnnotations) : m);
1958
return method.IsGenericMethod && method.
ConstructedFrom
== method;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
3209
var constructedFromMethod = method.
ConstructedFrom
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
4219
leastOverriddenMethod.
ConstructedFrom
.TypeParameters,
4232
leastOverriddenMember = (TMember)(Symbol)leastOverriddenMethod.
ConstructedFrom
.Construct(typeArguments);
4642
return (TMember)(Symbol)(member as MethodSymbol).
ConstructedFrom
;
Compiler\MethodBodySynthesizer.Lowered.cs (1)
329
methodBeingWrapped = methodBeingWrapped.
ConstructedFrom
.Construct(StaticCast<TypeSymbol>.From(this.TypeParameters));
Emitter\Model\MethodSymbolAdapter.cs (1)
278
MethodSymbol methodSymbol = AdaptedMethodSymbol.
ConstructedFrom
;
Emitter\Model\PEModuleBuilder.cs (1)
1265
Debug.Assert(!(methodSymbol.
ConstructedFrom
is NativeIntegerMethodSymbol));
FlowAnalysis\NullableWalker.cs (1)
7887
var definition = method.
ConstructedFrom
;
Lowering\MethodToClassRewriter.cs (2)
347
methodBeingWrapped = methodBeingWrapped.
ConstructedFrom
;
742
Debug.Assert(ReferenceEquals(methodBeingWrapped, methodBeingWrapped.
ConstructedFrom
));
Symbols\ConstraintsHelper.cs (1)
1589
Debug.Assert(method.
ConstructedFrom
!= method);
Symbols\MethodSymbol.cs (3)
475
var m = this.
ConstructedFrom
.GetLeastOverriddenMethodCore(accessingTypeOpt, requireSameReturnType);
491
if (this.IsOverride && ReferenceEquals(this.
ConstructedFrom
, this))
859
if (!ReferenceEquals(this,
ConstructedFrom
) || this.Arity == 0)
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
881
return MethodSymbol.CanOverrideOrHide(methodSymbol.MethodKind) && ReferenceEquals(methodSymbol, methodSymbol.
ConstructedFrom
);
Symbols\PublicModel\MethodSymbol.cs (1)
137
return _underlying.
ConstructedFrom
.GetPublicSymbol();
Symbols\ReducedExtensionMethodSymbol.cs (4)
77
var constructedFrom = method.
ConstructedFrom
;
96
Debug.Assert(reducedFrom.
ConstructedFrom
== reducedFrom);
120
if (!method.IsGenericMethod || method != method.
ConstructedFrom
)
281
Debug.Assert(_reducedFrom.
ConstructedFrom
== _reducedFrom);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
884
Debug.Assert((object)method == method.
ConstructedFrom
);
Symbols\Source\CustomModifierUtils.cs (1)
32
Debug.Assert((object)sourceMethod == sourceMethod.
ConstructedFrom
);
Symbols\SubstitutedMethodSymbol.cs (2)
57
Debug.Assert(ReferenceEquals(constructedFrom.
ConstructedFrom
, constructedFrom));
444
bool otherIsDeclaration = (object)other == (object)other.
ConstructedFrom
;
Symbols\SymbolExtensions.cs (1)
208
return ((MethodSymbol)symbol).
ConstructedFrom
;
Symbols\TypeMap.cs (3)
147
Debug.Assert(oldOwner.
ConstructedFrom
== oldOwner);
158
Debug.Assert(oldOwner.
ConstructedFrom
== oldOwner);
159
Debug.Assert(stopAt == null || stopAt.
ConstructedFrom
== stopAt);
Symbols\TypeSymbol.cs (5)
1811
implementingMethod.GetFirstLocation(), new FormattedSymbol(implementedMethod.
ConstructedFrom
, SymbolDisplayFormat.MinimallyQualifiedFormat));
1820
new FormattedSymbol(implementedMethod.
ConstructedFrom
, SymbolDisplayFormat.MinimallyQualifiedFormat));
1834
new FormattedSymbol(implementedMethod.
ConstructedFrom
, SymbolDisplayFormat.MinimallyQualifiedFormat));
1844
new FormattedSymbol(implementedMethod.
ConstructedFrom
, SymbolDisplayFormat.MinimallyQualifiedFormat));
2285
Debug.Assert(interfaceMember.Kind != SymbolKind.Method || (object)interfaceMember == ((MethodSymbol)interfaceMember).
ConstructedFrom
);