diff --git a/src/ProxyInterfaceSourceGenerator/Constants.cs b/src/ProxyInterfaceSourceGenerator/Constants.cs new file mode 100644 index 0000000..178fd48 --- /dev/null +++ b/src/ProxyInterfaceSourceGenerator/Constants.cs @@ -0,0 +1,6 @@ +namespace ProxyInterfaceSourceGenerator; + +internal static class Constants +{ + internal const string GlobalPrefix = "global::"; +} diff --git a/src/ProxyInterfaceSourceGenerator/Extensions/ParameterSymbolExtensions.cs b/src/ProxyInterfaceSourceGenerator/Extensions/ParameterSymbolExtensions.cs index 8b45c7e..d3c8101 100644 --- a/src/ProxyInterfaceSourceGenerator/Extensions/ParameterSymbolExtensions.cs +++ b/src/ProxyInterfaceSourceGenerator/Extensions/ParameterSymbolExtensions.cs @@ -47,7 +47,7 @@ public static string GetDefaultValue(this IParameterSymbol ps) { defaultValue = ps.Type.IsReferenceType ? ParameterValueNull : // The parameter is a ReferenceType, so use "null". - $"default({ps.Type})"; // The parameter is not a ReferenceType, so use "default(T)". + $"default({Constants.GlobalPrefix}{ps.Type})"; // The parameter is not a ReferenceType, so use "default(T)". } } else diff --git a/src/ProxyInterfaceSourceGenerator/Extensions/SymbolExtensions.cs b/src/ProxyInterfaceSourceGenerator/Extensions/SymbolExtensions.cs index cbf5c74..9c62a55 100644 --- a/src/ProxyInterfaceSourceGenerator/Extensions/SymbolExtensions.cs +++ b/src/ProxyInterfaceSourceGenerator/Extensions/SymbolExtensions.cs @@ -17,11 +17,53 @@ public static IReadOnlyList GetAttributesAsList(this ISymbol symbol) { return symbol .GetAttributes() - .Where(a => a.AttributeClass.IsPublic() && !ExcludedAttributes.Contains(a.AttributeClass?.ToString(), StringComparer.OrdinalIgnoreCase)) - .Select(a => $"[{a}]") + .Where(a => a.AttributeClass.IsPublic() && !ExcludedAttributes.Contains(a.AttributeClass!.ToString(), StringComparer.OrdinalIgnoreCase)) + .Select(a => + { + var sb = new StringBuilder(); + sb.Append($"[{a.AttributeClass!.ToFullyQualifiedDisplayString()}"); + + var args = a.ConstructorArguments.Select(FormatAttributeArgument).ToList(); + args.AddRange(a.NamedArguments.Select(kvp => $"{kvp.Key} = {FormatAttributeArgument(kvp.Value)}")); + + if (args.Count > 0) + { + sb.Append($"({string.Join(", ", args)})"); + } + + sb.Append("]"); + return sb.ToString(); + }) .ToArray(); } + private static string FormatAttributeArgument(TypedConstant arg) + { + if (arg.IsNull) + { + return "null"; + } + + if (arg.Kind == TypedConstantKind.Type) + { + return $"typeof({Constants.GlobalPrefix}{arg.Value})"; + } + + if (arg.Kind == TypedConstantKind.Enum) + { + var enumType = arg.Type; + if (enumType is null) + { + return arg.Value?.ToString() ?? string.Empty; + } + + var member = enumType.GetMembers().OfType().FirstOrDefault(f => f.ConstantValue is not null && f.ConstantValue.Equals(arg.Value)); + return $"{enumType.ToFullyQualifiedDisplayString()}.{member?.Name ?? arg.Value?.ToString()}"; + } + + return arg.ToCSharpString(); + } + public static string GetAttributesPrefix(this ISymbol symbol) { var attributes = symbol.GetAttributesAsList(); diff --git a/src/ProxyInterfaceSourceGenerator/FileGenerators/BaseGenerator.cs b/src/ProxyInterfaceSourceGenerator/FileGenerators/BaseGenerator.cs index 681b699..35b4de5 100644 --- a/src/ProxyInterfaceSourceGenerator/FileGenerators/BaseGenerator.cs +++ b/src/ProxyInterfaceSourceGenerator/FileGenerators/BaseGenerator.cs @@ -190,7 +190,7 @@ private void TryAddDirect(string typeSymbolAsString, ProxyData existing) var found = Context.ReplacedTypes.FirstOrDefault(r => r.Direct && r.ClassType == typeSymbolAsString); if (found == null) { - var proxy = $"global::{existing.NamespaceDot}{existing.ShortMetadataName}Proxy"; // global::ProxyInterfaceSourceGeneratorTests.Source.TimeProviderProxy + var proxy = $"{Constants.GlobalPrefix}{existing.NamespaceDot}{existing.ShortMetadataName}Proxy"; // global::ProxyInterfaceSourceGeneratorTests.Source.TimeProviderProxy Context.ReplacedTypes.Add(new(typeSymbolAsString, existing.FullInterfaceName, string.Empty, string.Empty, proxy, true)); } } @@ -198,10 +198,9 @@ private void TryAddDirect(string typeSymbolAsString, ProxyData existing) protected bool TryGetNamedTypeSymbolByFullName(TypeKind kind, string name, IEnumerable usings, [NotNullWhen(true)] out ClassSymbol? classSymbol) { classSymbol = default; - const string globalPrefix = "global::"; - if (name.StartsWith(globalPrefix, StringComparison.Ordinal)) + if (name.StartsWith(Constants.GlobalPrefix, StringComparison.Ordinal)) { - name = name.Substring(globalPrefix.Length); + name = name.Substring(Constants.GlobalPrefix.Length); } // The GetTypeByMetadataName method returns null if no type matches the full name or if 2 or more types (in different assemblies) match the full name. diff --git a/src/ProxyInterfaceSourceGenerator/FileGenerators/ProxyClassesGenerator.cs b/src/ProxyInterfaceSourceGenerator/FileGenerators/ProxyClassesGenerator.cs index ed01fe1..327d2c6 100644 --- a/src/ProxyInterfaceSourceGenerator/FileGenerators/ProxyClassesGenerator.cs +++ b/src/ProxyInterfaceSourceGenerator/FileGenerators/ProxyClassesGenerator.cs @@ -68,7 +68,7 @@ private string CreateProxyClassCode( if (firstExtends is not null) { - extends = $"global::{firstExtends.NamespaceDot}{firstExtends.ShortMetadataName}Proxy, "; + extends = $"{Constants.GlobalPrefix}{firstExtends.NamespaceDot}{firstExtends.ShortMetadataName}Proxy, "; @base = " : base(instance)"; @new = "new "; instanceBaseDefinition = $"public {firstExtends.FullQualifiedTypeName} _Instance{firstExtends.FullQualifiedTypeName.GetLastPart()} {{ get; }}"; diff --git a/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/AttributeArgumentListParser.cs b/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/AttributeArgumentListParser.cs index 2ea48d5..7d53ee8 100644 --- a/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/AttributeArgumentListParser.cs +++ b/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/AttributeArgumentListParser.cs @@ -41,7 +41,7 @@ public static ProxyInterfaceGeneratorAttributeArguments Parse(AttributeSyntax? a } else { - throw new ArgumentException("The first argument from the ProxyAttribute should be a Type."); + throw new ArgumentException("The first argument from the ProxyAttribute should be a valid resolvable Type."); } var array = attributeSyntax.ArgumentList?.Arguments.ToArray() ?? []; @@ -129,6 +129,14 @@ private static bool TryParseAsType( } var typeInfo = semanticModel.GetTypeInfo(typeSyntax); + + if (typeInfo.Type is IErrorTypeSymbol) + { + // The Roslyn compiler could not resolve the type represented by typeSyntax. + // There was an error in the code being analyzed, the type doesn't exist or cannot be resolved in the current context. + return false; + } + var typeSymbol = typeInfo.Type!; info = new(typeSymbol.ToFullyQualifiedDisplayString(), typeSymbol.GetFullMetadataName(), isGeneric); diff --git a/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/ProxySyntaxReceiver.cs b/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/ProxySyntaxReceiver.cs index 1f61a77..565c5d5 100644 --- a/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/ProxySyntaxReceiver.cs +++ b/src/ProxyInterfaceSourceGenerator/SyntaxReceiver/ProxySyntaxReceiver.cs @@ -8,7 +8,6 @@ namespace ProxyInterfaceSourceGenerator.SyntaxReceiver; internal class ProxySyntaxReceiver : ISyntaxContextReceiver { - private const string GlobalPrefix = "global::"; private static readonly string[] Modifiers = ["public", "partial"]; public IDictionary CandidateInterfaces { get; } = new Dictionary(); @@ -65,7 +64,7 @@ private static bool TryGet(InterfaceDeclarationSyntax interfaceDeclarationSyntax var fluentBuilderAttributeArguments = AttributeArgumentListParser.Parse(attributeList.Attributes.FirstOrDefault(), semanticModel); var metadataName = fluentBuilderAttributeArguments.MetadataName; - var globalNamespace = string.IsNullOrEmpty(ns) ? string.Empty : $"{GlobalPrefix}{ns}"; + var globalNamespace = string.IsNullOrEmpty(ns) ? string.Empty : $"{Constants.GlobalPrefix}{ns}"; var namespaceDot = string.IsNullOrEmpty(ns) ? string.Empty : $"{ns}."; data = new ProxyData( diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientObjectProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientObjectProxy.g.cs index 9863dd8..771201f 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientObjectProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientObjectProxy.g.cs @@ -43,25 +43,25 @@ public partial class ClientObjectProxy : global::ProxyInterfaceSourceGeneratorTe public object Tag { get => _Instance.Tag; set => _Instance.Tag = value; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public global::Microsoft.SharePoint.Client.ObjectPath Path { get => _Instance.Path; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public string ObjectVersion { get => _Instance.ObjectVersion; set => _Instance.ObjectVersion = value; } - [Microsoft.SharePoint.Client.PseudoRemoteAttribute] + [global::Microsoft.SharePoint.Client.PseudoRemoteAttribute] public bool? ServerObjectIsNull { get => _Instance.ServerObjectIsNull; } public global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject TypedObject { get => MapToInterface(_Instance.TypedObject); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public virtual void FromJson(global::Microsoft.SharePoint.Client.JsonReader reader) { global::Microsoft.SharePoint.Client.JsonReader reader_ = reader; _Instance.FromJson(reader_); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public virtual bool CustomFromJson(global::Microsoft.SharePoint.Client.JsonReader reader) { global::Microsoft.SharePoint.Client.JsonReader reader_ = reader; @@ -69,13 +69,13 @@ public virtual bool CustomFromJson(global::Microsoft.SharePoint.Client.JsonReade return result__636829107; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public void Retrieve() { _Instance.Retrieve(); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public void Retrieve(params string[] propertyNames) { string[] propertyNames_ = propertyNames; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientRuntimeContextProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientRuntimeContextProxy.g.cs index 31dd1b1..8725e81 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientRuntimeContextProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.ClientRuntimeContextProxy.g.cs @@ -83,7 +83,7 @@ public partial class ClientRuntimeContextProxy : global::ProxyInterfaceSourceGen public int RequestTimeout { get => _Instance.RequestTimeout; set => _Instance.RequestTimeout = value; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public global::System.Collections.Generic.Dictionary StaticObjects { get => _Instance.StaticObjects; } public global::System.Version ServerSchemaVersion { get => _Instance.ServerSchemaVersion; } @@ -125,14 +125,14 @@ public T CastTo(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClient return result_366781530; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public void AddQuery(global::Microsoft.SharePoint.Client.ClientAction query) { global::Microsoft.SharePoint.Client.ClientAction query_ = query; _Instance.AddQuery(query_); } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] public void AddQueryIdAndResultObject(long id, object obj) { long id_ = id; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.SecurableObjectProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.SecurableObjectProxy.g.cs index feb1889..ba07238 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.SecurableObjectProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.SecurableObjectProxy.g.cs @@ -49,22 +49,22 @@ public partial class SecurableObjectProxy : global::ProxyInterfaceSourceGenerato public new global::Microsoft.SharePoint.Client.SecurableObject _Instance { get; } public global::Microsoft.SharePoint.Client.ClientObject _InstanceClientObject { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject FirstUniqueAncestorSecurableObject { get => MapToInterface(_Instance.FirstUniqueAncestorSecurableObject); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool HasUniqueRoleAssignments { get => _Instance.HasUniqueRoleAssignments; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RoleAssignmentCollection RoleAssignments { get => _Instance.RoleAssignments; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public virtual void ResetRoleInheritance() { _Instance.ResetRoleInheritance(); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public virtual void BreakRoleInheritance(bool copyRoleAssignments, bool clearSubscopes) { bool copyRoleAssignments_ = copyRoleAssignments; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.WebProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.WebProxy.g.cs index bf9f02a..246a1ee 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.WebProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/Microsoft.SharePoint.Client.WebProxy.g.cs @@ -59,427 +59,427 @@ public partial class WebProxy : global::ProxyInterfaceSourceGeneratorTests.Sourc public new global::Microsoft.SharePoint.Client.Web _Instance { get; } public global::Microsoft.SharePoint.Client.SecurableObject _InstanceSecurableObject { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string AccessRequestListUrl { get => _Instance.AccessRequestListUrl; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string AccessRequestSiteDescription { get => _Instance.AccessRequestSiteDescription; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string Acronym { get => _Instance.Acronym; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AlertCollection Alerts { get => _Instance.Alerts; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowAutomaticASPXPageIndexing { get => _Instance.AllowAutomaticASPXPageIndexing; set => _Instance.AllowAutomaticASPXPageIndexing = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowCreateDeclarativeWorkflowForCurrentUser { get => _Instance.AllowCreateDeclarativeWorkflowForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowDesignerForCurrentUser { get => _Instance.AllowDesignerForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowMasterPageEditingForCurrentUser { get => _Instance.AllowMasterPageEditingForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowRevertFromTemplateForCurrentUser { get => _Instance.AllowRevertFromTemplateForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowRssFeeds { get => _Instance.AllowRssFeeds; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser { get => _Instance.AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool AllowSavePublishDeclarativeWorkflowForCurrentUser { get => _Instance.AllowSavePublishDeclarativeWorkflowForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PropertyValues AllProperties { get => _Instance.AllProperties; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string AlternateCssUrl { get => _Instance.AlternateCssUrl; set => _Instance.AlternateCssUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Guid AppInstanceId { get => _Instance.AppInstanceId; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AppTileCollection AppTiles { get => _Instance.AppTiles; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Group AssociatedMemberGroup { get => _Instance.AssociatedMemberGroup; set => _Instance.AssociatedMemberGroup = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Group AssociatedOwnerGroup { get => _Instance.AssociatedOwnerGroup; set => _Instance.AssociatedOwnerGroup = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Group AssociatedVisitorGroup { get => _Instance.AssociatedVisitorGroup; set => _Instance.AssociatedVisitorGroup = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User Author { get => _Instance.Author; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ContentTypeCollection AvailableContentTypes { get => _Instance.AvailableContentTypes; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FieldCollection AvailableFields { get => _Instance.AvailableFields; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ModernizeHomepageResult CanModernizeHomepage { get => _Instance.CanModernizeHomepage; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string ClassicWelcomePage { get => _Instance.ClassicWelcomePage; set => _Instance.ClassicWelcomePage = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool CommentsOnSitePagesDisabled { get => _Instance.CommentsOnSitePagesDisabled; set => _Instance.CommentsOnSitePagesDisabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public short Configuration { get => _Instance.Configuration; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool ContainsConfidentialInfo { get => _Instance.ContainsConfidentialInfo; set => _Instance.ContainsConfidentialInfo = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ContentTypeCollection ContentTypes { get => _Instance.ContentTypes; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.DateTime Created { get => _Instance.Created; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ChangeToken CurrentChangeToken { get => _Instance.CurrentChangeToken; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User CurrentUser { get => _Instance.CurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string CustomMasterUrl { get => _Instance.CustomMasterUrl; set => _Instance.CustomMasterUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool CustomSiteActionsDisabled { get => _Instance.CustomSiteActionsDisabled; set => _Instance.CustomSiteActionsDisabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SPDataLeakagePreventionStatusInfo DataLeakagePreventionStatusInfo { get => _Instance.DataLeakagePreventionStatusInfo; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string Description { get => _Instance.Description; set => _Instance.Description = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string DescriptionForExistingLanguage { get => _Instance.DescriptionForExistingLanguage; set => _Instance.DescriptionForExistingLanguage = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.UserResource DescriptionResource { get => _Instance.DescriptionResource; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Collections.Generic.IEnumerable DescriptionTranslations { get => _Instance.DescriptionTranslations; set => _Instance.DescriptionTranslations = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string DesignerDownloadUrlForCurrentUser { get => _Instance.DesignerDownloadUrlForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Guid DesignPackageId { get => _Instance.DesignPackageId; set => _Instance.DesignPackageId = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool DisableAppViews { get => _Instance.DisableAppViews; set => _Instance.DisableAppViews = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool DisableFlows { get => _Instance.DisableFlows; set => _Instance.DisableFlows = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool DisableRecommendedItems { get => _Instance.DisableRecommendedItems; set => _Instance.DisableRecommendedItems = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool DocumentLibraryCalloutOfficeWebAppPreviewersDisabled { get => _Instance.DocumentLibraryCalloutOfficeWebAppPreviewersDisabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.BasePermissions EffectiveBasePermissions { get => _Instance.EffectiveBasePermissions; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool EnableMinimalDownload { get => _Instance.EnableMinimalDownload; set => _Instance.EnableMinimalDownload = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.EventReceiverDefinitionCollection EventReceivers { get => _Instance.EventReceivers; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool ExcludeFromOfflineClient { get => _Instance.ExcludeFromOfflineClient; set => _Instance.ExcludeFromOfflineClient = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FeatureCollection Features { get => _Instance.Features; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FieldCollection Fields { get => _Instance.Fields; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FolderCollection Folders { get => _Instance.Folders; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public int FooterColorIndexInDarkMode { get => _Instance.FooterColorIndexInDarkMode; set => _Instance.FooterColorIndexInDarkMode = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public int FooterColorIndexInLightMode { get => _Instance.FooterColorIndexInLightMode; set => _Instance.FooterColorIndexInLightMode = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FooterVariantThemeType FooterEmphasis { get => _Instance.FooterEmphasis; set => _Instance.FooterEmphasis = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool FooterEnabled { get => _Instance.FooterEnabled; set => _Instance.FooterEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.FooterLayoutType FooterLayout { get => _Instance.FooterLayout; set => _Instance.FooterLayout = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool HasWebTemplateExtension { get => _Instance.HasWebTemplateExtension; set => _Instance.HasWebTemplateExtension = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public int HeaderColorIndexInDarkMode { get => _Instance.HeaderColorIndexInDarkMode; set => _Instance.HeaderColorIndexInDarkMode = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public int HeaderColorIndexInLightMode { get => _Instance.HeaderColorIndexInLightMode; set => _Instance.HeaderColorIndexInLightMode = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SPVariantThemeType HeaderEmphasis { get => _Instance.HeaderEmphasis; set => _Instance.HeaderEmphasis = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.HeaderLayoutType HeaderLayout { get => _Instance.HeaderLayout; set => _Instance.HeaderLayout = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool HideTitleInHeader { get => _Instance.HideTitleInHeader; set => _Instance.HideTitleInHeader = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool HorizontalQuickLaunch { get => _Instance.HorizontalQuickLaunch; set => _Instance.HorizontalQuickLaunch = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.ClientSideComponent.HostedAppsManager HostedApps { get => _Instance.HostedApps; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Guid Id { get => _Instance.Id; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsEduClass { get => _Instance.IsEduClass; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsEduClassProvisionChecked { get => _Instance.IsEduClassProvisionChecked; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsEduClassProvisionPending { get => _Instance.IsEduClassProvisionPending; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsHomepageModernized { get => _Instance.IsHomepageModernized; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsMultilingual { get => _Instance.IsMultilingual; set => _Instance.IsMultilingual = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsProvisioningComplete { get => _Instance.IsProvisioningComplete; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool IsRevertHomepageLinkHidden { get => _Instance.IsRevertHomepageLinkHidden; set => _Instance.IsRevertHomepageLinkHidden = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public uint Language { get => _Instance.Language; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.DateTime LastItemModifiedDate { get => _Instance.LastItemModifiedDate; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.DateTime LastItemUserModifiedDate { get => _Instance.LastItemUserModifiedDate; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListCollection Lists { get => _Instance.Lists; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListTemplateCollection ListTemplates { get => _Instance.ListTemplates; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.LogoAlignment LogoAlignment { get => _Instance.LogoAlignment; set => _Instance.LogoAlignment = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string MasterUrl { get => _Instance.MasterUrl; set => _Instance.MasterUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool MegaMenuEnabled { get => _Instance.MegaMenuEnabled; set => _Instance.MegaMenuEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool MembersCanShare { get => _Instance.MembersCanShare; set => _Instance.MembersCanShare = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool NavAudienceTargetingEnabled { get => _Instance.NavAudienceTargetingEnabled; set => _Instance.NavAudienceTargetingEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Navigation Navigation { get => _Instance.Navigation; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool NextStepsFirstRunEnabled { get => _Instance.NextStepsFirstRunEnabled; set => _Instance.NextStepsFirstRunEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool NoCrawl { get => _Instance.NoCrawl; set => _Instance.NoCrawl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool NotificationsInOneDriveForBusinessEnabled { get => _Instance.NotificationsInOneDriveForBusinessEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool NotificationsInSharePointEnabled { get => _Instance.NotificationsInSharePointEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool ObjectCacheEnabled { get => _Instance.ObjectCacheEnabled; set => _Instance.ObjectCacheEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool OverwriteTranslationsOnChange { get => _Instance.OverwriteTranslationsOnChange; set => _Instance.OverwriteTranslationsOnChange = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.WebInformation ParentWeb { get => _Instance.ParentWeb; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ResourcePath ResourcePath { get => _Instance.ResourcePath; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool PreviewFeaturesEnabled { get => _Instance.PreviewFeaturesEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string PrimaryColor { get => _Instance.PrimaryColor; set => _Instance.PrimaryColor = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection PushNotificationSubscribers { get => _Instance.PushNotificationSubscribers; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool QuickLaunchEnabled { get => _Instance.QuickLaunchEnabled; set => _Instance.QuickLaunchEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RecycleBinItemCollection RecycleBin { get => _Instance.RecycleBin; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool RecycleBinEnabled { get => _Instance.RecycleBinEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RegionalSettings RegionalSettings { get => _Instance.RegionalSettings; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string RelatedHubSiteIds { get => _Instance.RelatedHubSiteIds; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string RequestAccessEmail { get => _Instance.RequestAccessEmail; set => _Instance.RequestAccessEmail = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RoleDefinitionCollection RoleDefinitions { get => _Instance.RoleDefinitions; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Folder RootFolder { get => _Instance.RootFolder; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool SaveSiteAsTemplateEnabled { get => _Instance.SaveSiteAsTemplateEnabled; set => _Instance.SaveSiteAsTemplateEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SearchBoxInNavBarType SearchBoxInNavBar { get => _Instance.SearchBoxInNavBar; set => _Instance.SearchBoxInNavBar = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string SearchBoxPlaceholderText { get => _Instance.SearchBoxPlaceholderText; set => _Instance.SearchBoxPlaceholderText = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SearchScopeType SearchScope { get => _Instance.SearchScope; set => _Instance.SearchScope = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ResourcePath ServerRelativePath { get => _Instance.ServerRelativePath; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string ServerRelativeUrl { get => _Instance.ServerRelativeUrl; set => _Instance.ServerRelativeUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool ShowUrlStructureForCurrentUser { get => _Instance.ShowUrlStructureForCurrentUser; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor SiteCollectionAppCatalog { get => _Instance.SiteCollectionAppCatalog; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.GroupCollection SiteGroups { get => _Instance.SiteGroups; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string SiteLogoDescription { get => _Instance.SiteLogoDescription; set => _Instance.SiteLogoDescription = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string SiteLogoUrl { get => _Instance.SiteLogoUrl; set => _Instance.SiteLogoUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List SiteUserInfoList { get => _Instance.SiteUserInfoList; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.UserCollection SiteUsers { get => _Instance.SiteUsers; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Collections.Generic.IEnumerable SupportedUILanguageIds { get => _Instance.SupportedUILanguageIds; set => _Instance.SupportedUILanguageIds = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool SyndicationEnabled { get => _Instance.SyndicationEnabled; set => _Instance.SyndicationEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SharingState TenantAdminMembersCanShare { get => _Instance.TenantAdminMembersCanShare; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.TenantCorporateCatalogAccessor TenantAppCatalog { get => _Instance.TenantAppCatalog; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool TenantTagPolicyEnabled { get => _Instance.TenantTagPolicyEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string ThemeApplicationActionHistory { get => _Instance.ThemeApplicationActionHistory; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string ThemedCssFolderUrl { get => _Instance.ThemedCssFolderUrl; set => _Instance.ThemedCssFolderUrl = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ThemeInfo ThemeInfo { get => _Instance.ThemeInfo; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool ThirdPartyMdmEnabled { get => _Instance.ThirdPartyMdmEnabled; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string Title { get => _Instance.Title; set => _Instance.Title = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string TitleForExistingLanguage { get => _Instance.TitleForExistingLanguage; set => _Instance.TitleForExistingLanguage = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.UserResource TitleResource { get => _Instance.TitleResource; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Collections.Generic.IEnumerable TitleTranslations { get => _Instance.TitleTranslations; set => _Instance.TitleTranslations = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool TreeViewEnabled { get => _Instance.TreeViewEnabled; set => _Instance.TreeViewEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public int UIVersion { get => _Instance.UIVersion; set => _Instance.UIVersion = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool UIVersionConfigurationEnabled { get => _Instance.UIVersionConfigurationEnabled; set => _Instance.UIVersionConfigurationEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string Url { get => _Instance.Url; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool UseAccessRequestDefault { get => _Instance.UseAccessRequestDefault; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.UserCustomActionCollection UserCustomActions { get => _Instance.UserCustomActions; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.WebCollection Webs { get => _Instance.Webs; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string WebTemplate { get => _Instance.WebTemplate; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string WebTemplateConfiguration { get => _Instance.WebTemplateConfiguration; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public bool WebTemplatesGalleryFirstRunEnabled { get => _Instance.WebTemplatesGalleryFirstRunEnabled; set => _Instance.WebTemplatesGalleryFirstRunEnabled = value; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public string WelcomePage { get => _Instance.WelcomePage; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Workflow.WorkflowAssociationCollection WorkflowAssociations { get => _Instance.WorkflowAssociations; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Workflow.WorkflowTemplateCollection WorkflowTemplates { get => _Instance.WorkflowTemplates; } public global::System.Uri WebUrlFromPageUrlDirect(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientContext context, global::System.Uri pageFullUrl) @@ -498,7 +498,7 @@ public partial class WebProxy : global::ProxyInterfaceSourceGeneratorTests.Sourc return result_21992317; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult DoesUserHavePermissions(global::Microsoft.SharePoint.Client.BasePermissions permissionMask) { global::Microsoft.SharePoint.Client.BasePermissions permissionMask_ = permissionMask; @@ -506,7 +506,7 @@ public partial class WebProxy : global::ProxyInterfaceSourceGeneratorTests.Sourc return result_563212462; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetUserEffectivePermissions(string userName) { string userName_ = userName; @@ -514,7 +514,7 @@ public partial class WebProxy : global::ProxyInterfaceSourceGeneratorTests.Sourc return result__615383406; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void CreateDefaultAssociatedGroups(string userLogin, string userLogin2, string groupNameSeed) { string userLogin_ = userLogin; @@ -523,7 +523,7 @@ public void CreateDefaultAssociatedGroups(string userLogin, string userLogin2, s _Instance.CreateDefaultAssociatedGroups(userLogin_, userLogin2_, groupNameSeed_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PushNotificationSubscriber RegisterPushNotificationSubscriber(global::System.Guid deviceAppInstanceId, string serviceToken) { global::System.Guid deviceAppInstanceId_ = deviceAppInstanceId; @@ -532,14 +532,14 @@ public void CreateDefaultAssociatedGroups(string userLogin, string userLogin2, s return result__117534630; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppInstanceId) { global::System.Guid deviceAppInstanceId_ = deviceAppInstanceId; _Instance.UnregisterPushNotificationSubscriber(deviceAppInstanceId_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection GetPushNotificationSubscribersByArgs(string customArgs) { string customArgs_ = customArgs; @@ -547,7 +547,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result_144086076; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(string userName) { string userName_ = userName; @@ -555,7 +555,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__1280834962; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult DoesPushNotificationSubscriberExist(global::System.Guid deviceAppInstanceId) { global::System.Guid deviceAppInstanceId_ = deviceAppInstanceId; @@ -563,7 +563,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__1309404561; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.PushNotificationSubscriber GetPushNotificationSubscriber(global::System.Guid deviceAppInstanceId) { global::System.Guid deviceAppInstanceId_ = deviceAppInstanceId; @@ -571,7 +571,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result_1696633571; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SPLargeOperation GetListOperation(global::System.Guid listId, global::System.Guid operationId) { global::System.Guid listId_ = listId; @@ -580,7 +580,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__974677391; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User GetSiteUserIncludingDeletedByPuid(string puid) { string puid_ = puid; @@ -588,7 +588,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__1448181221; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User GetUserById(int userId) { int userId_ = userId; @@ -596,7 +596,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__963170767; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult EnsureTenantAppCatalog(string callerId) { string callerId_ = callerId; @@ -604,7 +604,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__1044639826; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.ClientSideComponent.StorageEntity GetStorageEntity(string key) { string key_ = key; @@ -612,7 +612,7 @@ public void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppIn return result__1529029872; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void SetStorageEntity(string key, string value, string description, string comments) { string key_ = key; @@ -622,14 +622,14 @@ public void SetStorageEntity(string key, string value, string description, strin _Instance.SetStorageEntity(key_, value_, description_, comments_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void RemoveStorageEntity(string key) { string key_ = key; _Instance.RemoveStorageEntity(key_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SharingResult ShareObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, string peoplePickerInput, string roleValue, int groupId, bool propagateAcl, bool sendEmail, bool includeAnonymousLinkInEmail, string emailSubject, string emailBody, bool useSimplifiedRoles) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -647,7 +647,7 @@ public void RemoveStorageEntity(string key) return result_816157054; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SharingResult ForwardObjectLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, string peoplePickerInput, string emailSubject, string emailBody) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -659,7 +659,7 @@ public void RemoveStorageEntity(string key) return result__1822800612; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.SharingResult UnshareObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -668,7 +668,7 @@ public void RemoveStorageEntity(string key) return result__823224569; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ObjectSharingSettings GetObjectSharingSettings(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string objectUrl, int groupId, bool useSimplifiedRoles) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -679,7 +679,7 @@ public void RemoveStorageEntity(string key) return result__679475674; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult CreateAnonymousLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -689,7 +689,7 @@ public void RemoveStorageEntity(string key) return result__820192309; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult CreateAnonymousLinkWithExpiration(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, string expirationString) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -700,7 +700,7 @@ public void RemoveStorageEntity(string key) return result__1044574026; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void DeleteAllAnonymousLinksForObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -708,7 +708,7 @@ public void DeleteAllAnonymousLinksForObject(global::ProxyInterfaceSourceGenerat global::Microsoft.SharePoint.Client.Web.DeleteAllAnonymousLinksForObject(context_, url_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void DeleteAnonymousLinkForObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, bool removeAssociatedSharingLinkGroup) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -718,7 +718,7 @@ public void DeleteAnonymousLinkForObject(global::ProxyInterfaceSourceGeneratorTe global::Microsoft.SharePoint.Client.Web.DeleteAnonymousLinkForObject(context_, url_, isEditLink_, removeAssociatedSharingLinkGroup_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult CreateOrganizationSharingLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -728,7 +728,7 @@ public void DeleteAnonymousLinkForObject(global::ProxyInterfaceSourceGeneratorTe return result_2070260011; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, bool removeAssociatedSharingLinkGroup) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -738,7 +738,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator global::Microsoft.SharePoint.Client.Web.DestroyOrganizationSharingLink(context_, url_, isEditLink_, removeAssociatedSharingLinkGroup_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetSharingLinkKind(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string fileUrl) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -747,7 +747,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_654626020; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetSharingLinkData(string linkUrl) { string linkUrl_ = linkUrl; @@ -755,7 +755,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__2107757018; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult MapToIcon(string fileName, string progId, global::Microsoft.SharePoint.Client.Utilities.IconSize size) { string fileName_ = fileName; @@ -765,7 +765,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_384589064; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetWebUrlFromPageUrl(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string pageFullUrl) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -774,7 +774,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__907059837; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListCollection GetLists(global::Microsoft.SharePoint.Client.GetListsParameters getListsParams) { global::Microsoft.SharePoint.Client.GetListsParameters getListsParams_ = getListsParams; @@ -782,7 +782,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1293372807; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.WebTemplateCollection GetAvailableWebTemplates(uint lcid, bool doIncludeCrossLanguage) { uint lcid_ = lcid; @@ -791,7 +791,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1052443476; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List GetCatalog(int typeCatalog) { int typeCatalog_ = typeCatalog; @@ -799,7 +799,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1458409307; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RecycleBinItemCollection GetRecycleBinItems(string pagingInfo, int rowLimit, bool isAscending, global::Microsoft.SharePoint.Client.RecycleBinOrderBy orderBy, global::Microsoft.SharePoint.Client.RecycleBinItemState itemState) { string pagingInfo_ = pagingInfo; @@ -811,7 +811,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_694026616; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.RecycleBinItemCollection GetRecycleBinItemsByQueryInfo(global::Microsoft.SharePoint.Client.RecycleBinQueryInformation queryInfo) { global::Microsoft.SharePoint.Client.RecycleBinQueryInformation queryInfo_ = queryInfo; @@ -819,7 +819,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1467955603; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ChangeCollection GetChanges(global::Microsoft.SharePoint.Client.ChangeQuery query) { global::Microsoft.SharePoint.Client.ChangeQuery query_ = query; @@ -827,7 +827,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_536201347; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List GetList(string strUrl) { string strUrl_ = strUrl; @@ -835,7 +835,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1483657030; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List GetListByTitle(string title) { string title_ = title; @@ -843,7 +843,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__905194449; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List GetListUsingPath(global::Microsoft.SharePoint.Client.ResourcePath path) { global::Microsoft.SharePoint.Client.ResourcePath path_ = path; @@ -851,7 +851,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__2113955437; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListItem GetListItem(string strUrl) { string strUrl_ = strUrl; @@ -859,7 +859,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_101515089; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListItem GetListItemUsingPath(global::Microsoft.SharePoint.Client.ResourcePath path) { global::Microsoft.SharePoint.Client.ResourcePath path_ = path; @@ -867,7 +867,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__577192176; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ListItem GetListItemByResourceId(string resourceId) { string resourceId_ = resourceId; @@ -875,7 +875,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_569057021; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.BusinessData.MetadataModel.Entity GetEntity(string @namespace, string name) { string @namespace_ = @namespace; @@ -884,7 +884,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_401289025; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.BusinessData.MetadataModel.AppBdcCatalog GetAppBdcCatalogForAppInstance(global::System.Guid appInstanceId) { global::System.Guid appInstanceId_ = appInstanceId; @@ -892,14 +892,14 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1179378574; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.BusinessData.MetadataModel.AppBdcCatalog GetAppBdcCatalog() { var result__1128404427 = _Instance.GetAppBdcCatalog(); return result__1128404427; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.WebCollection GetSubwebsForCurrentUser(global::Microsoft.SharePoint.Client.SubwebQuery query) { global::Microsoft.SharePoint.Client.SubwebQuery query_ = query; @@ -907,21 +907,21 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__34039800; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetSPAppContextAsStream() { var result_127789125 = _Instance.GetSPAppContextAsStream(); return result_127789125; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.List DefaultDocumentLibrary() { var result_69743263 = _Instance.DefaultDocumentLibrary(); return result_69743263; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileById(global::System.Guid uniqueId) { global::System.Guid uniqueId_ = uniqueId; @@ -929,7 +929,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__223228596; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Folder GetFolderById(global::System.Guid uniqueId) { global::System.Guid uniqueId_ = uniqueId; @@ -937,7 +937,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__2111623002; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByLinkingUrl(string linkingUrl) { string linkingUrl_ = linkingUrl; @@ -945,7 +945,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__104450524; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByGuestUrl(string guestUrl) { string guestUrl_ = guestUrl; @@ -953,7 +953,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1819257688; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByGuestUrlEnsureAccess(string guestUrl, bool ensureAccess) { string guestUrl_ = guestUrl; @@ -962,7 +962,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__323239372; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByWOPIFrameUrl(string wopiFrameUrl) { string wopiFrameUrl_ = wopiFrameUrl; @@ -970,7 +970,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1184208158; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByStreamFrameUrl(string streamFrameUrl) { string streamFrameUrl_ = streamFrameUrl; @@ -978,7 +978,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1134663791; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByUrl(string fileUrl) { string fileUrl_ = fileUrl; @@ -986,7 +986,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__84028506; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Folder GetFolderByServerRelativeUrl(string serverRelativeUrl) { string serverRelativeUrl_ = serverRelativeUrl; @@ -994,7 +994,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1556909417; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.Folder GetFolderByServerRelativePath(global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath) { global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath_ = serverRelativePath; @@ -1002,7 +1002,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__1812606997; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult CreateSitePage(string pageMetaData) { string pageMetaData_ = pageMetaData; @@ -1010,7 +1010,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_823342318; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetSitePageCopyToStatus(global::System.Guid workItemId) { global::System.Guid workItemId_ = workItemId; @@ -1018,7 +1018,7 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result_1848487460; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult GetSitePageMoveStatus(global::System.Guid workItemId) { global::System.Guid workItemId_ = workItemId; @@ -1026,32 +1026,32 @@ public void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGenerator return result__2073481437; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void ApplyWebTemplate(string webTemplate) { string webTemplate_ = webTemplate; _Instance.ApplyWebTemplate(webTemplate_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void DeleteObject() { _Instance.DeleteObject(); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void Recycle() { _Instance.Recycle(); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void Update() { _Instance.Update(); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.View GetViewFromUrl(string listUrl) { string listUrl_ = listUrl; @@ -1059,7 +1059,7 @@ public void Update() return result_1074039380; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.View GetViewFromPath(global::Microsoft.SharePoint.Client.ResourcePath listPath) { global::Microsoft.SharePoint.Client.ResourcePath listPath_ = listPath; @@ -1067,7 +1067,7 @@ public void Update() return result_1126862484; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByServerRelativeUrl(string serverRelativeUrl) { string serverRelativeUrl_ = serverRelativeUrl; @@ -1075,7 +1075,7 @@ public void Update() return result__979182843; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.File GetFileByServerRelativePath(global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath) { global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath_ = serverRelativePath; @@ -1083,7 +1083,7 @@ public void Update() return result_1456830503; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Collections.Generic.IList GetDocumentLibraries(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webFullUrl) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -1092,7 +1092,7 @@ public void Update() return result_2078170246; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::System.Collections.Generic.IList GetDocumentAndMediaLibraries(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webFullUrl, bool includePageLibraries) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -1102,7 +1102,7 @@ public void Update() return result__431075153; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult DefaultDocumentLibraryUrl(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webUrl) { global::Microsoft.SharePoint.Client.ClientRuntimeContext context_ = MapToInstance(context); @@ -1111,7 +1111,7 @@ public void Update() return result_1125717726; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult PageContextInfo(bool includeODBSettings, bool emitNavigationInfo) { bool includeODBSettings_ = includeODBSettings; @@ -1120,14 +1120,14 @@ public void Update() return result_1488981072; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult PageContextCore() { var result_769613763 = _Instance.PageContextCore(); return result_769613763; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AppInstance GetAppInstanceById(global::System.Guid appInstanceId) { global::System.Guid appInstanceId_ = appInstanceId; @@ -1135,7 +1135,7 @@ public void Update() return result__860011802; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientObjectList GetAppInstancesByProductId(global::System.Guid productId) { global::System.Guid productId_ = productId; @@ -1143,7 +1143,7 @@ public void Update() return result__1349849408; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AppInstance LoadAndInstallAppInSpecifiedLocale(global::System.IO.Stream appPackageStream, int installationLocaleLCID) { global::System.IO.Stream appPackageStream_ = appPackageStream; @@ -1152,7 +1152,7 @@ public void Update() return result__860277814; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AppInstance LoadApp(global::System.IO.Stream appPackageStream, int installationLocaleLCID) { global::System.IO.Stream appPackageStream_ = appPackageStream; @@ -1161,7 +1161,7 @@ public void Update() return result__1043610289; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.ClientResult AddPlaceholderUser(string listId, string placeholderText) { string listId_ = listId; @@ -1170,7 +1170,7 @@ public void Update() return result__256231457; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.AppInstance LoadAndInstallApp(global::System.IO.Stream appPackageStream) { global::System.IO.Stream appPackageStream_ = appPackageStream; @@ -1178,41 +1178,41 @@ public void Update() return result__1506697459; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void SetAccessRequestSiteDescriptionAndUpdate(string description) { string description_ = description; _Instance.SetAccessRequestSiteDescriptionAndUpdate(description_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void SetUseAccessRequestDefaultAndUpdate(bool useAccessRequestDefault) { bool useAccessRequestDefault_ = useAccessRequestDefault; _Instance.SetUseAccessRequestDefaultAndUpdate(useAccessRequestDefault_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void IncrementSiteClientTag() { _Instance.IncrementSiteClientTag(); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void AddSupportedUILanguage(int lcid) { int lcid_ = lcid; _Instance.AddSupportedUILanguage(lcid_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void RemoveSupportedUILanguage(int lcid) { int lcid_ = lcid; _Instance.RemoveSupportedUILanguage(lcid_); } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User EnsureUser(string logonName) { string logonName_ = logonName; @@ -1220,7 +1220,7 @@ public void RemoveSupportedUILanguage(int lcid) return result_1853915411; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public global::Microsoft.SharePoint.Client.User EnsureUserByObjectId(global::System.Guid objectId, global::System.Guid tenantId, global::Microsoft.SharePoint.Client.Utilities.PrincipalType principalType) { global::System.Guid objectId_ = objectId; @@ -1230,7 +1230,7 @@ public void RemoveSupportedUILanguage(int lcid) return result__1490083264; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] public void ApplyTheme(string colorPaletteUrl, string fontSchemeUrl, string backgroundImageUrl, bool shareGenerated) { string colorPaletteUrl_ = colorPaletteUrl; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpClient.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpClient.g.cs index 5e015dd..139a5ea 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpClient.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpClient.g.cs @@ -30,88 +30,88 @@ public partial interface IHttpClient long MaxResponseContentBufferSize { get; set; } - global::System.Threading.Tasks.Task GetStringAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); + global::System.Threading.Tasks.Task GetStringAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); global::System.Threading.Tasks.Task GetStringAsync(global::System.Uri? requestUri); - global::System.Threading.Tasks.Task GetStringAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task GetStringAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task GetStringAsync(global::System.Uri? requestUri, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task GetByteArrayAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); + global::System.Threading.Tasks.Task GetByteArrayAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); global::System.Threading.Tasks.Task GetByteArrayAsync(global::System.Uri? requestUri); - global::System.Threading.Tasks.Task GetByteArrayAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task GetByteArrayAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task GetByteArrayAsync(global::System.Uri? requestUri, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task GetStreamAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); + global::System.Threading.Tasks.Task GetStreamAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); - global::System.Threading.Tasks.Task GetStreamAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task GetStreamAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task GetStreamAsync(global::System.Uri? requestUri); global::System.Threading.Tasks.Task GetStreamAsync(global::System.Uri? requestUri, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); + global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); global::System.Threading.Tasks.Task GetAsync(global::System.Uri? requestUri); - global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption); + global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption); global::System.Threading.Tasks.Task GetAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpCompletionOption completionOption); - global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task GetAsync(global::System.Uri? requestUri, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task GetAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task PostAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); + global::System.Threading.Tasks.Task PostAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); global::System.Threading.Tasks.Task PostAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content); - global::System.Threading.Tasks.Task PostAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task PostAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task PostAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task PutAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); + global::System.Threading.Tasks.Task PutAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); global::System.Threading.Tasks.Task PutAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content); - global::System.Threading.Tasks.Task PutAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task PutAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task PutAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task PatchAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); + global::System.Threading.Tasks.Task PatchAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content); global::System.Threading.Tasks.Task PatchAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content); - global::System.Threading.Tasks.Task PatchAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task PatchAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task PatchAsync(global::System.Uri? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken); - global::System.Threading.Tasks.Task DeleteAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); + global::System.Threading.Tasks.Task DeleteAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri); global::System.Threading.Tasks.Task DeleteAsync(global::System.Uri? requestUri); - global::System.Threading.Tasks.Task DeleteAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); + global::System.Threading.Tasks.Task DeleteAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task DeleteAsync(global::System.Uri? requestUri, global::System.Threading.CancellationToken cancellationToken); - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request); - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Net.Http.HttpCompletionOption completionOption); - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Threading.CancellationToken cancellationToken); - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task SendAsync(global::System.Net.Http.HttpRequestMessage request); diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpMessageInvoker.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpMessageInvoker.g.cs index 3008c32..f269faa 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpMessageInvoker.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IHttpMessageInvoker.g.cs @@ -16,7 +16,7 @@ public partial interface IHttpMessageInvoker : global::System.IDisposable { global::System.Net.Http.HttpMessageInvoker _Instance { get; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Threading.CancellationToken cancellationToken); global::System.Threading.Tasks.Task SendAsync(global::System.Net.Http.HttpRequestMessage request, global::System.Threading.CancellationToken cancellationToken); diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IPerson.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IPerson.g.cs index fc938f6..4295e0d 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IPerson.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IPerson.g.cs @@ -66,11 +66,11 @@ public partial interface IPerson global::System.Threading.Tasks.Task Method3Async(); - void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary? metadata = null, global::System.Threading.CancellationToken token = default(System.Threading.CancellationToken)); + void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary? metadata = null, global::System.Threading.CancellationToken token = default(global::System.Threading.CancellationToken)); - bool TryParse(string s1, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii); + bool TryParse(string s1, [global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii); - bool TryParse(string s2, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i); + bool TryParse(string s2, [global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i); } } #nullable restore \ No newline at end of file diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PersonProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PersonProxy.g.cs index 921d0f4..c487827 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PersonProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PersonProxy.g.cs @@ -190,7 +190,7 @@ public void In_Out_Ref1(in int a, out int b, ref int c) return result__57684656; } - public void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary? metadata = null, global::System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) + public void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary? metadata = null, global::System.Threading.CancellationToken token = default(global::System.Threading.CancellationToken)) { int i_ = i; string? appId_ = appId; @@ -199,7 +199,7 @@ public void In_Out_Ref1(in int a, out int b, ref int c) _Instance.CreateInvokeHttpClient(i_, appId_, metadata_, token_); } - public bool TryParse(string s1, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii) + public bool TryParse(string s1, [global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii) { string s1_ = s1; int[]? ii_ = ii; @@ -207,7 +207,7 @@ public bool TryParse(string s1, [System.Diagnostics.CodeAnalysis.NotNullWhenAttr return result__1226565302; } - public bool TryParse(string s2, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i) + public bool TryParse(string s2, [global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i) { string s2_ = s2; int? i_; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject.g.cs index 8e04206..6fba0e7 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject.g.cs @@ -20,21 +20,21 @@ public partial interface IClientObject : global::Microsoft.SharePoint.Client.IFr object Tag { get; set; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] global::Microsoft.SharePoint.Client.ObjectPath Path { get; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] string ObjectVersion { get; set; } - [Microsoft.SharePoint.Client.PseudoRemoteAttribute] + [global::Microsoft.SharePoint.Client.PseudoRemoteAttribute] bool? ServerObjectIsNull { get; } global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject TypedObject { get; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] void Retrieve(); - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] void Retrieve(params string[] propertyNames); void RefreshLoad(); diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext.g.cs index a2e828e..b5b5ad4 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext.g.cs @@ -40,7 +40,7 @@ public partial interface IClientRuntimeContext : global::System.IDisposable int RequestTimeout { get; set; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] global::System.Collections.Generic.Dictionary StaticObjects { get; } global::System.Version ServerSchemaVersion { get; } @@ -61,10 +61,10 @@ public partial interface IClientRuntimeContext : global::System.IDisposable T CastTo(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientObject obj) where T : Microsoft.SharePoint.Client.ClientObject; - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] void AddQuery(global::Microsoft.SharePoint.Client.ClientAction query); - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] void AddQueryIdAndResultObject(long id, object obj); object ParseObjectFromJsonString(string json); diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject.g.cs index fc11b64..c14452b 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject.g.cs @@ -16,19 +16,19 @@ public partial interface ISecurableObject { new global::Microsoft.SharePoint.Client.SecurableObject _Instance { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::ProxyInterfaceSourceGeneratorTests.Source.PnP.ISecurableObject FirstUniqueAncestorSecurableObject { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool HasUniqueRoleAssignments { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RoleAssignmentCollection RoleAssignments { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void ResetRoleInheritance(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void BreakRoleInheritance(bool copyRoleAssignments, bool clearSubscopes); } } diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IWeb.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IWeb.g.cs index b7aee32..f5db9e5 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IWeb.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.PnP.IWeb.g.cs @@ -16,695 +16,695 @@ public partial interface IWeb { new global::Microsoft.SharePoint.Client.Web _Instance { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string AccessRequestListUrl { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string AccessRequestSiteDescription { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string Acronym { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AlertCollection Alerts { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowAutomaticASPXPageIndexing { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowCreateDeclarativeWorkflowForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowDesignerForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowMasterPageEditingForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowRevertFromTemplateForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowRssFeeds { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool AllowSavePublishDeclarativeWorkflowForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PropertyValues AllProperties { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string AlternateCssUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Guid AppInstanceId { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AppTileCollection AppTiles { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Group AssociatedMemberGroup { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Group AssociatedOwnerGroup { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Group AssociatedVisitorGroup { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User Author { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ContentTypeCollection AvailableContentTypes { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FieldCollection AvailableFields { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ModernizeHomepageResult CanModernizeHomepage { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string ClassicWelcomePage { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool CommentsOnSitePagesDisabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] short Configuration { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool ContainsConfidentialInfo { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ContentTypeCollection ContentTypes { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.DateTime Created { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ChangeToken CurrentChangeToken { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User CurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string CustomMasterUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool CustomSiteActionsDisabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SPDataLeakagePreventionStatusInfo DataLeakagePreventionStatusInfo { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string Description { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string DescriptionForExistingLanguage { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.UserResource DescriptionResource { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Collections.Generic.IEnumerable DescriptionTranslations { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string DesignerDownloadUrlForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Guid DesignPackageId { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool DisableAppViews { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool DisableFlows { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool DisableRecommendedItems { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool DocumentLibraryCalloutOfficeWebAppPreviewersDisabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.BasePermissions EffectiveBasePermissions { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool EnableMinimalDownload { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.EventReceiverDefinitionCollection EventReceivers { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool ExcludeFromOfflineClient { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FeatureCollection Features { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FieldCollection Fields { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FolderCollection Folders { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] int FooterColorIndexInDarkMode { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] int FooterColorIndexInLightMode { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FooterVariantThemeType FooterEmphasis { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool FooterEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.FooterLayoutType FooterLayout { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool HasWebTemplateExtension { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] int HeaderColorIndexInDarkMode { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] int HeaderColorIndexInLightMode { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SPVariantThemeType HeaderEmphasis { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.HeaderLayoutType HeaderLayout { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool HideTitleInHeader { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool HorizontalQuickLaunch { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.ClientSideComponent.HostedAppsManager HostedApps { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Guid Id { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsEduClass { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsEduClassProvisionChecked { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsEduClassProvisionPending { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsHomepageModernized { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsMultilingual { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsProvisioningComplete { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool IsRevertHomepageLinkHidden { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] uint Language { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.DateTime LastItemModifiedDate { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.DateTime LastItemUserModifiedDate { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListCollection Lists { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListTemplateCollection ListTemplates { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.LogoAlignment LogoAlignment { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string MasterUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool MegaMenuEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool MembersCanShare { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool NavAudienceTargetingEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Navigation Navigation { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool NextStepsFirstRunEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool NoCrawl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool NotificationsInOneDriveForBusinessEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool NotificationsInSharePointEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool ObjectCacheEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool OverwriteTranslationsOnChange { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.WebInformation ParentWeb { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ResourcePath ResourcePath { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool PreviewFeaturesEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string PrimaryColor { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection PushNotificationSubscribers { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool QuickLaunchEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RecycleBinItemCollection RecycleBin { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool RecycleBinEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RegionalSettings RegionalSettings { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string RelatedHubSiteIds { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string RequestAccessEmail { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RoleDefinitionCollection RoleDefinitions { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Folder RootFolder { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool SaveSiteAsTemplateEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SearchBoxInNavBarType SearchBoxInNavBar { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string SearchBoxPlaceholderText { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SearchScopeType SearchScope { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ResourcePath ServerRelativePath { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string ServerRelativeUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool ShowUrlStructureForCurrentUser { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor SiteCollectionAppCatalog { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.GroupCollection SiteGroups { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string SiteLogoDescription { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string SiteLogoUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List SiteUserInfoList { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.UserCollection SiteUsers { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Collections.Generic.IEnumerable SupportedUILanguageIds { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool SyndicationEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SharingState TenantAdminMembersCanShare { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.TenantCorporateCatalogAccessor TenantAppCatalog { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool TenantTagPolicyEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string ThemeApplicationActionHistory { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string ThemedCssFolderUrl { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ThemeInfo ThemeInfo { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool ThirdPartyMdmEnabled { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string Title { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string TitleForExistingLanguage { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.UserResource TitleResource { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Collections.Generic.IEnumerable TitleTranslations { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool TreeViewEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] int UIVersion { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool UIVersionConfigurationEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string Url { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool UseAccessRequestDefault { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.UserCustomActionCollection UserCustomActions { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.WebCollection Webs { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string WebTemplate { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string WebTemplateConfiguration { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] bool WebTemplatesGalleryFirstRunEnabled { get; set; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] string WelcomePage { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Workflow.WorkflowAssociationCollection WorkflowAssociations { get; } - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Workflow.WorkflowTemplateCollection WorkflowTemplates { get; } global::System.Uri WebUrlFromPageUrlDirect(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientContext context, global::System.Uri pageFullUrl); global::System.Uri WebUrlFromFolderUrlDirect(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientContext context, global::System.Uri folderFullUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult DoesUserHavePermissions(global::Microsoft.SharePoint.Client.BasePermissions permissionMask); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetUserEffectivePermissions(string userName); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void CreateDefaultAssociatedGroups(string userLogin, string userLogin2, string groupNameSeed); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PushNotificationSubscriber RegisterPushNotificationSubscriber(global::System.Guid deviceAppInstanceId, string serviceToken); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void UnregisterPushNotificationSubscriber(global::System.Guid deviceAppInstanceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection GetPushNotificationSubscribersByArgs(string customArgs); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(string userName); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult DoesPushNotificationSubscriberExist(global::System.Guid deviceAppInstanceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.PushNotificationSubscriber GetPushNotificationSubscriber(global::System.Guid deviceAppInstanceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SPLargeOperation GetListOperation(global::System.Guid listId, global::System.Guid operationId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User GetSiteUserIncludingDeletedByPuid(string puid); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User GetUserById(int userId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult EnsureTenantAppCatalog(string callerId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.ClientSideComponent.StorageEntity GetStorageEntity(string key); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void SetStorageEntity(string key, string value, string description, string comments); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void RemoveStorageEntity(string key); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SharingResult ShareObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, string peoplePickerInput, string roleValue, int groupId, bool propagateAcl, bool sendEmail, bool includeAnonymousLinkInEmail, string emailSubject, string emailBody, bool useSimplifiedRoles); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SharingResult ForwardObjectLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, string peoplePickerInput, string emailSubject, string emailBody); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.SharingResult UnshareObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ObjectSharingSettings GetObjectSharingSettings(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string objectUrl, int groupId, bool useSimplifiedRoles); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult CreateAnonymousLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult CreateAnonymousLinkWithExpiration(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, string expirationString); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void DeleteAllAnonymousLinksForObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void DeleteAnonymousLinkForObject(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, bool removeAssociatedSharingLinkGroup); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult CreateOrganizationSharingLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void DestroyOrganizationSharingLink(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string url, bool isEditLink, bool removeAssociatedSharingLinkGroup); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetSharingLinkKind(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string fileUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetSharingLinkData(string linkUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult MapToIcon(string fileName, string progId, global::Microsoft.SharePoint.Client.Utilities.IconSize size); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetWebUrlFromPageUrl(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string pageFullUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListCollection GetLists(global::Microsoft.SharePoint.Client.GetListsParameters getListsParams); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.WebTemplateCollection GetAvailableWebTemplates(uint lcid, bool doIncludeCrossLanguage); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List GetCatalog(int typeCatalog); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RecycleBinItemCollection GetRecycleBinItems(string pagingInfo, int rowLimit, bool isAscending, global::Microsoft.SharePoint.Client.RecycleBinOrderBy orderBy, global::Microsoft.SharePoint.Client.RecycleBinItemState itemState); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.RecycleBinItemCollection GetRecycleBinItemsByQueryInfo(global::Microsoft.SharePoint.Client.RecycleBinQueryInformation queryInfo); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ChangeCollection GetChanges(global::Microsoft.SharePoint.Client.ChangeQuery query); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List GetList(string strUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List GetListByTitle(string title); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List GetListUsingPath(global::Microsoft.SharePoint.Client.ResourcePath path); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListItem GetListItem(string strUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListItem GetListItemUsingPath(global::Microsoft.SharePoint.Client.ResourcePath path); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ListItem GetListItemByResourceId(string resourceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.BusinessData.MetadataModel.Entity GetEntity(string @namespace, string name); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.BusinessData.MetadataModel.AppBdcCatalog GetAppBdcCatalogForAppInstance(global::System.Guid appInstanceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.BusinessData.MetadataModel.AppBdcCatalog GetAppBdcCatalog(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.WebCollection GetSubwebsForCurrentUser(global::Microsoft.SharePoint.Client.SubwebQuery query); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetSPAppContextAsStream(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.List DefaultDocumentLibrary(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileById(global::System.Guid uniqueId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Folder GetFolderById(global::System.Guid uniqueId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByLinkingUrl(string linkingUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByGuestUrl(string guestUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByGuestUrlEnsureAccess(string guestUrl, bool ensureAccess); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByWOPIFrameUrl(string wopiFrameUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByStreamFrameUrl(string streamFrameUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByUrl(string fileUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Folder GetFolderByServerRelativeUrl(string serverRelativeUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.Folder GetFolderByServerRelativePath(global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult CreateSitePage(string pageMetaData); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetSitePageCopyToStatus(global::System.Guid workItemId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult GetSitePageMoveStatus(global::System.Guid workItemId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void ApplyWebTemplate(string webTemplate); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void DeleteObject(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void Recycle(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void Update(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.View GetViewFromUrl(string listUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.View GetViewFromPath(global::Microsoft.SharePoint.Client.ResourcePath listPath); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByServerRelativeUrl(string serverRelativeUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.File GetFileByServerRelativePath(global::Microsoft.SharePoint.Client.ResourcePath serverRelativePath); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Collections.Generic.IList GetDocumentLibraries(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webFullUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::System.Collections.Generic.IList GetDocumentAndMediaLibraries(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webFullUrl, bool includePageLibraries); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult DefaultDocumentLibraryUrl(global::ProxyInterfaceSourceGeneratorTests.Source.PnP.IClientRuntimeContext context, string webUrl); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult PageContextInfo(bool includeODBSettings, bool emitNavigationInfo); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult PageContextCore(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AppInstance GetAppInstanceById(global::System.Guid appInstanceId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientObjectList GetAppInstancesByProductId(global::System.Guid productId); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AppInstance LoadAndInstallAppInSpecifiedLocale(global::System.IO.Stream appPackageStream, int installationLocaleLCID); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AppInstance LoadApp(global::System.IO.Stream appPackageStream, int installationLocaleLCID); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.ClientResult AddPlaceholderUser(string listId, string placeholderText); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.AppInstance LoadAndInstallApp(global::System.IO.Stream appPackageStream); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void SetAccessRequestSiteDescriptionAndUpdate(string description); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void SetUseAccessRequestDefaultAndUpdate(bool useAccessRequestDefault); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void IncrementSiteClientTag(); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void AddSupportedUILanguage(int lcid); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void RemoveSupportedUILanguage(int lcid); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User EnsureUser(string logonName); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] global::Microsoft.SharePoint.Client.User EnsureUserByObjectId(global::System.Guid objectId, global::System.Guid tenantId, global::Microsoft.SharePoint.Client.Utilities.PrincipalType principalType); - [Microsoft.SharePoint.Client.RemoteAttribute] + [global::Microsoft.SharePoint.Client.RemoteAttribute] void ApplyTheme(string colorPaletteUrl, string fontSchemeUrl, string backgroundImageUrl, bool shareGenerated); } } diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpClientProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpClientProxy.g.cs index 8426999..35ab136 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpClientProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpClientProxy.g.cs @@ -32,7 +32,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest public long MaxResponseContentBufferSize { get => _Instance.MaxResponseContentBufferSize; set => _Instance.MaxResponseContentBufferSize = value; } - public global::System.Threading.Tasks.Task GetStringAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) + public global::System.Threading.Tasks.Task GetStringAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) { string? requestUri_ = requestUri; var result_1347886741 = _Instance.GetStringAsync(requestUri_); @@ -46,7 +46,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1347886741; } - public global::System.Threading.Tasks.Task GetStringAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task GetStringAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Threading.CancellationToken cancellationToken_ = cancellationToken; @@ -62,7 +62,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1347886741; } - public global::System.Threading.Tasks.Task GetByteArrayAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) + public global::System.Threading.Tasks.Task GetByteArrayAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) { string? requestUri_ = requestUri; var result__1359336953 = _Instance.GetByteArrayAsync(requestUri_); @@ -76,7 +76,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__1359336953; } - public global::System.Threading.Tasks.Task GetByteArrayAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task GetByteArrayAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Threading.CancellationToken cancellationToken_ = cancellationToken; @@ -92,14 +92,14 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__1359336953; } - public global::System.Threading.Tasks.Task GetStreamAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) + public global::System.Threading.Tasks.Task GetStreamAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) { string? requestUri_ = requestUri; var result_355326142 = _Instance.GetStreamAsync(requestUri_); return result_355326142; } - public global::System.Threading.Tasks.Task GetStreamAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task GetStreamAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Threading.CancellationToken cancellationToken_ = cancellationToken; @@ -122,7 +122,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_355326142; } - public global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) + public global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) { string? requestUri_ = requestUri; var result_1805284658 = _Instance.GetAsync(requestUri_); @@ -136,7 +136,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1805284658; } - public global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption) + public global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption) { string? requestUri_ = requestUri; global::System.Net.Http.HttpCompletionOption completionOption_ = completionOption; @@ -152,7 +152,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1805284658; } - public global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Threading.CancellationToken cancellationToken_ = cancellationToken; @@ -168,7 +168,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1805284658; } - public global::System.Threading.Tasks.Task GetAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task GetAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Net.Http.HttpCompletionOption completionOption_ = completionOption; @@ -186,7 +186,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_1805284658; } - public global::System.Threading.Tasks.Task PostAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) + public global::System.Threading.Tasks.Task PostAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -202,7 +202,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__1705712948; } - public global::System.Threading.Tasks.Task PostAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task PostAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -220,7 +220,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__1705712948; } - public global::System.Threading.Tasks.Task PutAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) + public global::System.Threading.Tasks.Task PutAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -236,7 +236,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_182918739; } - public global::System.Threading.Tasks.Task PutAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task PutAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -254,7 +254,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_182918739; } - public global::System.Threading.Tasks.Task PatchAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) + public global::System.Threading.Tasks.Task PatchAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -270,7 +270,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_910894592; } - public global::System.Threading.Tasks.Task PatchAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task PatchAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Net.Http.HttpContent? content, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Net.Http.HttpContent? content_ = content; @@ -288,7 +288,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_910894592; } - public global::System.Threading.Tasks.Task DeleteAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) + public global::System.Threading.Tasks.Task DeleteAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri) { string? requestUri_ = requestUri; var result_534537427 = _Instance.DeleteAsync(requestUri_); @@ -302,7 +302,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_534537427; } - public global::System.Threading.Tasks.Task DeleteAsync([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) + public global::System.Threading.Tasks.Task DeleteAsync([global::System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? requestUri, global::System.Threading.CancellationToken cancellationToken) { string? requestUri_ = requestUri; global::System.Threading.CancellationToken cancellationToken_ = cancellationToken; @@ -318,7 +318,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result_534537427; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request) { global::System.Net.Http.HttpRequestMessage request_ = request; @@ -326,7 +326,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__989347188; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Net.Http.HttpCompletionOption completionOption) { global::System.Net.Http.HttpRequestMessage request_ = request; @@ -335,7 +335,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__989347188; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public override global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Threading.CancellationToken cancellationToken) { global::System.Net.Http.HttpRequestMessage request_ = request; @@ -344,7 +344,7 @@ public partial class HttpClientProxy : global::ProxyInterfaceSourceGeneratorTest return result__989347188; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Net.Http.HttpCompletionOption completionOption, global::System.Threading.CancellationToken cancellationToken) { global::System.Net.Http.HttpRequestMessage request_ = request; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpMessageInvokerProxy.g.cs b/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpMessageInvokerProxy.g.cs index 8069c53..0d90db2 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpMessageInvokerProxy.g.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/Destination/System.Net.Http.HttpMessageInvokerProxy.g.cs @@ -18,7 +18,7 @@ public partial class HttpMessageInvokerProxy : global::ProxyInterfaceSourceGener public global::System.Net.Http.HttpMessageInvoker _Instance { get; } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [global::System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public virtual global::System.Net.Http.HttpResponseMessage Send(global::System.Net.Http.HttpRequestMessage request, global::System.Threading.CancellationToken cancellationToken) { global::System.Net.Http.HttpRequestMessage request_ = request; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.GenerateFiles_ForClassWithSystemNamespace_Should_GenerateCorrectFiles.verified.txt b/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.GenerateFiles_ForClassWithSystemNamespace_Should_GenerateCorrectFiles.verified.txt new file mode 100644 index 0000000..cdc5cf0 --- /dev/null +++ b/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.GenerateFiles_ForClassWithSystemNamespace_Should_GenerateCorrectFiles.verified.txt @@ -0,0 +1,197 @@ +[ + { + HintName: ProxyInterfaceGenerator.Extra.g.cs, + Source: +//---------------------------------------------------------------------------------------- +// +// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//---------------------------------------------------------------------------------------- + +#nullable enable +using System; + +namespace ProxyInterfaceGenerator +{ + + [AttributeUsage(AttributeTargets.Interface)] + internal sealed class ProxyAttribute : Attribute + { + public Type Type { get; } + public bool ProxyBaseClasses { get; } + public ProxyClassAccessibility Accessibility { get; } + public string[]? MembersToIgnore { get; } + + public ProxyAttribute(Type type) : this(type, false, ProxyClassAccessibility.Public) + { + } + + public ProxyAttribute(Type type, bool proxyBaseClasses) : this(type, proxyBaseClasses, ProxyClassAccessibility.Public) + { + } + + public ProxyAttribute(Type type, ProxyClassAccessibility accessibility) : this(type, false, accessibility) + { + } + + public ProxyAttribute(Type type, ProxyClassAccessibility accessibility, string[]? membersToIgnore) : this(type, false, accessibility, membersToIgnore) + { + } + + public ProxyAttribute(Type type, bool proxyBaseClasses, ProxyClassAccessibility accessibility) : this(type, proxyBaseClasses, accessibility, null) + { + } + + public ProxyAttribute(Type type, string[]? membersToIgnore) : this(type, false, ProxyClassAccessibility.Public, null) + { + } + + public ProxyAttribute(Type type, bool proxyBaseClasses, ProxyClassAccessibility accessibility, string[]? membersToIgnore) + { + Type = type; + ProxyBaseClasses = proxyBaseClasses; + Accessibility = accessibility; + MembersToIgnore = membersToIgnore; + } + } + + + [AttributeUsage(AttributeTargets.Interface)] + internal sealed class ProxyAttribute : Attribute where T : class + { + public Type Type { get; } + public bool ProxyBaseClasses { get; } + public ProxyClassAccessibility Accessibility { get; } + public string[]? MembersToIgnore { get; } + + public ProxyAttribute() : this(false, ProxyClassAccessibility.Public) + { + } + + public ProxyAttribute(bool proxyBaseClasses) : this(proxyBaseClasses, ProxyClassAccessibility.Public) + { + } + + public ProxyAttribute(ProxyClassAccessibility accessibility) : this(false, accessibility) + { + } + + public ProxyAttribute(ProxyClassAccessibility accessibility, string[]? membersToIgnore) : this(false, accessibility, membersToIgnore) + { + } + + public ProxyAttribute(bool proxyBaseClasses, ProxyClassAccessibility accessibility) : this(proxyBaseClasses, accessibility, null) + { + } + + public ProxyAttribute(string[]? membersToIgnore) : this(false, ProxyClassAccessibility.Public, null) + { + } + + public ProxyAttribute(bool proxyBaseClasses, ProxyClassAccessibility accessibility, string[]? membersToIgnore) + { + Type = typeof(T); + ProxyBaseClasses = proxyBaseClasses; + Accessibility = accessibility; + MembersToIgnore = membersToIgnore; + } + } + + [Flags] + internal enum ProxyClassAccessibility + { + Public = 0, + + Internal = 1 + } +} +#nullable restore + }, + { + HintName: ProxyInterfaceSourceGeneratorTests.Source.INamespaceSystem.g.cs, + Source: +//---------------------------------------------------------------------------------------- +// +// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//---------------------------------------------------------------------------------------- + +#nullable enable +using System; + +namespace ProxyInterfaceSourceGeneratorTests.Source +{ + public partial interface INamespaceSystem + { + global::ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystem _Instance { get; } + + global::System.Threading.Tasks.Task TestAsync1(global::System.Threading.CancellationToken cancellation = default(global::System.Threading.CancellationToken)); + + global::System.Threading.Tasks.Task TestAsync2(global::System.Threading.CancellationToken cancellation); + + global::System.Threading.Tasks.Task TestAsync3(global::System.Net.Http.HttpClient h); + } +} +#nullable restore + }, + { + HintName: ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystemProxy.g.cs, + Source: +//---------------------------------------------------------------------------------------- +// +// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//---------------------------------------------------------------------------------------- + +#nullable enable +using System; + +namespace ProxyInterfaceSourceGeneratorTests.Source +{ + public partial class NamespaceSystemProxy : global::ProxyInterfaceSourceGeneratorTests.Source.INamespaceSystem + { + + + public global::ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystem _Instance { get; } + + public global::System.Threading.Tasks.Task TestAsync1(global::System.Threading.CancellationToken cancellation = default(global::System.Threading.CancellationToken)) + { + global::System.Threading.CancellationToken cancellation_ = cancellation; + var result_424844497 = _Instance.TestAsync1(cancellation_); + return result_424844497; + } + + public global::System.Threading.Tasks.Task TestAsync2(global::System.Threading.CancellationToken cancellation) + { + global::System.Threading.CancellationToken cancellation_ = cancellation; + var result_828129024 = _Instance.TestAsync2(cancellation_); + return result_828129024; + } + + public global::System.Threading.Tasks.Task TestAsync3(global::System.Net.Http.HttpClient h) + { + global::System.Net.Http.HttpClient h_ = h; + var result__737954917 = _Instance.TestAsync3(h_); + return result__737954917; + } + + + public NamespaceSystemProxy(global::ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystem instance) + { + _Instance = instance; + + } + } +} +#nullable restore + } +] \ No newline at end of file diff --git a/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.cs b/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.cs index a19092f..cd7f617 100644 --- a/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.cs +++ b/tests/ProxyInterfaceSourceGeneratorTests/ProxyInterfaceSourceGeneratorTest.cs @@ -643,7 +643,7 @@ public void GenerateFiles_HttpClient() AttributeToAddToInterface = new ExtraAttribute { Name = "ProxyInterfaceGenerator.Proxy", - ArgumentList = "typeof(System.Net.Http.HttpClient)" + ArgumentList = "typeof(global::System.Net.Http.HttpClient)" } }; @@ -655,7 +655,7 @@ public void GenerateFiles_HttpClient() AttributeToAddToInterface = new ExtraAttribute { Name = "ProxyInterfaceGenerator.Proxy", - ArgumentList = "typeof(System.Net.Http.HttpMessageInvoker)" + ArgumentList = "typeof(global::System.Net.Http.HttpMessageInvoker)" } }; @@ -859,7 +859,7 @@ public void GenerateFiles_ForTimeProvider_Should_GenerateCorrectFiles() AttributeToAddToInterface = new ExtraAttribute { Name = "ProxyInterfaceGenerator.Proxy", - ArgumentList = "typeof(System.TimeProvider)" + ArgumentList = "typeof(global::System.TimeProvider)" } }; @@ -916,6 +916,42 @@ public void GenerateFiles_Map(string value) proxy.List.Select(a => a.Id).Should().BeEquivalentTo("List 1", "List 2", "List 3"); } + [Fact] + public Task GenerateFiles_ForClassWithSystemNamespace_Should_GenerateCorrectFiles() + { + // Arrange + var fileNames = new[] + { + "ProxyInterfaceSourceGeneratorTests.Source.INamespaceSystem.g.cs", + "ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystemProxy.g.cs" + }; + + var path = Path.Combine(_basePath, "Source/INamespaceSystem.cs"); + var sourceFile = new SourceFile + { + Path = path, + Text = File.ReadAllText(path), + AttributeToAddToInterface = new ExtraAttribute + { + Name = "ProxyInterfaceGenerator.Proxy", + ArgumentList = "typeof(ProxyInterfaceSourceGeneratorTests.Source.System.NamespaceSystem)" + } + }; + + // Act + var result = _sut.Execute([ + sourceFile + ]); + + // Assert + result.Valid.Should().BeTrue(); + result.Files.Should().HaveCount(fileNames.Length + 1); + + // Verify + var results = result.GeneratorDriver.GetRunResult().Results.First().GeneratedSources; + return Verify(results); + } + private void Assert(ExecuteResult result, string[] fileNames, bool skipExtra = true) { var skip = skipExtra ? 1 : 0; diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Source/INamespaceSystem.cs b/tests/ProxyInterfaceSourceGeneratorTests/Source/INamespaceSystem.cs new file mode 100644 index 0000000..3b7ea70 --- /dev/null +++ b/tests/ProxyInterfaceSourceGeneratorTests/Source/INamespaceSystem.cs @@ -0,0 +1,6 @@ +namespace ProxyInterfaceSourceGeneratorTests.Source +{ + public partial interface INamespaceSystem + { + } +} \ No newline at end of file diff --git a/tests/ProxyInterfaceSourceGeneratorTests/Source/NamespaceSystem.cs b/tests/ProxyInterfaceSourceGeneratorTests/Source/NamespaceSystem.cs new file mode 100644 index 0000000..5eae914 --- /dev/null +++ b/tests/ProxyInterfaceSourceGeneratorTests/Source/NamespaceSystem.cs @@ -0,0 +1,19 @@ +namespace ProxyInterfaceSourceGeneratorTests.Source.System; + +public class NamespaceSystem +{ + public Task TestAsync1(CancellationToken cancellation = default) + { + return Task.CompletedTask; + } + + public Task TestAsync2(CancellationToken cancellation) + { + return Task.CompletedTask; + } + + public Task TestAsync3(global::System.Net.Http.HttpClient h) + { + return Task.CompletedTask; + } +} \ No newline at end of file