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)
375
if ((pass == 0 &&
ComReferenceTypes
.IsPia(wrapperType)) ||
376
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)) ||
377
(pass == 2 &&
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType)) ||
378
(pass == 3 &&
ComReferenceTypes
.IsAxImp(wrapperType)))
783
if (
ComReferenceTypes
.IsAxImp(axRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)))
791
if (
ComReferenceTypes
.IsTlbImp(tlbWrapperType) ||
ComReferenceTypes
.IsPia(tlbWrapperType) ||
ComReferenceTypes
.IsPiaOrTlbImp(tlbWrapperType))
829
newTlbRef.taskItem.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.primaryortlbimp);
951
if ((pass == 0 && (
ComReferenceTypes
.IsPia(neededRefType) || neededRefType == null)) ||
952
(pass == 1 && (
ComReferenceTypes
.IsTlbImp(neededRefType) || neededRefType == null)) ||
953
(pass == 2 && (
ComReferenceTypes
.IsAxImp(neededRefType))))
960
if ((pass == 0 &&
ComReferenceTypes
.IsPia(wrapperType)) ||
961
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)) ||
962
(pass == 2 &&
ComReferenceTypes
.IsAxImp(wrapperType)))
1015
if (
ComReferenceTypes
.IsPia(wrapperType))
1020
else if (
ComReferenceTypes
.IsTlbImp(wrapperType))
1025
else if (
ComReferenceTypes
.IsAxImp(wrapperType))
1030
else if (wrapperType == null ||
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType))
1091
if (wrapperType == null ||
ComReferenceTypes
.IsPiaOrTlbImp(wrapperType))
1096
wrapperType =
ComReferenceTypes
.primary;
1100
wrapperType =
ComReferenceTypes
.tlbimp;
1333
if (
ComReferenceTypes
.IsTlbImp(projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)))
1487
if ((!
ComReferenceTypes
.IsAxImp(wrapperTool)) &&
1488
(!
ComReferenceTypes
.IsTlbImp(wrapperTool)) &&
1489
(!
ComReferenceTypes
.IsPia(wrapperTool)))
1525
reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);
1539
reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);
1561
if ((pass == 0 &&
ComReferenceTypes
.IsAxImp(wrapperType)) ||
1562
(pass == 1 &&
ComReferenceTypes
.IsTlbImp(wrapperType)))
ResolveNativeReference.cs (1)
323
itemTypeLib.SetMetadata(ComReferenceItemMetadataNames.wrapperTool,
ComReferenceTypes
.tlbimp);