14 references to new
ILLink.RoslynAnalyzer (14)
TrimAnalysis\FieldValue.cs (1)
27StaticType = new(fieldType);
TrimAnalysis\HandleCallAction.cs (3)
179AddReturnValue(new SystemTypeValue(new(staticType))); 248yield return new SystemTypeValue(new TypeProxy(nestedType)); 269baseType = new TypeProxy(type.Type.BaseType);
TrimAnalysis\MethodReturnValue.cs (1)
27StaticType = new(isNewObj ? methodSymbol.ContainingType : methodSymbol.ReturnType);
TrimAnalysis\ParameterProxy.cs (2)
49? new TypeProxy(Method.Method.ContainingType) 50: new TypeProxy(Method.Method.Parameters[MetadataIndex].Type);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
45type = 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!)),