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