You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
if(modelTypeis not null&&config.IncludeBackwardCompatible&&config.LanguageisGenerationLanguage.CSharp&&modelType.Name.EndsWith(suffix,StringComparison.Ordinal))
_ =>thrownewInvalidOperationException("Could not create an obsolete composed type"),
1414
-
};
1415
-
obsoleteComposedType.Name=obsoleteTypeName;
1416
-
obsoleteComposedType.Deprecation=new("This class is obsolete. Use {TypeName} instead.",IsDeprecated:true,TypeReferences:new(){{"TypeName",modelType}});
additionalExecutorMethod.Deprecation=new("This method is obsolete. Use {TypeName} instead.",IsDeprecated:true,TypeReferences:new(){{"TypeName",newCodeType{TypeDefinition=executorMethod,IsExternal=false}}});
prop.Deprecation=new("This property is deprecated, use {TypeName} instead",IsDeprecated:true,TypeReferences:new(){{"TypeName",newCodeType{TypeDefinition=modernProp,IsExternal=false}}});
currentClass.Deprecation=newDeprecationInformation("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.");
CrawlTree(currentElement, x =>RemoveRequestConfigurationClasses(x,configurationParameterTypeUsing,defaultValueForGenericTypeParam,keepRequestConfigurationClass,addDeprecation,usingForDefaultGenericParameter));
1692
+
CrawlTree(currentElement, x =>RemoveRequestConfigurationClasses(x,configurationParameterTypeUsing,defaultValueForGenericTypeParam,usingForDefaultGenericParameter));
privatereadonlyDictionary<Type,object>Writers=[];// we have to type as object because dotnet doesn't have type capture i.e eq for `? extends CodeElement`
0 commit comments