24 references to Type
IOperationGenerator (24)
IOperationClassWriter.cs (22)
295
WriteLine($"{modifiers}{prop.
Type
} {prop.Name} {{ get; }}");
403
var ioperationProperties = allProps.Where(p => IsIOperationType(p.
Type
)).ToList();
503
if (prop.
Type
== "CommonConversion")
513
Write($"{prop.
Type
} {prop.Name.ToCamelCase()}, ");
564
else if (prop.
Type
== "CommonConversion")
570
var initializer = IsIOperationType(prop.
Type
)
598
if (prop.
Type
== "CommonConversion")
607
Write($"public new {propExtensibility}{prop.
Type
} {prop.Name} => ");
612
var basePropTypeWithoutNullable = GetTypeNameWithoutNullable(baseProp.
Type
);
613
var propTypeWithoutNullable = GetTypeNameWithoutNullable(prop.
Type
);
616
Write($"({prop.
Type
})");
621
if (baseProp.
Type
[^1] == '?' && prop.
Type
[^1] != '?')
634
WriteLine($"public {propExtensibility}{prop.
Type
} {prop.Name} {{ get; }}");
683
if (IsImmutableArray(prop.
Type
, out _))
744
if (IsImmutableArray(prop.
Type
, out _))
800
bool isImmutableArray = IsImmutableArray(prop.
Type
, out _);
876
bool isImmutableArray = IsImmutableArray(prop.
Type
, out _);
970
if (IsIOperationType(prop.
Type
))
972
Write(IsImmutableArray(prop.
Type
, out _) ? "VisitArray" : "Visit");
975
else if (prop.
Type
== "CommonConversion")
1089
return GetAllProperties(node).Where(p => IsIOperationType(p.
Type
)).ToList();
IOperationClassWriter.Verifier.cs (2)
56
if (IsImmutableArray(prop.
Type
, out _) && prop.
Type
.Contains("?"))