10 references to IsTypeOf
ILLink.RoslynAnalyzer (10)
COMAnalyzer.cs (2)
105
typeSymbol.
IsTypeOf
("System.Text", "StringBuilder"))
121
else if (typeSymbol.
IsTypeOf
("System", "MulticastDelegate"))
ISymbolExtensions.cs (1)
203
if (typeSymbol.
IsTypeOf
(ns, type))
TrimAnalysis\HandleCallAction.cs (3)
149
if (constraintType.
IsTypeOf
("System", "Enum"))
164
else if (staticType.IsSealed || staticType.
IsTypeOf
("System", "Delegate") || staticType.TypeKind == TypeKind.Array)
183
else if (staticType.
IsTypeOf
("System", "Enum"))
TrimAnalysis\TrimAnalysisVisitor.cs (3)
167
case "EmptyTypes" when field.ContainingType.
IsTypeOf
("System", "Type"):
169
case "ArrayField" when field.ContainingType.
IsTypeOf
("Mono.Linker.Tests.Cases.DataFlow", "WriteArrayField"):
174
case "Empty" when field.ContainingType.
IsTypeOf
("System", "String"):
TrimAnalysis\TypeProxy.cs (1)
35
public bool IsTypeOf(string @namespace, string name) => Type.
IsTypeOf
(@namespace, name);