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)
146
if (constraintType.
IsTypeOf
("System", "Enum"))
161
else if (staticType.IsSealed || staticType.
IsTypeOf
("System", "Delegate") || staticType.TypeKind == TypeKind.Array)
180
else if (staticType.
IsTypeOf
("System", "Enum"))
TrimAnalysis\TrimAnalysisVisitor.cs (3)
162
case "EmptyTypes" when field.ContainingType.
IsTypeOf
("System", "Type"):
164
case "ArrayField" when field.ContainingType.
IsTypeOf
("Mono.Linker.Tests.Cases.DataFlow", "WriteArrayField"):
169
case "Empty" when field.ContainingType.
IsTypeOf
("System", "String"):
TrimAnalysis\TypeProxy.cs (1)
35
public bool IsTypeOf(string @namespace, string name) => Type.
IsTypeOf
(@namespace, name);