6 writes to attr
Microsoft.Build.Tasks.Core (2)
ComReferenceInfo.cs (2)
96this.attr = copyFrom.attr; 173ComReference.GetTypeLibAttrForTypeLib(ref this.typeLibPointer, out this.attr);
Microsoft.Build.Tasks.UnitTests (4)
ResolveComReference_Tests.cs (4)
253referenceInfo.attr = ResolveComReference.TaskItemToTypeLibAttr(taskItem); 649conflictTlb.attr = notInProjectAttr; 652conflictAx.attr = notInProjectAttr; 655piaRef.attr = notInProjectAttr;
35 references to attr
Microsoft.Build.Tasks.Core (27)
AxReference.cs (2)
55return GetWrapperFileName("AxInterop.", typeLibName, IncludeTypeLibVersionInName, ReferenceInfo.attr.wMajorVerNum, ReferenceInfo.attr.wMinorVerNum);
ComReferenceInfo.cs (4)
96this.attr = copyFrom.attr; 208return log.FormatResourceString("ResolveComReference.TypeLibAttrId", attr.guid, attr.wMajorVerNum, attr.wMinorVerNum);
PiaReference.cs (4)
43if (!converter.GetPrimaryInteropAssembly(ReferenceInfo.attr.guid, ReferenceInfo.attr.wMajorVerNum, ReferenceInfo.attr.wMinorVerNum, ReferenceInfo.attr.lcid,
ResolveComReference.cs (15)
427projectRefInfo.attr.guid, projectRefInfo.attr.wMajorVerNum, projectRefInfo.attr.wMinorVerNum, 793if (ComReference.AreTypeLibAttrEqual(axRefInfo.attr, tlbRefInfo.attr)) 965if (ComReference.AreTypeLibAttrEqual(projectRefInfo.attr, typeLibAttr)) 990if (ComReference.AreTypeLibAttrEqual(dependencyRefInfo.attr, typeLibAttr)) 1265string typeLibKey = ComReference.UniqueKeyFromTypeLibAttr(referenceInfo.attr); 1316string typeLibKey = ComReference.UniqueKeyFromTypeLibAttr(referenceInfo.attr); 1336if (!ComReference.AreTypeLibAttrEqual(referenceInfo.attr, projectRefInfo.attr) && 1390string typeLibKey = ComReference.UniqueKeyFromTypeLibAttr(referenceInfo.attr); 1569if (!ComReference.AreTypeLibAttrEqual(projectRefInfo.attr, conflictingRef.attr)) 1689if (!ComReference.AreTypeLibAttrEqual(dependencyTypeLibAttr, reference.attr))
TlbReference.cs (2)
92return GetWrapperFileName("Interop.", typeLibName, IncludeTypeLibVersionInName, ReferenceInfo.attr.wMajorVerNum, ReferenceInfo.attr.wMinorVerNum);
Microsoft.Build.Tasks.UnitTests (8)
ResolveComReference_Tests.cs (8)
431Assert.True(ComReference.AreTypeLibAttrEqual(newTlbInfo.attr, axRefInfo.attr)); // "The added reference should have the same attributes as the Ax reference" 803Assert.True(ComReference.AreTypeLibAttrEqual(tlbRefInfo.attr, axRefInfo.attr)); // "reference information should be the same" 807axRefInfo.attr.wMajorVerNum, 808axRefInfo.attr.wMinorVerNum), 812tlbRefInfo.attr.wMajorVerNum, 813tlbRefInfo.attr.wMinorVerNum)); // "Expected Ax reference's RCW name to match the new TLB"