static IObjectCreationOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IObjectCreationOperationWrapper)); ConstructorAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(Constructor)); InitializerAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer)); ArgumentsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments)); }
static IVariableDeclarationOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IVariableDeclarationOperationWrapper)); DeclaratorsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Declarators)); InitializerAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer)); IgnoredDimensionsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(IgnoredDimensions)); }
static ISwitchCaseOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(ISwitchCaseOperationWrapper)); ClausesAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Clauses)); BodyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Body)); LocalsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals)); }
static ISwitchOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(ISwitchOperationWrapper)); LocalsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals)); ValueAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value)); CasesAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Cases)); ExitLabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ExitLabel)); }
static IInvocationOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IInvocationOperationWrapper)); TargetMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(TargetMethod)); InstanceAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Instance)); IsVirtualAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsVirtual)); ArgumentsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments)); }
static ITryOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(ITryOperationWrapper)); BodyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body)); CatchesAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Catches)); FinallyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Finally)); ExitLabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ExitLabel)); }
static IRecursivePatternOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IRecursivePatternOperationWrapper)); MatchedTypeAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(MatchedType)); DeconstructSymbolAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ISymbol>(WrappedType, nameof(DeconstructSymbol)); DeconstructionSubpatternsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(DeconstructionSubpatterns)); PropertySubpatternsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(PropertySubpatterns)); DeclaredSymbolAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ISymbol>(WrappedType, nameof(DeclaredSymbol)); }
static IInterpolatedStringOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IInterpolatedStringOperationWrapper)); PartsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Parts)); }
static IVariableDeclarationGroupOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IVariableDeclarationGroupOperationWrapper)); DeclarationsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Declarations)); }
static ISwitchExpressionOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(ISwitchExpressionOperationWrapper)); ValueAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value)); ArmsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arms)); }
static IRaiseEventOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IRaiseEventOperationWrapper)); EventReferenceAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(EventReference)); ArgumentsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments)); }
static IReDimOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IReDimOperationWrapper)); ClausesAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Clauses)); PreserveAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(Preserve)); }
static IPropertyReferenceOperationWrapper() { WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IPropertyReferenceOperationWrapper)); PropertyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IPropertySymbol>(WrappedType, nameof(Property)); ArgumentsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments)); }