35 references to ComReferenceTypes
Microsoft.Build.Tasks.Core (35)
ComReferenceTypes.cs (4)
25
return string.Equals(refType,
ComReferenceTypes
.tlbimp, StringComparison.OrdinalIgnoreCase);
33
return string.Equals(refType,
ComReferenceTypes
.aximp, StringComparison.OrdinalIgnoreCase);
41
return string.Equals(refType,
ComReferenceTypes
.primary, StringComparison.OrdinalIgnoreCase);
49
return string.Equals(refType,
ComReferenceTypes
.primaryortlbimp, StringComparison.OrdinalIgnoreCase);
ResolveComReference.cs (30)
374
if ((pass == 0 &&
ComReferenceTypes
.IsPia(wrapperType)) ||
375
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)) ||
376
(pass == 2 &&
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType)) ||
377
(pass == 3 &&
ComReferenceTypes
.IsAxImp(wrapperType)))
782
if (
ComReferenceTypes
.IsAxImp(axRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)))
790
if (
ComReferenceTypes
.IsTlbImp(tlbWrapperType) ||
ComReferenceTypes
.IsPia(tlbWrapperType) ||
ComReferenceTypes
.IsPiaOrTlbImp(tlbWrapperType))
828
newTlbRef.taskItem.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.primaryortlbimp);
950
if ((pass == 0 && (
ComReferenceTypes
.IsPia(neededRefType) || neededRefType == null)) ||
951
(pass == 1 && (
ComReferenceTypes
.IsTlbImp(neededRefType) || neededRefType == null)) ||
952
(pass == 2 && (
ComReferenceTypes
.IsAxImp(neededRefType))))
959
if ((pass == 0 &&
ComReferenceTypes
.IsPia(wrapperType)) ||
960
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)) ||
961
(pass == 2 &&
ComReferenceTypes
.IsAxImp(wrapperType)))
1014
if (
ComReferenceTypes
.IsPia(wrapperType))
1019
else if (
ComReferenceTypes
.IsTlbImp(wrapperType))
1024
else if (
ComReferenceTypes
.IsAxImp(wrapperType))
1029
else if (wrapperType == null ||
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType))
1090
if (wrapperType == null ||
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType))
1095
wrapperType =
ComReferenceTypes
.primary;
1099
wrapperType =
ComReferenceTypes
.tlbimp;
1332
if (
ComReferenceTypes
.IsTlbImp(projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)))
1486
if ((!
ComReferenceTypes
.IsAxImp(wrapperTool)) &&
1487
(!
ComReferenceTypes
.IsTlbImp(wrapperTool)) &&
1488
(!
ComReferenceTypes
.IsPia(wrapperTool)))
1524
reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);
1538
reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);
1560
if ((pass == 0 &&
ComReferenceTypes
.IsAxImp(wrapperType)) ||
1561
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)))
ResolveNativeReference.cs (1)
323
itemTypeLib.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);