4 references to TryGetRecordConstructor
Microsoft.DotNet.ApiSymbolExtensions (1)
Filtering\ImplicitSymbolFilter.cs (1)
67if (symbol.ContainingType.TryGetRecordConstructor(out IMethodSymbol? recordConstructor))
Microsoft.DotNet.GenAPI (3)
INamedTypeSymbolExtensions.cs (1)
184if (namedType.IsRecord && namedType.TryGetRecordConstructor(out _))
SyntaxGeneratorExtensions.cs (2)
30if (type.IsRecord && type.TryGetRecordConstructor(out IMethodSymbol? recordConstructor)) 123if (type.BaseType.IsRecord && type.BaseType.TryGetRecordConstructor(out IMethodSymbol? recordConstructor))