13 references to new
ILLink.RoslynAnalyzer (13)
TrimAnalysis\FieldValue.cs (1)
27StaticType = new(fieldType);
TrimAnalysis\HandleCallAction.cs (3)
181AddReturnValue(new SystemTypeValue(new(staticType))); 250yield return new SystemTypeValue(new TypeProxy(nestedType)); 271baseType = new TypeProxy(type.Type.BaseType);
TrimAnalysis\MethodReturnValue.cs (1)
27StaticType = new(isNewObj ? methodSymbol.ContainingType : methodSymbol.ReturnType);
TrimAnalysis\ParameterProxy.cs (1)
71public TypeProxy ParameterType => new TypeProxy(ParameterSymbol?.Type ?? Method.Method.ContainingType);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
59type = new TypeProxy(foundType);
TrimAnalysis\SingleValueExtensions.cs (6)
22new NullableValueWithDynamicallyAccessedMembers(new TypeProxy(type), 25TypeKind.Error => new SystemTypeValue(new TypeProxy(type)), 27new NullableSystemTypeValue(new TypeProxy(type), new SystemTypeValue(new TypeProxy(underlyingType))), 34SymbolKind.NamedType => new SystemTypeValue(new TypeProxy(type)), 36SymbolKind.ArrayType => new SystemTypeValue(new TypeProxy(type.BaseType!)),