5 references to ConstructIfGeneric
Microsoft.CodeAnalysis.CSharp (5)
Lowering\MethodToClassRewriter.cs (1)
649.ConstructIfGeneric(TypeMap.SubstituteTypes(method.TypeArgumentsWithAnnotations));
Symbols\ReducedExtensionMethodSymbol.cs (1)
243get { return _reducedFrom.ConstructIfGeneric(_typeArguments); }
Symbols\Source\CustomModifierUtils.cs (1)
40MethodSymbol constructedSourceMethod = sourceMethod.ConstructIfGeneric(destinationMethod.TypeArgumentsWithAnnotations);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
478MethodSymbol constructedDefinition = definition.ConstructIfGeneric(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(implementation.TypeParameters));
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
48_interfaceMethod = interfaceMethod.ConstructIfGeneric(TypeArgumentsWithAnnotations);