5 references to GetConstructorsOnType
ILLink.RoslynAnalyzer (5)
DataFlow\DynamicallyAccessedMembersBinder.cs (3)
33
foreach (var c in typeDefinition.
GetConstructorsOnType
(filter: null, bindingFlags: BindingFlags.NonPublic))
38
foreach (var c in typeDefinition.
GetConstructorsOnType
(filter: null, bindingFlags: BindingFlags.Public))
43
foreach (var c in typeDefinition.
GetConstructorsOnType
(filter: m => (m.DeclaredAccessibility == Accessibility.Public) && m.Parameters.Length == 0))
TrimAnalysis\ReflectionAccessAnalyzer.cs (2)
76
foreach (var c in typeSymbol.
GetConstructorsOnType
(filter: parameterCount.HasValue ? c => c.Parameters.Length == parameterCount.Value : null, bindingFlags: bindingFlags))
82
foreach (var c in typeSymbol.
GetConstructorsOnType
(filter: m => (m.DeclaredAccessibility == Accessibility.Public) && m.Parameters.Length == 0))